New York oxen (that) New York oxen bully (themselves) bully New York oxen.
"History lamps traffic people house cry Michigan algebra" also has the same parse tree, but if I utter this, people will probably think I need medical attention.
So I never thought there's something inherently difficulty in the syntax of the sentence- I thought it's just that unexpected third use of "buffalo" that makes it so strange.
Of course, now that I think of it, what you say makes sense also. For an NL parser, the variant use of "buffalo" shouldn't be an issue. You could even say that lacking the context of what a "buffalo" really is, a parser should even find it easier to parse the sentence than a human, who must pause to try and understand what it means.
Maybe it's not such a bad sentence to test parsers after all.
I wonder how the other NLP tools parse that sentence. These are the results:
* Spacy [1]
Buffalo/NNP
buffalo/NN
Buffalo/NNP
buffalo/NN
buffalo/NN
buffalo/NN
Buffalo/NNP
buffalo/NN
* NLP4J [2] Buffalo/NNP
buffalo/NNP
Buffalo/NNP
buffalo/NNP - pos2=CD
buffalo/NNP - pos2=CD
buffalo/NNP
Buffalo/NNP
buffalo/NNP
Well, that sentence really makes NLP tools confused.[1]: https://spacy.io/
I put the following phrase
> I nut on my girlfriends face.
and the parser correctly tagged 'nut' as a VBP (i.e. Verb, non-3rd Person Singular resent) i.e. that 'nut' in this context is a verb, and not a noun.
Here's what the tagging returned (all words with tags)
I/PRP nut/VBP on/IN my/PRP$ girlfriends/JJ face/NN ./.
Tag Descriptions: http://stackoverflow.com/a/1833718/325521
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
Stanford fails miserably on this one, even at the tagging step:
... but then, most humans also find that sentence really hard to parse.Check it out:
https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...