/polarityrank

PolarityRank

Primary LanguagePython

polarityrank

PolarityRank

main.py is the main function. preproccess.py is a file that contains some preprocecess methods, such as pos, ner, etc. generate_graph.py is a file that use the nodes obtained from the preproccess.py to build a direct graph. generate_matrix.py is a file that transform the graph to matrices or vectors. polarityrank.py is the key file that calculate the sentiment orientation. test.py is a test file. POS_explanation.py is a file that contains some tags that should be clean.