/pythaiterminology

Thai terminology corpus library

Primary LanguagePythonMIT LicenseMIT

PyThaiTerminology : Thai terminology corpus library

Python 3.7 Google Colab Badge

Installation

Use the package manager pip to install PyThaiTerminology.

pip install pythaiterminology

Usage

import pythaiterminology.corpus as ptt

# returns 'frozenset({'พิทาโกรัส', 'คอร์ด', 'คอมพลีเมนต์', 'แคลคูลัส', ...})'
ptt.math_terminology()

# returns 'frozenset({'โปรตอน', 'รังสีแกมมา', 'รังสีอินฟาเรด', 'อิเล็กตรอน', ...})'
ptt.physics_terminology()

# returns 'frozenset({'อัลดีไฮด์', 'โลหะอัลคาไล', 'บัฟเฟอร์', 'แคโทด', ...})'
ptt.chemical_terminology()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT