Powered by Zoomin Software. For more details please contactZoomin

Semaphore Classification Server Rulebase Reference

ANY

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

Checks whether any of its children have fired (has a score).

Score calculation

This rule scores its weight if any of its children have a non zero score.

NB the value of the score(s) of the children are not reflected in the result - just whether they are zero or not

Evidence calculation

The resulting evidence is all of the rules children’s evidence.

Attribute information

  • any common attribute
  • FOREACH - will be the sum of all child foreach counts
  • WEIGHT - is the score for the rule if fired

Children restrictions

Any rule other than those only allowed a specific parent

Example 1

The following rulebase fragment

<any weight="80">
    <text data="trichet" weight="10"/>
    <text data="bob" weight="10" not="1"/>
</any>

evaluating the following document text

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.

Would fire with a score of “0.80”

Example 2

<any data="any of these" />

is equivalent to

<any>
    <text data="any"/>
    <text data="of"/>
    <text data="these"/>
</any>

and would fire in a document containing

This has a sentence with these and any occurring in it. Of course any searches anywhere.

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