NewsIndexer Home


Try NewsIndexer's
Indexing System:
M.A.I. Demo

Rule Examples

Simple USE Rules
The document text to match is identical to or synonymous with the thesaurus term.


Text to match:
Guam

....USE Guam


Text to match: burglary

....USE Theft


IF Rules
Some additional condition(s) must apply before the thesaurus term is invoked.


Text to match:
building

IF (NEAR "security")

....USE Crime prevention

ENDIF


Text to match: hospitals

IF (WITH "psychiatric")

....USE Mental health facilities

ENDIF


Text to match: theater

IF (MENTIONS "improv")

....USE Experimental theatre

ENDIF


IF - ELSE Rules
If the initial statement is true, the term is applied and the process ends. If the initial statement is false, a default term will be applied.


Text to match: Norwegian

IF (MENTIONS "language")

....USE Norwegian language

ELSE

....USE Norway

ENDIF


IF - ELSE IF Rules
If the initial statement is true, the term is applied and the process ends. If false, an alternative is suggested with an IF condition.


Text to match: Norwegian

IF (MENTIONS "language")

....USE Norwegian language

ELSE IF (MENTIONS "country")

....USE Norway

ENDIF

ENDIF


IF - IF Rules
Considers each option independently, stopped by ENDIF. One term, both/all terms, or neither term may be invoked.


Text to match: Norwegian

IF (MENTIONS "language")

....USE Norwegian language

ENDIF

IF (MENTIONS "country" OR MENTIONS "nation")

....USE Norway

ENDIF

ENDIF


Compound Rules
Combine rules with Boolean links OR and AND

Text to match: geometry

IF (WITH "plane" OR WITH "euclid")

....USE Euclidean geometry

ENDIF


Negative Rules
Negates rules under stated conditions.


Text to match: bear

IF (NOT NEAR "Chicago")

....USE Wild animals

ENDIF