Next: , Previous: frame, Up: Commands


4.17 The Command ga (mallex)

Use the command ga (short for generate allomorphs) to generate allomorphs. This is useful for testing allomorph generation from within mallex. When you enter the command, give a lexicon entry as argument. All allomorphs that are generated from this entry by the allomorph rules, are printed on screen. For example:

     mallex> ga [Lemma: "!", POS: Punctuation, Type: ExclamationMark]
     "!": [POS: <Punctuation>,
           Punctuation: <[Allomorph: "!",
                          BaseForm: "!",
                          concatStem: no,
                          concatSx: no,
                          POS: Punctuation,
                          Type: ExclamationMark,
                          terminal: yes]>,
           Surface: "!"]
     mallex>

If the rules create multiple allomorphs from an entry, they are displayed one after another.