Giter Club home page Giter Club logo

Comments (7)

DBtxy avatar DBtxy commented on May 19, 2024 2

其实我还有一个问题哈,直接切出来的 ngram的量级非常大,即使采用外部文件归并排序的话也会很久,排序结果计算freq也很久,为什么不一边切,一边构建dict,统计ngram,最后把ngarm 及其频次输出到文件中,再排序的话量级会减少很多。这块我一直有个疑问哈?

哦哦,看到你的fastbuilder了,666

from dict_build.

sing1ee avatar sing1ee commented on May 19, 2024

@DBtxy 六年了,可能我对这个代码,还没有你熟悉的。我看看先~

from dict_build.

DBtxy avatar DBtxy commented on May 19, 2024

@DBtxy 六年了,可能我对这个代码,还没有你熟悉的。我看看先~

哈哈,好的好的,不急

from dict_build.

sing1ee avatar sing1ee commented on May 19, 2024

@DBtxy 六年了,可能我对这个代码,还没有你熟悉的。我看看先~

哈哈,好的好的,不急

现在跑起来,没有问题吧

from dict_build.

DBtxy avatar DBtxy commented on May 19, 2024

@DBtxy 六年了,可能我对这个代码,还没有你熟悉的。我看看先~

哈哈,好的好的,不急

现在跑起来,没有问题吧

跑应该是没有问题的,后面逻辑把这个边界问题产生的影响覆盖住了,可能就几个字符串的差异

from dict_build.

sing1ee avatar sing1ee commented on May 19, 2024

够细心,我抽空看看,然后交流交流。

from dict_build.

DBtxy avatar DBtxy commented on May 19, 2024

其实我还有一个问题哈,直接切出来的 ngram的量级非常大,即使采用外部文件归并排序的话也会很久,排序结果计算freq也很久,为什么不一边切,一边构建dict,统计ngram,最后把ngarm 及其频次输出到文件中,再排序的话量级会减少很多。这块我一直有个疑问哈?

from dict_build.

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.