A library to assist in detecting Japanese text
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wanakana-1.0.1.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file wanakana-1.0.1.tar.gz
.
File metadata
- Download URL: wanakana-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cec77d597806027a5301ed8b3f0cd43015ed9de35220ad035e1d1388fd6c59 |
|
MD5 | 6d17e279b3ba95b1469e489980a51e3c |
|
BLAKE2b-256 | c61637ab53519b715e8e84ca8c3ae2aa10f161f9024ff24e991b638326fce506 |
File details
Details for the file wanakana-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wanakana-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85722bef91e35694aa3d54380b5311ca0b14506c2e1c339737a91aa5511171e5 |
|
MD5 | a87d4f252e9a47f23887c775712a672c |
|
BLAKE2b-256 | b0dc7bd2c6697828699db50a2c8f63f309673161d4848e647beda0eaf2613e60 |