Giter Site home page Giter Site logo

Comments (7)

Trey314159 avatar Trey314159 commented on June 23, 2024 1

Or—I can upload the compressed corpus here! vi.5K.txt.zip

For anyone else who wants to download and use this corpus, since it is a derivative work from Vietnamese Wikipedia articles, it is licensed CC BY-SA 3.0 by me and contributors to Vietnamese Wikipedia.

from elasticsearch-analysis-vietnamese.

duydo avatar duydo commented on June 23, 2024

Hi @Trey314159,
Thank you for spending time doing analysis with the plugin, I really appreciate what you've contributed to it.
After looking at all the issues you reported and reviewing whole source code of the original tokenizer I decided to stop hacking it, I will implement a new Vietnamese word segmentation from the scratch based on this paper and your suggestions.

By the way, is there somewhere I can download the articles you was using for testing?

from elasticsearch-analysis-vietnamese.

Trey314159 avatar Trey314159 commented on June 23, 2024

Hi @duydo,

Glad to help. Sorry the result is abandoning the current tokenizer, but I'm very glad you are going to pursue a new implementation!

I can send you my corpus—it's 5000 Vietnamese Wikipedia articles, with all extra markup removed, and individual lines deduped. It's 3.7MB (1.1MB compressed), so I can email it to you if that's feasible.

from elasticsearch-analysis-vietnamese.

Trey314159 avatar Trey314159 commented on June 23, 2024

Hmm. One last comment: I've also removed extra whitespace—extra blank spaces and blank lines, both of which caused problems for the old plugin/tokenizer.

from elasticsearch-analysis-vietnamese.

duydo avatar duydo commented on June 23, 2024

@Trey314159 I've just downloaded the corpus, thanks for sharing. It would be great if you can upload the original corpus without removing extra spaces or blank lines for testing the new tokenizer.

from elasticsearch-analysis-vietnamese.

Trey314159 avatar Trey314159 commented on June 23, 2024

@duydo I don't have the original corpus anymore. I just have a script that downloaded the text of 5000 Wikipedia articles.

from elasticsearch-analysis-vietnamese.

duydo avatar duydo commented on June 23, 2024

@Trey314159 Ok, I think the corpus you provided is enough for now, I will crawl more if needed. Thanks.

Btw, I close this issue, it will be fixed in new tokenizer #37

from elasticsearch-analysis-vietnamese.

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.