g2pC icon indicating copy to clipboard operation
g2pC copied to clipboard

g2pC: A Context-aware Grapheme-to-Phoneme Conversion module for Chinese

Results 9 g2pC issues
Sort by recently updated
recently updated
newest added

What the datasets does your training model use, and only uses datasets containing polyphonic words?

```shell >>> g2p('一心一意') [('一心一意', 'i', 'yi1 xin1 yi1 yi4', "/concentrating one's thoughts and efforts/single-minded/bent on/intently/", '一心一意')] ``` Should be 'yi4 xin1 yi2 yi4'. See https://github.com/mozillazg/phrase-pinyin-data/issues/20

FileNotFoundError when use g2p , can you give me some suggesion? thanks! ``` >>> g2p = G2pC() WARNING: features.pkl does not exist, try loading features.json WARNING: features.json does not exist,...

The library of Chinese grapheme-to-phoneme conversion is not complete. I have found part of missed Chinese words: 邓,吴,鄂,皖,蔡,萨,廖,宋,秦,刘,滧,闫,陕,郑,郝,犇,鹏,陇,祾,渭,邹,濮,梵,佟,韩,龚,洛,湘,婍,沂,隋,洣,潘,蒋,禹,喲,闽,湳,綪,睍,孻,汶,杭,吶,黔,渝,辽,銶,滇,灞,溁,浙,渤,邵,赣,淮,郸,彭,傣,蜀,沪,癍,郦,滕,滦,榣,姈,亳,漳,邢,涪,尧,昝,羲,媃,粤,鞑 from g2pc import G2pC g2p = G2pC() print(g2p("吴")) e.g. When I input...

https://resources.allsetlearning.com/chinese/pronunciation/Tone_change_rules#Why_Tone_Changes_Are_Not_Written The website above is the specific description about the rules. And when I used the code below, from g2pc import G2pC g2p = G2pC() print(g2p("卡尔普")) the result was [('卡',...

g2p("我写了一行代码") Out[4]: [('我', 'r', 'wo3', 'wo2', '/I/me/my/', '我'), ('写', 'v', 'xie3', 'xie3', '/to write/', '寫'), ('了', 'u', 'le5', 'le5', '/(modal particle intensifying preceding clause)/(completed action marker)/', '了'), ('一行', 'n', 'yi1...

Receiving this ERROR: Could not build wheels for pkuseg, which is required to install pyproject.toml-based projects when trying to run pip install on python 3.9; windows 10

Great work! I wanna load your model in other languages such as rust/cpp, but they only accept "*.crfsuite" model file. This project only provides the dumped pickle file, which is...

Dear developers, Your project g2pC requires "pkuseg==0.0.22" in its dependency. After analyzing the source code, we found that the following versions of pkuseg can also be suitable without affecting your...