NAME
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Gives a class value to a category rule. If a category rule scores above threshold then the class value is used to provide the value of the META added to the output.
NB due to historic usage a category has a class and name which are returned as a META name and value - whilst this is slightly confusing it would be even more confusing if the behaviour was altered due to the obvious confusion caused by what a name attribute actually means on a category rule.
Applies to
Values
- “CLASS VALUE”
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 the following:
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:
...
<META name="VEHICLES" value="car" score="1.00" />
<META name="VEHICLES" value="truck" score="1.00" />
...