Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ishi: A volition classifier for Japanese

License

NotificationsYou must be signed in to change notification settings

ku-nlp/ishi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Installation

$ pip install ishi

How to Use

fromishiimportIshiishi=Ishi()# Ishi accepts a stringprint(ishi('自然言語処理の勉強をする'))# Trueprint(ishi('自然言語処理は楽しい'))# False because "楽しい" is an adjectiveprint(ishi('自然言語処理を学べる'))# False because "学べる" is a potential verbprint(ishi('自然言語処理の勉強を始めてびっくりした'))# False because "びっくり (した)" is in a non-volition dictionary# Ishi also accepts a KNP outputfrompyknpimportKNPknp=KNP()knp_output=knp.parse('自然言語処理の研究に必要なのは言語に対する深い洞察だ')print(ishi(knp_output))# False

About

Ishi: A volition classifier for Japanese

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp