Powered by Zoomin Software. For more details please contactZoomin

Semaphore Classification Server Rulebase Reference

CATEGORY

  • Last Updated: May 13, 2026
  • 1 minute read
    • Semaphore
    • Documentation

When the CATEGORY attribute is set the rule will add the rules CLASS and NAME attributes to the classification output if the rule scores above the threshold.

Essentially a rule with CATEGORY set and its children define the complete set of rules for that categorisation.

For historic reasons often the The CATEGORY rule is used rather than the CATEGORY attribute. However this is just a COMBINE rule with the CATEGORY attribute set

Other attributes having special meaning for any rule with this attribute

Example

The following document

Jean-Claude Trichet announced today a rise of 1/2 point in interest rates.
In a separate intervention the governor of the European Central Bank announced that the
institution will keep a firm handle on inflation.

Evaluated against the following rulebase fragment

<combine category="1" class="test" name="category1">
    <text data="Jean-Claude Trichet" />
</combine>

Will return

....
<META NAME="test" value="category1" score="1.00" />
....

TitleResults for “How to create a CRG?”Also Available inAlert