You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README 767 B

123456789101112131415
  1. 基于自然语言处理的情感分析工具
  2. 本程序依赖data目录下面的data.zip,先解压缩 data 目录下面的 data.zip到当前目录。
  3. 1、基于词典和贝叶斯模型的情感分析
  4. 主程序:eshore.cn.it.sentiment.Sentiment 此类通过
  5. data/Sentiment_Dictionary中的正负面词语建立模型。
  6. 测试: eshore.cn.it.sentiment.SentimentTest
  7. 通过这个类就可以测试 data/500trainblogxml中的某个文件夹下面的博客的情感。
  8. 2、直接利用lingpipe的情感分析模块测试情感分析
  9. 直接运行程序: eshore.cn.it.sentiment.ChinesePolarityBasic
  10. 程序就会通过: data/polarity_corpus/hotel_reviews/train2训练
  11. 然后自动测试: data/polarity_corpus/hotel_reviews/test2
  12. 最后给出程序测试结果。

基于自然语言处理的情感分析工具

Contributors (1)