Skip to main content

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)

Source distribution for ishi 0.0.3
File Size Uploaded
ishi-0.0.3.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ishi 0.0.3
File Interpreter ABI Platform
ishi-0.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page