Rule ExamplesSimple
USE Rules
....USE Guam
....USE Theft IF Rules Some additional condition(s) must apply before the thesaurus term is invoked.
IF (NEAR "security") ....USE Crime prevention ENDIF
IF (WITH "psychiatric") ....USE Mental health facilities ENDIF
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.
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.
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.
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.
IF (NOT NEAR "Chicago") ....USE Wild animals ENDIF |