aoldoni / tetre

TETRE: a Toolkit for Exploring Text for Relation Extraction
MIT License
76 stars 7 forks source link

Difference in dependency parsing #20

Open aoldoni opened 8 years ago

aoldoni commented 8 years ago

Sentence "A two-tier scheme (Pang and Lee, 2004) where sentences are first classified as subjective versus objective , and then applying the sentiment classifier on only the subjective sentences further improves performance." gives different tree locally than in displacy.

aoldoni commented 8 years ago

Logged issue in Spacy Github https://github.com/spacy-io/spaCy/issues/480

DBWangWei commented 8 years ago

Hi Alisson,

I am away on a trip and will return on 5 Oct. So for this week, I cannot fix my schedule till Tue. In the worst case, let's communicate by email.

Wei On 25 Sep 2016 16:35, "Alisson Oldoni" notifications@github.com wrote:

Logged issue in Spacy Github spacy-io/spaCy#480 https://github.com/spacy-io/spaCy/issues/480

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aoldoni/comp9596/issues/20#issuecomment-249409862, or mute the thread https://github.com/notifications/unsubscribe-auth/ALpj2pxRe04GdNcZZ3JnNfT-vCw0YI3uks5qtjJNgaJpZM4KF2TM .

aoldoni commented 8 years ago

One thing we could attempt here is for maybe for Dr. @DBWangUNSW to please attempt parsing a sentence locally and see if yours is the same as displacy, then we can narrow to be a issue with my local computer.

E.g.: this sentence: "A two-tier scheme (Pang and Lee, 2004) where sentences are first classified as subjective versus objective , and then applying the sentiment classifier on only the subjective sentences further improves performance."

Thanks.

aoldoni commented 8 years ago

Related with https://github.com/aoldoni/comp9596/issues/21 since moving to "Stanford" e.g.: could entirely avoiding this problem, while being slower.

aoldoni commented 8 years ago

After some investigation, it is quite challenging to add the stanford parse properly in python, but it is something I can continue to work on.

aoldoni commented 8 years ago

Other sentence parsed incorrectly: