Git Product home page Git Product logo

Comments (7)

TooBug avatar TooBug commented on May 18, 2024

我来试下。

from pinyin.

TooBug avatar TooBug commented on May 18, 2024

能否简单介绍一下tools目录的结构?各个工具和目录的作用是啥?

要找出含多音字的词组的话是直接从dict入手生成一个新词典吗?(即dict是“源”还是生成结果?)

from pinyin.

hotoo avatar hotoo commented on May 18, 2024

👍

tools 目录用来从网络上抓取字典、词典用的,dict 是抓取的结果。可以看看 Makefile 里面的用法。

这个需求可以考虑写个工具自动提取所有的多音字,并进一步提取出所有的多音词。

from pinyin.

TooBug avatar TooBug commented on May 18, 2024

刚看到markfile,大概明白了,最近抽时间看能不能整理出来。

from pinyin.

devon avatar devon commented on May 18, 2024

NPM 安装后的结果很大,有 15M 之多,但 Web 版本通过 SPM 安装就很小。除了词曲的大小之外,NPM 安装的还有很多的其它文件,哪些文件或目录是可以不用的,可以直接删除掉?

from pinyin.

devon avatar devon commented on May 18, 2024

非多音字词组,这个,可能通过程序来查找吧? 建一个多音字的库,然后去遍历词组,将没有多音字的词组干掉。

from pinyin.

hotoo avatar hotoo commented on May 18, 2024

mozillazg/python-pinyin#12mozillazg/python-pinyin@299a283 这里看来,绝大部分词语都包含多音字,这个优化看来必要性不大。

期待 yanyiwu/nodejieba#29

from pinyin.

Related Issues (20)

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.