3 ms·
Super interesting! I'm feeding it Shakespeare, just for fun, however I'm having trouble understanding the meaning of having two CCMP in the context of the verb
by LoSboccacc 11y ago
Super interesting!
I'm feeding it Shakespeare, just for fun, however I'm having trouble understanding the meaning of having two CCMP in the context of the verb make in this
"Our doubts are traitors, and make us lose the good we oft might win, by fearing to attempt"[1]
[1] http://spacy.io/displacy/?full=Our%20doubts%20are%20traitors%2C%20and%20make%20us%20lose%20the%20good%20we%20oft%20might%20win%2C%20by%20fearing%20to%20attempt http://spacy.io/displacy/?full=Our%20doubts%20are%20traitors...
- syllogism 11y agoWell, the parse is wrong. In linguistic terms this is a case of "over-generation": the parser has proposed an interpretation that's not "licensed" by the language in general. (In contrast, consider a sentence like "I shot an elephant in my trousers." A reading like "An elephant in my trousers was shot" is licensed but unlikely.) To see the point of error, step through the parser until the focus is on "win", with 4 words on the stack. (Deep linking into particular states will come in a future version. For now, just press forward...). At that state, the parser should attach "we might win" to "good", as a reduced relative clause. Instead it opts to pop "good" from the stack. It then ends up in a bad situation, and essentially attaches to "make" as a way to concede defeat on the arc, and get on with the rest of the sentence. The parser actually could generate any projective tree over its input. It's only constrained by its statistics. On the benchmark evaluations this tends to perform better. I'm interested in trying out ways to incorporate syntactic restrictions, particularly for verb valencies, into the parser.