Powered by Zoomin Software. For more details please contactZoomin

Semaphore Classification Server Rulebase Reference

EXTRACT

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

When the EXTRACT attribute is set the rule will add any extracted evidence from its child rules if the rule scores above the threshold.

By analogy with the CATEGORY attribute you may use an EXTRACT rule instead of using this attribute. However this is just a COMBINE rule with the EXTRACT attribute set

Applies to

No restriction on which rule it may be applied to.

Values

  • “1” - perform extraction based on this rules score and evidence
  • “0” - do not perform extraction (default for all rules other than EXTRACT)

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:

<sentence extract="1" extract_name="test" data="Jean-Claude Trichet" />

Will return:

...
<META NAME="test" value="Jean-Claude Trichet announced today a rise of 1/2 point in interest rates." score="1.00" />
...

In this example the extract attribute is set on the same rule as the extract_name is defined. Often this would not be the case and the name would be defined on some rule lower down in the rule tree.

See Also

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