next up previous contents
Next: Linearization and Punctuation Up: Morphology and Linearization Previous: Possible Values for Features

   
The Dictionary

The package includes a dictionary to handle the irregularities of the morphology only: verbs with irregular past forms and nouns with irregular plural only need to be added to the dictionary.

There is no semantic information within this dictionary. In fact, a more sophisticated form of lexicon should have the form of an FD. This dictionary is a part of the morphological module only.

The way to add information to the lexicon is to edit the values of the special variables *irreg-plurals* and *irreg-verbs*. These variables are defined in the file LEXICON.L. After the modification, you need to execute the function (initialize-lexicon).     The best way to do that is to edit a copy of the file LEXICON.L and to load it back. After loading it, the new lexicon will be ready to use.

The variable *irreg-plurals* is a list of pairs of the form (key plural). The default list starts like this:  

          
      '((`calf' `calves')
	(`child' `children')
	(`clothes' `clothes')
	(`data' `data')
        ...)
          
          

The variable *irreg-verbs* is a list of 5-tuples of the form: (root present-third-person-singular past present-participle past-participle)  

The default value starts as follows:

          
      '((`become' `becomes' `became' `becoming' `become')
	(`buy' `buys' `bought' `buying' `bought')
	(`come' `comes' `came' `coming' `come')
	(`do' `does' `did' `doing' `done')
        ...)
          
          


next up previous contents
Next: Linearization and Punctuation Up: Morphology and Linearization Previous: Possible Values for Features
Michael Elhadad - elhadad@cs.bgu.ac.il