g2pk2: updated folk of g2pk module
Project description
g2pk2
g2pk2 is a updated folk of Kyubyong's g2pk, which hasn’t been fixed in many years.
It supports Windows, Linux, and macOS based on harmlessman's g2pk
Bug fixed
- 한국어 어문 규범 제15항 (Korean grammar rules chapter 15) https://github.com/Kyubyong/g2pK/issues/6
- Bug in rule https://github.com/Kyubyong/g2pK/pull/13
Requirements
- python >= 3.6
- jamo
- nltk
Installation
pip install g2pk2
How To Use
g2pk2 uses same syntaxes as g2pk.
>>> from g2pk2 import G2p
>>> g2p = G2p()
>>> g2p("포상은 열심히 한 아이에게만 주어지기 때문에 포상인 것입니다.")
'포상은 열심히 한 아이에게만 주어지기 때무네 포상인 거심니다.'
If you want more information, check g2pk
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
g2pk2-0.0.1-py3-none-any.whl
(25.5 kB
view hashes)