ALL
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Checks whether all of its children have a score
Score calculation
Scores its given weight if all its children have a non-zero score otherwise it scores 0
Evidence calculation
The evidence is the union of all its children’s evidence if it scores otherwise no evidence.
Attribute information
Children restrictions
Any rule other than those restricted to a specific parent
Example 1
The following rulebase fragment
<all weight="80" >
<text data="trichet" weight="10"/>
<text data="bob" weight="10" not="1"/>
</all>
evaluated against the following document fragment
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 have a score of “0.80” and 1 evidence phrase (“Trichet”)
Example 2
<all data="all of these" />
is equivalent to
<all>
<text data="all"/>
<text data="of"/>
<text data="these"/>
</all>
and would have score “1.00” with 3 evidence phrases in the document
This has a sentence with these and all occurring in it. Of course the rule searches for occurrences anywhere in the document.