Re: Is there a way to present Prolog natural language parsing results in a tree form?
"Richard A. O'Keefe" <[email protected]> Thu, 10 Apr 2014 09:58:38 +1200
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 8/04/2014, at 6:40 PM, Karl Heinz Wagner wrote: > Hi, > try the following link: > http://www.nyu.edu/pages/linguistics/workbook/lehner/ That does some nice things, but it is not very good Prolog. It leaves oodles of choice-points lying around. If you look at the code, pay special attention to the <var> \= [_|_] tests; these are code smells and indeed many of the excess choice-points are created in their vicinity.