用指令叫鬥拍字
Project description
Tau-Phah-Ji-Command
鬥拍字的指令直接包做一个套件
Tau
因為新版本猶未deploy到PyPI,暫時先用zip。
pip install Tau-Phah-Ji-Command
Īng
Phiau Tsuân-Hàn Tsuân-Lô
>>> from tauphahji_cmd import tàuphahjī
>>> tàuphahjī('A-tsik gau5 tsa2\nlâi-khì.')
{
# Tsuân-pōo
'kiatko': [
{'漢字': '阿叔𠢕早', 'KIP': 'a-tsik gâu-tsá', '分詞': '阿-叔|a-tsik 𠢕-早|gâu-tsá'},
{'漢字': '來去。', 'KIP': 'lâi-khì.', '分詞': '來-去|lâi-khì 。|.'}
],
# Thâu-tsi̍t-kú
'漢字': '阿叔𠢕早',
'KIP': 'a-tsik gâu-tsá',
'分詞': '阿-叔|a-tsik 𠢕-早|gâu-tsá'
}
Phiau Sû-sìng
>>> from tauphahji_cmd import sûsìng
>>> sûsìng('逐-家|ta̍k-ke 做-伙|tsò-hué 來|lâi 𨑨-迌|tshit-thô !|!')
['Nh', 'D', 'D', 'VC']
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
Built Distribution
File details
Details for the file Tau-Phah-Ji-Command-1.0.0.tar.gz
.
File metadata
- Download URL: Tau-Phah-Ji-Command-1.0.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a57417ae872f28eee0f4f9d345109a4f9a5e60a66d622339fb1daaa59b15395 |
|
MD5 | 0bb1ed65a39988ef784f7dadab95aece |
|
BLAKE2b-256 | d9e81ac6a203e062b4f7db64367ac3a58c89ca4c27e9d63394ffa28833be34e1 |
File details
Details for the file Tau_Phah_Ji_Command-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: Tau_Phah_Ji_Command-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19e7fbdccac6e800dfb39e0d8ce819d800efafb16c6396bd5e2b883c2a61006c |
|
MD5 | b6de5f4149518d05abc42299c634ce2b |
|
BLAKE2b-256 | 6287342d9ea36c5427188ad6aaec5bbdf1235f71d2b8e621b9e184a87f71ee9e |