Is there a way to present Prolog natural language parsing results in a tree form?
Jiun-Shiung Wu <[email protected]> Tue, 8 Apr 2014 10:30:47 +0800
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CALvsX_+Fnn2bMyQE73S+cBkuR6BDy1e8_6x3Os8R7rLCHrW7HA@mail.gmail.com> |
Hi, everyone, According to the Prolog books I have, the parsing result of a natural language sentence is like: (np(propN(john)), vp(v(hit), np(det(a), n(dog)))). I am wondering whether there is a way to transform parsing result of this type into a tree form, like the way the structure of a sentence is presented in a syntax book? Any help is appreciated! Jiun-Shiung Wu -------------- next part -------------- HTML attachment scrubbed and removed