next up previous contents
Next: The Command ``step'' Up: The Commands of ``malaga'' Previous: The Command ``set''   Contents

The Command ``sg'' (malaga)

Use sg to generate sentences that are composed of a specified set of word forms. For example, if you enter

sg 3 . ? he she sleeps

all sentences that consist of up to three word forms, where only the specified word forms (``.'', ``?'', ``he'', ``she'', and ``sleeps'') are used. The sentences are numbered from 1 onward, but different analyses of the same sentence get the same index. The output looks like this:

malaga> sg 3 . ? he she sleeps
1: "he sleeps ."
2: "he sleeps ?"
3: "she sleeps ."
4: "she sleeps ?"
Please note that generation does not know of filters, pruning rules and default rules.



Bjoern Beutel