Comments (19)
可以让 Web版跟Node版功能一致么?共用一个数据库
from pinyin.
是有这个考虑,但是怕词典太大。这种场景还是推荐在服务端使用。
from pinyin.
@hotoo 我们是把这个用在扩展或者桌面环境下,比如 electron. 所以可以把这个改成配置项,而不是依赖于具体的环境,比如用户想要小字典那么可以下载小字典版本,大字典就下载大字典版本
from pinyin.
服务端还有个可选的分词功能,能提高多音字准确率。分词模块是使用第三方模块,不适合浏览器端用。
不过统一词库的事情会考虑的。
from pinyin.
蔡 佟 俞
from pinyin.
濮(pu)阳
睢(sui)宁
邳(pi)州
菏(he)泽
淄(zi)博
阜(fu)阳
莆(pu)田
漳(zhang)州
襄(xiang)阳
赣(gan)州
泸(lu)州
from pinyin.
圳太明显了。可以加下么?
from pinyin.
阮(ruan)
from pinyin.
在web端使用需要引入哪些文件?
from pinyin.
web版:昕 楠 (常用的姓名)
from pinyin.
尴尬,这个也没有
from pinyin.
能否pinyin/data/dict-zi-web.js文件里加三个字:珂、柯、喽(常用字)
谢谢
from pinyin.
嘻嘻哈哈 嘻嘻这个没有
from pinyin.
倪(ni) 昝(zan)这两个也没有
from pinyin.
能显示的汉字 Unicode 编码
字符集 | 字数 | Unicode 编码
基本汉字 | 20902字 | 4E00-9FA5
基本汉字补充 | 38字 | 9FA6-9FCB
...
生成首字母出来了汉字真的很尴尬的。。。
可以参考GB2312以及ASCII编码/Unicode编码, 推荐使用wiki查询
from pinyin.
常用字: 建邺 的 “邺” 没有被翻译
from pinyin.
web版 嘻嘻哈哈的嘻也没翻译出来
from pinyin.
pinyin('亭轩',style=Style.FINALS)
[['ing'], ['uan']]
应该是[['ing'], ['van']]
兄弟这个什么时候能更正啊?或者教我可以改动什么回避这个问题?
from pinyin.
请使用 3.x npm i pinyin@alpha
,支持完整的字库。
from pinyin.
Related Issues (20)
- "繁"字,给出了三个读音[fán, pán, pó],其中 "pán" 是错误的,这个字没有这个读音 HOT 1
- "桔"字,给出了三个读音[jú, jié, xié],其中 "xié" 是错误的,这个字没有这个读音 HOT 1
- Is it possible to make the html ruby code on the top of Chinese word segmentation for sentences?
- dict-ci.js中“英雄辈出”的雄字注音xóng应为xióng
- 使用node导入pinyin这个包的时候为什么会显示模块不存在 HOT 7
- EsModule引用报错 HOT 2
- 在vue3+vuecli情况下build会报错 HOT 5
- vue2引入包后编译报错 HOT 5
- package.json is not node-pre-gyp ready: HOT 2
- web端 "pinyin": "^3.0.0-alpha.4" "踝" 不兼容 HOT 1
- 《》和里面的内容被当成一个字符处理了 HOT 1
- 添加{mode: 'normal'}无效 HOT 4
- 吕姓pinyin怎么处理成LYU HOT 2
- ESM module imports require .js extension HOT 2
- 希望style可以多选 HOT 1
- 如何去除nodejieba依赖,云函数使用不了 HOT 1
- 能否搞一个DOCKER 给个端口 给个API可以直接用? HOT 1
- 能否兼容IE11 HOT 1
- README.md中存在错字 HOT 1
- 在uniapp中使用报错:Could not resolve "segmentit" imported by "pinyin". Is it installed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinyin.