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

情感分析训练过程中会对停用词做处理吗? #97

Open
notastudio opened this issue Nov 16, 2018 · 2 comments
Open

情感分析训练过程中会对停用词做处理吗? #97

notastudio opened this issue Nov 16, 2018 · 2 comments

Comments

@notastudio
Copy link

谢谢大佬的项目.想请教一下,我用于训练的数据集是未去除停用词的原始数据, SnowNLP 在训练过程中会自行筛去停用词吗?还是说我要在训练前自行预处理,去除停用词?

@maotingyang
Copy link

谢谢大佬的项目.想请教一下,我用于训练的数据集是未去除停用词的原始数据, SnowNLP 在训练过程中会自行筛去停用词吗?还是说我要在训练前自行预处理,去除停用词?

看作者的原始碼應該是有的,有經過一個handle函式處理掉停用字,你可以把套件整包下載下來,去看原始碼,情緒分析部分在'sentiment'這個資料夾裡面

@notastudio
Copy link
Author

谢谢大佬的项目. 想请教一下, 我用于训练的数据集是未去除停用词的原始数据, SnowNLP 在训练过程中会自行筛去停用词吗? 还是说我要在训练前自行预处理, 去除停用词?

看作者的原始碼應該是有的,有經過一個 handle 函式處理掉停用字,你可以把套件整包下載下來,去看原始碼,情緒分析部分在'sentiment'這個資料夾裡面

谢谢,确实在代码里读到了去除停用词相关的代码. (o゚▽゚)o

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