[DGD] parse_string question

bart at wotf.org bart at wotf.org
Sun Dec 30 23:22:07 CET 2007


On Sun, 30 Dec 2007 23:11:02 +0100, Felix A. Croes wrote
> 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'

Hmm, and might be more efficient if I understand the docs correctly?
Thanks, I have some alternatives to 'play' with now.

Bart.
--
Created with Open WebMail at http://www.bartsplace.net/
Read my weblog at http://soapbox.bartsplace.net/




More information about the DGD mailing list