Re: Is there a way to present Prolog natural language parsing results in a tree form?
Jiun-Shiung Wu <[email protected]> Tue, 8 Apr 2014 14:41:22 +0800
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CALvsX_J9YjNxz32YCPBo2SiQXP6Hxh0bmDQ65PrR8eo-3pZi+g@mail.gmail.com> |
Thank you! I will try it! ------------------------------------------------------ Wu, Jiun-Shiung, Ph.D. Professor Institute of Linguistics National Chung Cheng University 168, University Road, Minhsiung, Chiayi County, Taiwan 621 ------------------------------------------------------- 2014-04-08 14:39 GMT+08:00 Carlo Capelli <[email protected]>: > 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