├── .gitignore ├── LICENSE ├── README.md ├── assets ├── exp3原理.png ├── image-20211010162259234.png ├── image-20211010171026334.png ├── image-20211010194243252.png ├── image-20211013203434476.png ├── image-20211013220930618.png ├── image-20211014170753108.png ├── image-20211014192745850.png ├── image-20211014215318891.png ├── image-20211017171255133.png ├── image-20211020091914692.png ├── image-20211020095112423.png ├── image-20211020185302868.png ├── image-20211020185959212.png ├── image-20211020192920908.png ├── image-20211020193107092.png ├── image-20211029090058954.png ├── image-20211029090346421.png ├── image-20211030143840328.png ├── 屏幕截图 2021-10-12 163409.jpg ├── 屏幕截图 2021-10-12 163441.jpg ├── 屏幕截图 2021-10-12 171257.jpg ├── 屏幕截图 2021-10-13 200031.jpg ├── 未作特征工程.jpg ├── 朴素贝叶斯结果.jpg ├── 没有平滑.jpg ├── 流程图.png └── 用例.jpg ├── 基于朴素贝叶斯 ├── naive_bayes_based_final.py ├── stopwords.txt ├── 停用词.txt └── 否定词.txt ├── 基于规则 ├── BosonNLP_sentiment_score.txt ├── resources │ ├── negative.csv │ ├── positive.csv │ └── stopwords.csv ├── rule_method_final.py ├── test.py ├── 停用词.txt ├── 否定词.txt ├── 正面情绪词.txt ├── 程度副词 - 副本.txt ├── 程度副词.txt ├── 程度级别词语(中文).txt ├── 词典来源.txt ├── 语料库 │ ├── 主张词语(中文).txt │ ├── 正面情感词语(中文).txt │ ├── 正面评价词语(中文).txt │ ├── 负面情感词语(中文).txt │ └── 负面评价词语(中文).txt └── 负面情绪词.txt └── 基于逻辑回归 ├── data ├── stopwords.txt ├── 停用词.txt └── 否定词.txt ├── main.py ├── model ├── CNN.py └── logistic.py ├── my_word2vec ├── my_word2vec_skip ├── results └── 139_logistic_net.pkl ├── tools └── vector.py └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/README.md -------------------------------------------------------------------------------- /assets/exp3原理.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/exp3原理.png -------------------------------------------------------------------------------- /assets/image-20211010162259234.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211010162259234.png -------------------------------------------------------------------------------- /assets/image-20211010171026334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211010171026334.png -------------------------------------------------------------------------------- /assets/image-20211010194243252.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211010194243252.png -------------------------------------------------------------------------------- /assets/image-20211013203434476.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211013203434476.png -------------------------------------------------------------------------------- /assets/image-20211013220930618.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211013220930618.png -------------------------------------------------------------------------------- /assets/image-20211014170753108.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211014170753108.png -------------------------------------------------------------------------------- /assets/image-20211014192745850.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211014192745850.png -------------------------------------------------------------------------------- /assets/image-20211014215318891.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211014215318891.png -------------------------------------------------------------------------------- /assets/image-20211017171255133.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211017171255133.png -------------------------------------------------------------------------------- /assets/image-20211020091914692.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020091914692.png -------------------------------------------------------------------------------- /assets/image-20211020095112423.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020095112423.png -------------------------------------------------------------------------------- /assets/image-20211020185302868.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020185302868.png -------------------------------------------------------------------------------- /assets/image-20211020185959212.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020185959212.png -------------------------------------------------------------------------------- /assets/image-20211020192920908.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020192920908.png -------------------------------------------------------------------------------- /assets/image-20211020193107092.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211020193107092.png -------------------------------------------------------------------------------- /assets/image-20211029090058954.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211029090058954.png -------------------------------------------------------------------------------- /assets/image-20211029090346421.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211029090346421.png -------------------------------------------------------------------------------- /assets/image-20211030143840328.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/image-20211030143840328.png -------------------------------------------------------------------------------- /assets/屏幕截图 2021-10-12 163409.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/屏幕截图 2021-10-12 163409.jpg -------------------------------------------------------------------------------- /assets/屏幕截图 2021-10-12 163441.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/屏幕截图 2021-10-12 163441.jpg -------------------------------------------------------------------------------- /assets/屏幕截图 2021-10-12 171257.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/屏幕截图 2021-10-12 171257.jpg -------------------------------------------------------------------------------- /assets/屏幕截图 2021-10-13 200031.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/屏幕截图 2021-10-13 200031.jpg -------------------------------------------------------------------------------- /assets/未作特征工程.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/未作特征工程.jpg -------------------------------------------------------------------------------- /assets/朴素贝叶斯结果.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/朴素贝叶斯结果.jpg -------------------------------------------------------------------------------- /assets/没有平滑.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/没有平滑.jpg -------------------------------------------------------------------------------- /assets/流程图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/流程图.png -------------------------------------------------------------------------------- /assets/用例.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/assets/用例.jpg -------------------------------------------------------------------------------- /基于朴素贝叶斯/naive_bayes_based_final.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于朴素贝叶斯/naive_bayes_based_final.py -------------------------------------------------------------------------------- /基于朴素贝叶斯/stopwords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于朴素贝叶斯/stopwords.txt -------------------------------------------------------------------------------- /基于朴素贝叶斯/停用词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于朴素贝叶斯/停用词.txt -------------------------------------------------------------------------------- /基于朴素贝叶斯/否定词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于朴素贝叶斯/否定词.txt -------------------------------------------------------------------------------- /基于规则/BosonNLP_sentiment_score.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/BosonNLP_sentiment_score.txt -------------------------------------------------------------------------------- /基于规则/resources/negative.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/resources/negative.csv -------------------------------------------------------------------------------- /基于规则/resources/positive.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/resources/positive.csv -------------------------------------------------------------------------------- /基于规则/resources/stopwords.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/resources/stopwords.csv -------------------------------------------------------------------------------- /基于规则/rule_method_final.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/rule_method_final.py -------------------------------------------------------------------------------- /基于规则/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/test.py -------------------------------------------------------------------------------- /基于规则/停用词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/停用词.txt -------------------------------------------------------------------------------- /基于规则/否定词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/否定词.txt -------------------------------------------------------------------------------- /基于规则/正面情绪词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/正面情绪词.txt -------------------------------------------------------------------------------- /基于规则/程度副词 - 副本.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/程度副词 - 副本.txt -------------------------------------------------------------------------------- /基于规则/程度副词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/程度副词.txt -------------------------------------------------------------------------------- /基于规则/程度级别词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/程度级别词语(中文).txt -------------------------------------------------------------------------------- /基于规则/词典来源.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/词典来源.txt -------------------------------------------------------------------------------- /基于规则/语料库/主张词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/语料库/主张词语(中文).txt -------------------------------------------------------------------------------- /基于规则/语料库/正面情感词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/语料库/正面情感词语(中文).txt -------------------------------------------------------------------------------- /基于规则/语料库/正面评价词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/语料库/正面评价词语(中文).txt -------------------------------------------------------------------------------- /基于规则/语料库/负面情感词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/语料库/负面情感词语(中文).txt -------------------------------------------------------------------------------- /基于规则/语料库/负面评价词语(中文).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/语料库/负面评价词语(中文).txt -------------------------------------------------------------------------------- /基于规则/负面情绪词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于规则/负面情绪词.txt -------------------------------------------------------------------------------- /基于逻辑回归/data/stopwords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/data/stopwords.txt -------------------------------------------------------------------------------- /基于逻辑回归/data/停用词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/data/停用词.txt -------------------------------------------------------------------------------- /基于逻辑回归/data/否定词.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/data/否定词.txt -------------------------------------------------------------------------------- /基于逻辑回归/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/main.py -------------------------------------------------------------------------------- /基于逻辑回归/model/CNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/model/CNN.py -------------------------------------------------------------------------------- /基于逻辑回归/model/logistic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/model/logistic.py -------------------------------------------------------------------------------- /基于逻辑回归/my_word2vec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/my_word2vec -------------------------------------------------------------------------------- /基于逻辑回归/my_word2vec_skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/my_word2vec_skip -------------------------------------------------------------------------------- /基于逻辑回归/results/139_logistic_net.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/results/139_logistic_net.pkl -------------------------------------------------------------------------------- /基于逻辑回归/tools/vector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/tools/vector.py -------------------------------------------------------------------------------- /基于逻辑回归/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Robin-WZQ/Text-sentiment-polarity-judgment/HEAD/基于逻辑回归/train.py --------------------------------------------------------------------------------