Re: Is there a way to present Prolog natural language parsing results in a tree form?
Carlo Capelli <[email protected]> Tue, 8 Apr 2014 08:39:27 +0200
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CABty9wwW1=mah77dbS8-S_YTYPsh8NrbNk5=nOE5xx6h2RFjAg@mail.gmail.com> |
Hi Jiun-Shiung, XPCE has a ready to go utility Start SWI-Prolog, from menu choose Help / Xpce manual / Browsers / Examples Then double click for Hierarchy, then right click somewhere on Code, choose Consult HTH 2014-04-08 4:30 GMT+02:00 Jiun-Shiung Wu <[email protected]>: > 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 > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > -------------- next part -------------- HTML attachment scrubbed and removed