Skip to content

Pinyin returned may be incorrect #109

@xpire

Description

@xpire

Issue

When I was getting the pinyin for the following chinese:

这个是谁的钱包?
Image

I realised that 谁 has the incorrect pronunciation, and I'm guessing it has to do with the default configuration of pinyin-pro.

Solution

Ideally there should be some way to update the pinyin shown in the codeblock, or settings to control the configuration of pinyin-pro.

In no particular order (and potentially could be done in parallel):

  1. use addDict and use the full dictionary
  2. configure a more accurate (but slower) segmentation algorithm with the segmentit config
  3. implement some UI that allows for editing the pinyin shown based on the available polyphonic results

Keen to hear any feedback on ways to solve wrong pinyin being served by this plugin 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions