go-pinyin icon indicating copy to clipboard operation
go-pinyin copied to clipboard

Problem with 声母风格&韵母风格

Open suntong opened this issue 7 years ago • 1 comments

Hi @mozillazg,

I noticed something is wrong with 声母风格&韵母风格 while doing #26. (Ref: https://github.com/go-cc/cc2py/blob/master/cc2py_test.go#L32-L39)

Please take a look at https://github.com/go-cc/cc-table/blob/master/text/tools/go-pinyin.go

You can see that the output for "yín" in 声母风格 is blank and in 韵母风格 it is "iín". I.e., both cases are wrong.

Would you look into it please? Thx.

suntong avatar May 02 '17 20:05 suntong

是的,这个地方的韵母风格有问题,声母风格是因为 y 不是声母。当时 https://github.com/mozillazg/go-pinyin/issues/18#issue-212053669 提到了这个问题,暂时还没修复。

mozillazg avatar May 03 '17 00:05 mozillazg