Open yhamoudi opened 9 years ago
If you parse List of books by Roald Dahl
instead of List of books by Roald Dahl.
(just remove the point), you obtain:
It's exactly what we want!!! It proves that the 2 trees are very close and the last one is probably the 2nd best dependency tree when you parse List of books by Roald Dahl.
In some cases, the tree output by the Stanford Parser is correct from a grammatical point of view but doesn't reflect the real meaning of the sentence.
Ex:
The stanford parser considers that there is a
List
ofbooks
and thisList
has been done byRoald Dahl
. It could be true, however, we prefer to obtainList -prep_of-> books -prep_by-> Roald Dahl
.The stanford parser seems to be able to provide more than one parsing result (http://stackoverflow.com/questions/14014631/get-the-k-best-parses-of-a-sentence-with-stanford-parser). If we succeed to get the 2 best dependency trees (for instance), we could hope that sometimes the second tree is better than the first one in case of ambiguity.
Finally, the question parsing will output 2 normal forms instead of 1.
Resources: