Skip to main content

A volition classifier for Japanese

Project description

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

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

ishi-0.0.3.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

ishi-0.0.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file ishi-0.0.3.tar.gz.

File metadata

  • Download URL: ishi-0.0.3.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ishi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2124e73dbce185282260eb9633fbf3a7a327f5a0886f0a4958e4ed498147efa0
MD5 91f474141b38ef0950ef354083cd460e
BLAKE2b-256 8a37c3c4a724c3d7b1b3dcb733de06ed8606882fcaa651247be0f804ccd3bbb6

See more details on using hashes here.

File details

Details for the file ishi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ishi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ishi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3705359954d0c7dc10f69fd5e435899489e409f1b21cde85d4a07dc8dd063c7b
MD5 0aa622d25c7b15ed783f444d4fdc61b5
BLAKE2b-256 be5616a8973292ce63f0382fb582ab23e79a92e1c9e2529281c75a9af8e369da

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