WladimirSidorenko / SentiLex

Sentiment Lexicon Generation Suite
MIT License
14 stars 4 forks source link

Neutral terms #2

Closed RacheleSprugnoli closed 4 years ago

RacheleSprugnoli commented 4 years ago

Dear Wladimir, is it ok that the output of word-embedding-based algorithms does not include any term with a neutral score? The label "neutral" appears only for the seed terms. Thanks in advance, best, Rachele

WladimirSidorenko commented 4 years ago

Hello Rachele,

Yes, that's intended behavior as I assume that people who generate lexicons will be primarily interested in polar (i.e., either positive or negative) terms. But if you want neutral terms to be printed as well, you can comment or delete lines 199 and 200 in file src/vec2dic/expansion.cpp and recompile the project, then neutral terms should appear in the output as well.

Best regards Wladimir

WladimirSidorenko commented 4 years ago

@RacheleSprugnoli I'll close this ticket. Feel free to re-open it, if there will be any further questions or unexpected results.