Coder Social home page Coder Social logo

tatoeba-indexer's Introduction

Tatoeba Parser / Indexer

This package can parse and index sentences from Tatoeba.

Supported Search Engines

  • MeiliSearch
  • Elasticsearch

How to use

You need to install and run an instance of the desired search engines.

Working with MeiliSearch

Run the following command to index in MeiliSearch:

go run . meilisearch

MeiliSearch accepts the following arguments:

   --api-key          will ask you to enter the API key
   --host             host url (default: 127.0.0.1:7700)
-i --index            index name (default: tatoeba)
-d --download-files   download files needed to index Tatoeba's sentences

Working with Elasticsearch

Run the following command to index in Elasticsearch:

go run . elasticsearch

Elasticsearch accepts the following arguments:

   --host             host url (default: 127.0.0.1:9200)
-w --workers          the number of workers. Maximum [your maximum workers available will be printed here] (default: 2)
-b --flush-bytes      the flush threshold in bytes (default: 1000000)
-i --index            index name (default: tatoeba)
-d --download-files   download files needed to index Tatoeba's sentences

Roadmap

  • Add tests
  • Add tags
  • Some sentences are not indexed on MeiliSearch, find what's happening
  • Adding the search engine Elasticsearch

Why this project

I planned to build a desktop application with Flutter and use the index built with this project.
Obviously, the application will be open source on Github as well as this one. Feel free to contribute, it will be a pleasure to work with everyone :)

As soon as I have a beginning of application, I will link the project repository here! Stay tuned!

Buy me a coffee

If you like this project, it is much appreciated :)

Buy Me A Coffee

tatoeba-indexer's People

Contributors

cronos87 avatar

Watchers

 avatar

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.