Giter Club home page Giter Club logo

pinyinjs's Issues

拼音转化排序存在问题

比如:

"呵呵"→keke
"大"→tai

因为"呵"这个字在词典里有三个音:a,he,ke
取的是最后一个ke,但是在在线demo里是对的,是因为加载了pinyin_dict_withtone.js
实际上要显示正确拼音加载的是2个词典,26.2+124.8=151KB

多音字”唔“的疑问

求教哈:

汉字:
新华字典(第12版)中的注音:
n2(348页)、n2g(354页)、wu2(513页)

pinyin_dict_firstletter.all 中 第 21780 索引对应的是 "E"
pinyin_dict_firstletter.polyphone 21780 对应的 "WN"

我看其它多音字的情况,polyphone 中一定包含 all 中的 音序,对于21780,是不是配置有问题呢?

多音字有没有纠错功能

使用过程中,很多多音字翻译有问题,比如: “孩子”, “是谁呢”, “卷卷的毛”, “长出耳朵”,等等,

可否分成2个网页

项目太复杂了,可否把拼音输入法和汉字转拼音分成2个网页,我想参考做一个基于Qt的拼音输入法。

出现数字混排的时候,多音字错乱

我的测试用例是2019年度报表,代码用的这个
pinyinUtil.getPinyin(val, "", false, true);

我看了一下,错误的原因是把2019当作了一个词语,在替换多音字的时候,i+K定位错误了,稍微修改了一下utils里面getPinyin方法中140多行左右的代码,并且去掉了第一个if里面的空格处理。
else{ noChinese+=chinese[i];result.push(chinese[i]);}

已经写的很强大了,感谢。

某些拼音翻译异常

20周年大会暨澳门特别行政区
20 zhōu nián dà dà huì ào mén tè bié bié xíng qū

我将它改为了nodejs的程序,有可能是这边出错了.但是看见前面其他人说多音字有问题,就没有再次验证具体哪里的问题.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.