Vachana G2P
เครื่องมือแปลงข้อความภาษาไทยเป็น IPA
เครดิต
- https://github.com/nozomiyamada/thaig2p
- https://github.com/attapol/tltk
- https://github.com/PyThaiNLP/pythainlp
ติดตั้ง
pip install vachana-g2p
การใช้งาน
from vachana_g2p import th2ipa
text = "สวัสดีครับ นี่คือเสียงพูดภาษาไทย"
ipa = th2ipa(text)
print(ipa)
# example : sawàtdiː kʰráp, nîː kʰɯː sǐəŋpʰûːt pʰaːsǎːtʰaj
Metadata
Release files for vachana-g2p 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 | |
|---|---|---|---|
| vachana_g2p-0.0.3.tar.gz | 6.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vachana_g2p-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 MB
Release files / vachana_g2p-0.0.3.tar.gz
| Download URL | vachana_g2p-0.0.3.tar.gz |
|---|---|
| Size | 6.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1bd65a1cf9bdbce4ac9fac3b1acd25fe33e33e252b4e52347356a6ff8dfdc49
|
|
BLAKE2b-256 checksum How to use checksums |
0cc2d731f8190f0abac086240b426b6eed6b445fb94a5d372a39dcd3b0a9f0d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / vachana_g2p-0.0.3-py3-none-any.whl
| Download URL | vachana_g2p-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31b306ff173eae4a4039c992cda8f093f516a9d00b8f3643a0c6b0a3dab5f02d
|
|
BLAKE2b-256 checksum How to use checksums |
1fda775c8d59efe818c11e19821d5a466ddf675689b3b6b7df3492a37de40225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|