Coder Social home page Coder Social logo

tatoeba2anki's Introduction

tatoeba2anki

This is a tool to wrangle raw Tatoeba data into a good quality Anki deck. The purpose of this tool is to allow linguists to quickly and easily create Anki decks that help them learn their target language more efficiently.

Learning a language through sentence pairs is a very effective technique. Many people are used to learning singular words or vocab lists, but the sentence pairs approach is helpful because it allows you to see each word in its semantic and grammatical context. You then start to build up a network of related words in your head, which makes them easier to remember.

Tatoeba (tatoeba.org) is an open source project where linguists build up collections of parallel language sentences. It is a valuable source of language learning data.

Instructions to download a raw dataset from Tatoeba are in this repo's code.

The raw Tatoeba data comes in the form of sentence pairs in the language you want to learn and English. If you are learning from a language other than English, this code will still work, but you may want to change some variable names.

The input is a raw tsv file of sentence pairs from Tatoeba's website. The output is a cleaned csv file which is ready to import from your Desktop straight into the Anki app. The instructions for this final step are included at the end of the Python script.

The four things this code does are:

  • Cleans the data into a format suitable for Anki
  • Drops any duplicate sentences
  • Filters the sentence pairs by words/phrases you want to learn
  • Filters the sentence pairs by their complexity

Each of the above are explained in more detail in the code.

tatoeba2anki's People

Contributors

hprtmn avatar

Stargazers

 avatar

Watchers

 avatar  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.