CLASS
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Gives a class name to a category rule. If a category rule scores above threshold then the class name is used to name the META added to the output.
Applies to
Values
- “CLASS NAME”
Example
<category class="VEHICLES" name="car">
<any>
<text data="car"/>
<text data="automobile"/>
</any>
</category>
<any category="1" class="VEHICLES" name="truck" >
<text data="truck"/>
<text data="4x4"/>
<text data="semi"/>
<text data="pickup"/>
</any>
In this case either of the category rules would fire with the class “VEHICLES” specified if any of the words were found in the classified document. Applied to:
We didn't know whether the wardrobe would fit in the car or if we would have to use Fred's pickup.
Both categories would fire giving the following:
....
<META name="VEHICLES" value="car" score="1.00" />
<META name="VEHICLES" value="truck" score="1.00" />
...