Lexicon Example

;   Now we define a lexicon and grammar
;   for this application.

 '((part     ((pliers pliers)(tires tire)
              (tire tire)(blimps blimp)
              (widgets widget)))
   (supplier ((sears sears)(acme acme)))
   (customer ((ut ut)(hp hp)(mcc mcc)))
   (city     ((austin austin)
              (dallas dallas)
              (el-paso el-paso)))
   (month    ((january 1)(jan 1)
               (february 2)(feb 2)...))))

Note translations to internal form, e.g.,
tires --> tire, February --> 2 .

It is easy to include alternate forms such as abbreviations, slang, and special terms.

Contents    Page-10    Prev    Next    Page+10    Index