Metadata-Version: 2.4
Name: PyHakka
Version: 0.1.0
Summary: Computational linguistics and dialectology toolkit for Hakka Chinese: phonetic conversion (HPS-Ext / IPA / Guangdong / HKILANG), lexicon lookup across 229 varieties, and tone sandhi.
Author: HakkaCL Contributors
License: MIT
Project-URL: Homepage, https://github.com/HakkaCL/hakka
Project-URL: Repository, https://github.com/HakkaCL/hakka
Project-URL: Issues, https://github.com/HakkaCL/hakka/issues
Keywords: hakka,linguistics,phonology,ipa,dialectology,tone-sandhi,chinese,nlp
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.4; extra == "dev"
Provides-Extra: build
Requires-Dist: opencc-python-reimplemented>=0.1.7; extra == "build"
Dynamic: license-file

# PyHakka

客家話計算語言學與方言學 Python 工具庫（[`HakkaCL/hakka`](https://github.com/HakkaCL/hakka) Monorepo 之 Python 套件）。

- **預設腔調**：標準惠陽腔（`huiyang`，六調 `44/11/31/53/1/5`）
- **預設記音**：客家語拼音擴展方案（`hps_ext`，HPS-Ext）
- **核心模組**：`pyhakka.phon`（音節解析、校驗、多方案無損互轉）、`pyhakka.dialects`（229 點音系元數據）、`pyhakka.lexicon`（查字、查詞、同音反查、跨點比較）、`pyhakka.sandhi`（連讀變調與音段同化）。
- 若需標準惠陽腔句子級漢字轉拼音，請使用姊妹庫 [`to-hakka`](https://github.com/HakkaCL/to-hakka)。
