ga-file
(mallex
)
Use the command ga-file
to make the allomorph rules generate allomorphs
for a lexicon file. Assume you have written a lexicon file mini.lex:
[surface: "m{a}n", class: noun]; [surface: "table", class: noun]; [surface: "wise", class: adjective];
To generate the allomorphs for this lexicon, enter ‘ga-file mini.lex’.
This will produce a readable allomorph file whose name ends in .out; for mini.lex its name will be mini.lex.out:
"man": [class: noun, syn: singular] "men": [class: noun, syn: plural] "table": [class: noun] "wise": [class: adjective, restr: complete] "wis": [class: adjective, restr: inflect]