Attributes
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Commonly used Attributes
The following table lists the default value and/or behavior for rule attributes when the attribute is not specified in a rule. For more information on an attribute, see the corresponding page in this section.
| Attribute | Default Value and/or Behavior |
|---|---|
| CASE (*) | 0 (Rule is case insensitive.) |
| COUNT | 0 (Rule fires only if no words are between words being looked for.) |
| CUTOFF | 0 (Rule contributes its score even if below the threshold.) |
| DATA | null (If data attribute is not present, the rule will fail.) |
| FIELD (*) | (Rule is looked for in all fields.) |
| FOREACH | 0 (Frequency counting is off) |
| LABEL | No default value |
| NOT | 0 (The NOT attribute is off) |
| OPTIONAL | 0 (Rule is not optional) |
| POS | 0 (The POS is not taken into account) |
| PUNCTUATION (*) | ignore_in_sentence (All punctuation marks in the document are ignored for phrase or near matching, but the rule is limited to finding children within the same sentence) |
| REPEAT | 0 |
| SCALE | 0 (The size of document is not taken into account) |
| STEM (*) | 0 (Stemming is off) |
| TYPE | No default value |
| WEIGHT | 100 (rule fires with a score of 100) |
| WIDTH | 1 |
Output name and value affecting attributes
- CATEGORY
- CLASS
- EXTRACT
- EXTRACT_EVIDENCE
- EXTRACT_GROUP
- EXTRACT_GROUP_KEY
- EXTRACT_NAME
- EXTRACT_REGEX
- EXTRACT_TAGS
- EXTRACT_ASSIGN_SCORE
- EXTRACT_ASSIGN_FOREACH_SCORE
- EXTRACT_DEFAULT
- ID
- NAME
- PROMOTE
- TAG
Rarely used and deprecated attributes
- _KEY
- CAPTURE
- EXPRESSIONTYPE
- LANGUAGE (*)
- NEARTYPE
- NON_GREEDY
- USE_ZONE_AS_EVIDENCE (*)
- REGEX
- SEQUENCETYPE
- SUPERCLASS
- supress_unknown_expression_warnings (*)
- TEMPLATE
(*) Attributes marked with * are passed by inheritance so will affect the default for all subsequent child rules. All other attributes only apply to the current rule.