Comments (7)
我来试下。
from pinyin.
能否简单介绍一下tools目录的结构?各个工具和目录的作用是啥?
要找出含多音字的词组的话是直接从dict入手生成一个新词典吗?(即dict是“源”还是生成结果?)
from pinyin.
👍
tools 目录用来从网络上抓取字典、词典用的,dict 是抓取的结果。可以看看 Makefile 里面的用法。
这个需求可以考虑写个工具自动提取所有的多音字,并进一步提取出所有的多音词。
from pinyin.
刚看到markfile,大概明白了,最近抽时间看能不能整理出来。
from pinyin.
NPM 安装后的结果很大,有 15M 之多,但 Web 版本通过 SPM 安装就很小。除了词曲的大小之外,NPM 安装的还有很多的其它文件,哪些文件或目录是可以不用的,可以直接删除掉?
from pinyin.
非多音字词组,这个,可能通过程序来查找吧? 建一个多音字的库,然后去遍历词组,将没有多音字的词组干掉。
from pinyin.
从 mozillazg/python-pinyin#12 和 mozillazg/python-pinyin@299a283 这里看来,绝大部分词语都包含多音字,这个优化看来必要性不大。
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.