Contents    Page-10    Prev    Next    Page+10    Index   

Lexicon Example


(def lexicon
 '((a/an     (a an some))
   (i/you    (i you one))
   (get      (get find obtain))
   (quality  ((good 2.5) ))
   (restword (restaurant (restaurants restaurant)))
   (kindfood (american bakery chinese))
   (city     (palo-alto berkeley los-altos))
   (county   (santa-clara))
   (area     (bay-area))
   (street   (el-camino-real))
   ))

Note translation to internal form, e.g., good -> 2.5

It is easy to include abbreviations, slang, and special terms. These are good because they are usually short (reducing typing), are usually unambiguous, and users like them.