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 `` .cat'' (for categories); for `` mini.lex'' its name will be `` mini.lex.cat'':
surf: "man", cat: [class: noun, syn: singular] surf: "men", cat: [class: noun, syn: plural] surf: "table", cat: [class: noun] surf: "wise", cat: [class: adjective, restr: complete] surf: "wis", cat: [class: adjective, restr: inflect]