[DGD] parse_string question
Felix A. Croes
felix at dworkin.nl
Sun Dec 30 23:11:02 CET 2007
bart at wotf.org wrote:
>[...]
> Ok, so the alternative would be:
>
> adjverb=/open/\n
> word=/[^ ]+/\n
> part: adjective word\n
> part: verb word\n
> verb: adjverb\n
> adjective: adjverb\n
>
> That indeed returns 2 parse trees one of which I can invalidate.
This would also work:
word=/[^ ]+/
part: adjective word
part: verb word
verb: 'open'
adjective: 'open'
Regards,
Dworkin
More information about the DGD
mailing list