Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

This is a cross-platform g2p for Korean.

License

NotificationsYou must be signed in to change notification settings

harmlessman/g2pkk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a cross-platform g2p for Korean.

g2pkk is a library that madeKyubyong's g2pk work in Windows.The reason why g2pk does not work well in Windows is that themecab, the morpheme analyzer used by g2pk, causes build errors in Windows.g2pkk uses a different morpheme analyzer depending on the operating system.Windows useseunjeon, which enables mecab to be used in Windows, and other operating systems usepython-mecab-ko, which was previously used in g2pk.

Install g2pkk and make sure that a morpheme analyzer exists for the operating system of the system you are using for the first time, and if not, proceed with the installation automatically.

Requirements

  • python >= 3.6
  • jamo
  • nltk

Installation

pip install g2pkk

How To Use

g2pkk uses same syntaxes as g2pk.

>>> from g2pkk import G2p>>> g2p = G2p("포상은 열심히 한 아이에게만 주어지기 때문에 포상인 것입니다.")>>> g2p("포상으 녈심히 하 나이에게만 주어지기 때무네 포상인 거심니다.")

If you want more information, checkg2pk

About

This is a cross-platform g2p for Korean.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp