Wordseer / stanford-corenlp-python

Python wrapper for Stanford CoreNLP tools
GNU General Public License v2.0
58 stars 27 forks source link

Different results #17

Open farhan0581 opened 8 years ago

farhan0581 commented 8 years ago

Why the Output of the parser(dependencies) from corenlp-wrapper and here are different? Sentence is : I visited the TajMahal,it was very beautiful. In my case they are: root-->,ROOT,0,visited,2 nsubj-->,visited,2,I,1 det-->,TajMahal,4,the,3 dobj-->,visited,2,TajMahal,4 punct-->,visited,2,,,5 nsubj-->,beautiful,9,it,6 cop-->,beautiful,9,was,7 advmod-->,beautiful,9,very,8 dep-->,visited,2,beautiful,9 punct-->,visited,2,.,10

And from the online demo it gives nsubj(visited-2, I-1) ccomp(beautiful-9, visited-2) det(TajMahal-4, the-3) dobj(visited-2, TajMahal-4) nsubj(beautiful-9, it-6) cop(beautiful-9, was-7) advmod(beautiful-9, very-8) root(ROOT-0, beautiful-9)