Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 869 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 869 Bytes

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

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