Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

pinyin -p output sometimes incorrect #20

@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/gse@v0.50.3/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/gse@v0.50.3/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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions