Skip to main content

Opinion Analysis Toolkit

Project description

Opinion Analysis Toolkit

A toolkit to extract opinions 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


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.1a1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

opinionx-0.0.1a1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file opinionx-0.0.1a1.tar.gz.

File metadata

  • Download URL: opinionx-0.0.1a1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for opinionx-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 9059aff3a2c7d8b98e0e75fc77367d6f8f5f8c50a357f273e86fc4905445de45
MD5 4d570cb119855573a8bf02d7b54289ea
BLAKE2b-256 6058fcd17897c27484513c4dc3dd022b18e9388745a53710b74891d8f4dca02c

See more details on using hashes here.

File details

Details for the file opinionx-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: opinionx-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for opinionx-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2b8bd580b31907176c023f286aad4307fa0a706e2ba7d0563fdae6c4542c35a
MD5 2d357a499d4ba2a2b006a3959a71ca1e
BLAKE2b-256 50fab2b8d54f341da919a9adfaf90aa8b1727e7ff1ecfbd339b408ee746adc25

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page