Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about dataset #2

Open
sjm1992st opened this issue Aug 30, 2019 · 1 comment
Open

about dataset #2

sjm1992st opened this issue Aug 30, 2019 · 1 comment

Comments

@sjm1992st
Copy link

There are four files in the folder data_"preprocessed", and i think the 0, 1, 2 in the opinion.txt should be the pos,neg,neu, said in the paper. But i don't understand what's the meanful about 0, 1, 2 in the target.txt and the 0, 1, 2, 3, 4 in the target_polarity.txt?

@ruidan
Copy link
Owner

ruidan commented Sep 2, 2019

The 0, 1, 2 in target.txt and opinion.txt give the annotations of aspect terms and opinion terms respectively. A word labeled with 0 means that it is outside the span of an aspect (opinion) term. A word labeled with 1 indicates that it is the beginning word of an aspect (opinion) term, and a word labeled with 2 indicates that it is inside of an aspect (opinion) term.

In target_polarity.txt, 0 means that the word is outside the span of any aspect term as only aspect terms have sentiment labels. 1, 2, 3, 4 refer to pos, neg, neu, and conflict sentiment polarity respectively.

You can refer to section 3.1 and 4.1 in the paper for more details on the data preparation and experimental details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants