yangheng95 / PyABSA

Sentiment Analysis, Text Classification, Text Augmentation, Text Adversarial defense, etc.;
https://pyabsa.readthedocs.io
MIT License
937 stars 159 forks source link

what the input of lcf_glove? #38

Closed yunbujian closed 3 years ago

yunbujian commented 3 years ago

Please tell me what the input of lcf_glove for global context processor and local one? Thanks!

yangheng95 commented 3 years ago

Do you mean the input format? Both the input for global and local context processor are plain context.

yunbujian commented 3 years ago

Thanks! but you mean both global and local processor are context or the whole text? don't have aspect words?

yangheng95 commented 3 years ago

The whole context with aspect, only the position of the aspect is used to locate and calculate the LCF vec. In another word, the aspect itself is regarded the same as the other context words.

yangheng95 commented 3 years ago

If you are not going to replement the LCF-GloVe, to use the model in this repo, you may review the code. Becasue the code of GloVe based models are no longer supported.

yunbujian commented 3 years ago

谢谢!我就是看到你代码里没有LCF-GloVe了,但我想自己搭一个,所以全局和局部的输入都是单纯的一整句话,是这个意思嘛?

yangheng95 commented 3 years ago

是的

---Original--- From: @.> Date: Sat, Jul 10, 2021 21:45 PM To: @.>; Cc: @.**@.>; Subject: Re: [yangheng95/PyABSA] what the input of lcf_glove? (#38)

谢谢!我就是看到你代码里没有LCF-GloVe了,但我想自己搭一个,所以全局和局部的输入都是单纯的一整句话,是这个意思嘛?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.