Tykok / cedict-chinese-transformation

A simple chinese dictionary based on the Cedict
https://tykok.github.io/cedict-chinese-transformation/
MIT License
7 stars 1 forks source link

[Fix] Update the way we split the string to get pinyin #173

Closed Tykok closed 2 months ago

Tykok commented 2 months ago

Description

Just change the way I split the string to get pinyin character.

Type of change

How Has This Been Tested ?

I add a file named format-cedict.test.ts who have a test who check the result for pinyin character, according to this issue #154.