Opinion Analysis Toolkit
Project description
Opinion Analysis Toolkit
A toolkit to extract opinion from text
Installation
pip install opinionx
Example Usage
from opinionx.text import get_opinion
text=open("test.txt",'r',encoding='utf-8').read()
opinion_words=['表示','认为','说','介绍','提出','透露','指出','强调',':']
list_opinion,_,_=get_opinion(text,lang='zh',opinion_words=opinion_words)
for opinion in list_opinion:
print(opinion)
Credits & References
License
The opinionx
project is provided by Donghua Chen.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opinionx-0.0.1a0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for opinionx-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86e7106112dff3f3f06b9c4735a5114567e877be0d5621f024621724c9013ee7 |
|
MD5 | 0e713642bb0baf21423486f12c8b9496 |
|
BLAKE2b-256 | 0d123c3f2480ad8be67cbf4c719f82b75ebdbcca9210cb6e261cb480a6b45156 |