Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
|circleci| |coveralls| |pyversion| |version| |license|
Dictionary based Sentiment Analysis for Japanese
::
$ pip install oseti
.. code:: python
import oseti
analyzer = oseti.Analyzer() analyzer.analyze('天国で待ってる。')
analyzer.analyze('遅刻したけど楽しかったし嬉しかった。すごく充実した!')
analyzer.count_polarity('遅刻したけど楽しかったし嬉しかった。すごく充実した!')
analyzer.count_polarity('そこにはいつもと変わらない日常があった。')
analyzer.analyze_detail('お金も希望もない!')
analyzer.analyze_detail('お金がないわけではない')
analyzer = oseti.Analyzer(word_dict={'カワイイ': 'p', 'ブサイク': 'n'}, wago_dict={'イカ する': 'ポジ', 'まがまがしい': 'ネガ'}) analyzer.analyze_detail("カワイイ")
analyzer.analyze_detail("ブサイクだ")
analyzer.analyze_detail("まがまがしい")
analyzer.analyze_detail("イカすよ")
This module uses 日本語評価極性辞書(用言編)ver.1.0 and 日本語評価極性辞書(名詞編)ver.1.0
小林のぞみ,乾健太郎,松本裕治,立石健二,福島俊一. 意見抽出のための評価表現の収集. 自然言語処理,Vol.12, No.3, pp.203-222, 2005. / Nozomi Kobayashi, Kentaro Inui, Yuji Matsumoto, Kenji Tateishi. Collecting Evaluative Expressions for Opinion Extraction, Journal of Natural Language Processing 12(3), 203-222, 2005.
東山昌彦, 乾健太郎, 松本裕治, 述語の選択選好性に着目した名詞評価極性の獲得, 言語処理学会第14回年次大会論文集, pp.584-587, 2008. / Masahiko Higashiyama, Kentaro Inui, Yuji Matsumoto. Learning Sentiment of Nouns from Selectional Preferences of Verbs and Adjectives, Proceedings of the 14th Annual Meeting of the Association for Natural Language Processing, pp.584-587, 2008.
.. |circleci| image:: https://dl.circleci.com/status-badge/img/gh/ikegami-yukino/oseti/tree/master.svg?style=svg :target: https://dl.circleci.com/status-badge/redirect/gh/ikegami-yukino/oseti/tree/master
.. |coveralls| image:: https://coveralls.io/repos/ikegami-yukino/oseti/badge.svg?branch=master&service=github :target: https://coveralls.io/github/ikegami-yukino/oseti?branch=master :alt: coveralls.io
.. |pyversion| image:: https://img.shields.io/pypi/pyversions/oseti.svg
.. |version| image:: https://img.shields.io/pypi/v/oseti.svg :target: http://pypi.python.org/pypi/oseti/ :alt: latest version
.. |license| image:: https://img.shields.io/pypi/l/oseti.svg :target: http://pypi.python.org/pypi/oseti/ :alt: license
FAQs
Dictionary based Sentiment Analysis for Japanese
We found that oseti demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.