Skip to content

pinyin -p output sometimes incorrect #20

Open
@suntong

Description

@suntong
  • Ego version (or commit ref): v0.40.0
  • Go version: go1.14.3
  • Gcc version: gcc version 9.3.0
  • Operating system and bit: 5.4.0-33-generic x86_64

Description

The output of pinyin -p sometimes are not correct.

Correct example:

$ pinyin -p 银行
2020/10/11 13:47:09 Load the gse dictionary: "/home/tong/l/ws/Go/pkg/mod/github.com/go-ego/[email protected]/data/dict/dictionary.txt" 
2020/10/11 13:47:12 Gse dictionary loaded finished.
yín xíng

Incorrect example:

$ pinyin -p 中国话
2020/10/11 13:46:54 Load the gse dictionary: "/home/tong/l/ws/Go/pkg/mod/github.com/go-ego/[email protected]/data/dict/dictionary.txt" 
2020/10/11 13:46:56 Gse dictionary loaded finished.
zhng gu huà

somehow the 韵母 of the first two letters are incorrect.

Please double-check. thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions