Skip to content

Python library to assist in detecting Japanese text

License

Notifications You must be signed in to change notification settings

luke-c/WanaKanaPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WanaKanaPython

A Python library to assist in detecting Japanese text

Usage

Install

pip install wanakana
from wanakana import hiragana
hiragana.is_hiragana("げーむ")

or

from wanakana.hiragana import is_hiragana
is_hiragana("げーむ")

Documentation

See original WanaKana docs as the functions are near identical.

Quick Reference

is_japanese("泣き虫。!〜2¥zenkaku")
// => true

is_kana("あーア")
// => true

is_hiragana("げーむ")
// => true

is_katakana("ゲーム")
// => true

is_kanji("切腹")
// => true

is_romaji("Tōkyō and Ōsaka")
// => true

Credits

A partial port of WanaKana

License

Source files of this project are available under the MIT License. See LICENSE

About

Python library to assist in detecting Japanese text

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages