by jrgoj · 10y ago · 0 comments
`echo 'Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo' | syntaxnet/demo.sh'
buffalo NN ROOT
+-- buffalo NN nn
| +-- Buffalo NNP nn
| | +-- Buffalo NNP nn
| | +-- buffalo NNP nn
| +-- buffalo NN nn
+-- Buffalo NNP nn
+-- buffalo NNP nn
[1]: https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...Bison from Buffalo, which bison from Buffalo bully, themselves bully bison from Buffalo.
Bison NNP ROOT
+-- from IN prep
| +-- Buffalo NNP pobj
+-- , , punct
+-- bison NN ccomp
| +-- themselves PRP nsubj
| +-- bully RB advmod
| +-- from IN prep
| +-- Buffalo NNP pobj
+-- . . punct"bully RB advmod"
I assume this is wrong, and probably triggered by the "ly" ending? Also, odd that it dropped the second clause and didn't see any trouble with the parsed results lacking a single verb. I guess it has to be able to handle fragments, etc.