The lexicon currently includes:
|
Some example sentences that work:
"john snores" "john likes mary" "mary john likes" "john thinks mary likes bill" "john who snores sneezed" "john who hates bill thinks mary likes him" "a student who hates travel thinks mary likes the hotel" "a boy who hates a hotel thinks mary likes the hotel that he hates" and remember, DS is incremental! You can start with "john", or just "the", and see how the trees are built up as you go on. Turn on "show all trees" if you're really interested. I'm afraid the tree printing display is very primitive - it works fine for simple sentences, but for more complex ones the nodes start nudging each other across the page. Multiple trees will be given for many of the more complex examples, due to ambiguity caused by (a) restrictive vs. non-restrictive relative readings, and (b) rather weak attempts at pronoun resolution. |
This implementation © Matthew Purver, 2002-9 | Problems, comments, suggestions: mpurver AT dcs.qmul.ac.uk |