shirkhan
the python tool for shirkhan
currently using with project u-open-imla
Usage
pip install shirkhan
from shirkhan import decode, encode, syllabify
encode("xxxx")
decode("yyy")
word = "شىرخان"
print(syllabify(word))
更多使用案例请看 examples目录中的脚本
开发,贡献指南
- 本地安装项目,安装时指定可编辑方式安装,这样可以边使用边看效果,甚至调整逻辑时不需要频繁修改源码后重新安装
pip install --editable shirkhan_lib_path // 这个目录指定到有setup.py为止即可
Metadata
Release files for shirkhan 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shirkhan-0.0.3.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shirkhan-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / shirkhan-0.0.3.tar.gz
| Download URL | shirkhan-0.0.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
952ba1503d9566fcde90f3ed876f5a20f7a80a8c5c9bf344547103fc17ef29e0
|
|
BLAKE2b-256 checksum How to use checksums |
d84eb8b45ca598c3b55acefa13cf676c9e0883e613f7b33719c6175d8b014d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.0
|
Release files / shirkhan-0.0.3-py3-none-any.whl
| Download URL | shirkhan-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5bdfadc328e1a2d1e4e27175e7f13291ae58199723d5071696b34755824e27b
|
|
BLAKE2b-256 checksum How to use checksums |
d07c7e9090f2bfa1b22412563589958713e8900f83d35a288927dafbd4788955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.0
|