Powered by Zoomin Software. For more details please contactZoomin

Semaphore Classification Server Rulebase Reference

ALL_COMBINE

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

This rule acts like a combination of the ALL and COMBINE rules.

Score calculation

If all its children score then it will combine its children otherwise it will score 0.

Evidence calculation

If it scores then its evidence is the union of all its children’s evidence.

Attribute information

Children restrictions

Any rule other than those restricted to a specific parent

Example

The following rules

      <all_combine >
        <text data="trichet" foreach="1" weight="10"/>
        <text data="bob" weight="10" not="1"/>
      </all_combine>

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.19” (The combined score of 10,10).

Alternative

The above rules could be rewritten as the more verbose:

    <if>
         <condition>
           <all>
                <text data="trichet" foreach="1" weight="10"/>
                <text data="bob" weight="10" not="1"/>
           </all>
         </condition>
         <then>
                <text data="trichet" foreach="1" weight="10"/>
                <text data="bob" weight="10" not="1"/>
         </then>
     </if>

Which would have exactly the same behaviour but is less clear

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