3 ms·
Now for the buffalo test[1] `echo 'Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo' | syntaxnet/demo.sh' buffalo NN ROOT +-- buffalo NN
by jrgoj 10y ago
Now for the buffalo test[1]
`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_buffalo_buffalo_buffalo_Buffalo_buffalo https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffal...
- nihonde 10y agoHow does it handle the "translation" from that wiki page? Bison from Buffalo, which bison from Buffalo bully, themselves bully bison from Buffalo.
- jrgoj 10y ago> Input: Bison from Buffalo , which bison from Buffalo bully , themselves bully bison from Buffalo . Parse: 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
- nihonde 10y agoInteresting. "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.