NJUNLP / GTS

Code and data for paper "Grid Tagging Scheme for Aspect-oriented Fine-grained Opinion Extraction". Aspect opinion pair datasets and aspect triplet datasets.
Apache License 2.0
85 stars 26 forks source link

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

Open Maxpicca-Li opened 2 years ago

Maxpicca-Li commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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! 😀