Superclass Attribute
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
Gives an optional super class name to a category rule - currently the only used superclass is “TextMine” - marking a category rule as being in this superclass means that with a normal operation_mode these rules are not returned. It is only when operation_mode is set to “TextMine” by the request that these category rules will be considered for returning.
Applies to
Values
- “SUPERCLASS NAME”
Example
<category class="PERSON" superclass="TextMine" template="1">
<expression type="PERSON" />
</category>
In this case the data from matching zones of type “PERSON” are only returned in !TextMine mode. NB !TextMine mode will only work with Advanced Language Packs installed since the appropriate zoners are supplied within the language pack. In standard mode no error will occur but no data will be found.
A superclass had to be added because the class was used to provide the type of information to TextMiner - ie we could have had all the categories of a class “!TextMine” but TextMiner needed to know the type of entity that had been discovered so a superclass was added.