Ishi: A volition classifier for Japanese
Requirements
Installation
$ pip install ishi
How to Use
from ishi import Ishi
ishi = Ishi()
# Ishi accepts a string
print(ishi('自然言語処理の勉強をする')) # True
print(ishi('自然言語処理は楽しい')) # False because "楽しい" is an adjective
print(ishi('自然言語処理を学べる')) # False because "学べる" is a potential verb
print(ishi('自然言語処理の勉強を始めてびっくりした')) # False because "びっくり (した)" is in a non-volition dictionary
# Ishi also accepts a KNP output
from pyknp import KNP
knp = KNP()
knp_output = knp.parse('自然言語処理の研究に必要なのは言語に対する深い洞察だ')
print(ishi(knp_output)) # False
Metadata
Release files for ishi 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ishi-0.0.3.tar.gz | 14.0 kB | Without provenance | Details for ishi-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ishi-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for ishi-0.0.3-py3-none-any.whl |
Total release size: 30.1 kB
Release files / ishi-0.0.3.tar.gz
| Download URL | ishi-0.0.3.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2124e73dbce185282260eb9633fbf3a7a327f5a0886f0a4958e4ed498147efa0
|
|
BLAKE2b-256 checksum How to use checksums |
8a37c3c4a724c3d7b1b3dcb733de06ed8606882fcaa651247be0f804ccd3bbb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / ishi-0.0.3-py3-none-any.whl
| Download URL | ishi-0.0.3-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3705359954d0c7dc10f69fd5e435899489e409f1b21cde85d4a07dc8dd063c7b
|
|
BLAKE2b-256 checksum How to use checksums |
be5616a8973292ce63f0382fb582ab23e79a92e1c9e2529281c75a9af8e369da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Security for ishi 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.