Next: , Previous: debug-ga-file, Up: Commands


4.7 The Command debug-ga-line (mallex)

Use the command debug-ga-line to make the allomorph rules generate allomorphs for a single lexicon entry in debug mode. Assume you want to test the second line in the lexicon file mini.lex:

     [surface: "m{a}n", class: noun];
     [surface: "table", class: noun];
     [surface: "wise", class: adjective];

Enter the following line:

     debug-ga-line mini.lex 2

Then mallex stops in debug mode at the entry of the first allomorph rule that is being executed for the lexicon entry

     [surface: "table", class:noun];

If there is no lexicon entry at this line, the subsequent lexicon entry will be taken.