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

How to understand the GTS tags that set non-first aspect/opinion words' tags to -1? #17

Open
Maxpicca-Li opened this issue Apr 7, 2022 · 2 comments

Comments

@Maxpicca-Li
Copy link

Hello! Recently, I have been doing experiments related to GTS tags, and I find that you set non-first aspect/opinion words' tags to -1, and I'm puzzled by this. In my opinion, it needs to keep the initial label value, where aspect corresponds to 1 and opinion corresponds to 2. A screenshot of the code is shown below.
Hoping to your time to answer my questions. Thank you.
image

@wuzhen247
Copy link
Member

Hello! Recently, I have been doing experiments related to GTS tags, and I find that you set non-first aspect/opinion words' tags to -1, and I'm puzzled by this. In my opinion, it needs to keep the initial label value, where aspect corresponds to 1 and opinion corresponds to 2. A screenshot of the code is shown below. Hoping to your time to answer my questions. Thank you. image

hi @Maxpicca-Li , the code is to set the non-first subwords to -1, instead of setting non-first aspect/opinion words to -1. Thanks.

@Maxpicca-Li
Copy link
Author

hi @Maxpicca-Li , the code is to set the non-first subwords to -1, instead of setting non-first aspect/opinion words to -1. Thanks.

Thanks for your answer and I got it! 😀

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