Skip to content

Simple sentence mining tool for language learning

License

Notifications You must be signed in to change notification settings

PIPPOHSIOS/vocabsieve

 
 

Repository files navigation

VocabSieve - Anki companion for language learning

https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva?svg=true https://img.shields.io/pypi/v/vocabsieve.svg

Manual

New manual, most up to date

Old wiki, deprecated, but has a few more pages for the time being

Support

Note: All chat rooms are bridged/mirrored. You won't miss out on anything by choosing one over the other. We recommend you use Matrix if possible.

Platform Address Notes
Matrix (Recommended) #general:freelanguagetools.org Requires a Matrix account on any homeserver. A list of homeservers can be found here
Telegram https://t.me/fltchat
Discord (proprietary) https://discord.gg/DNSsTtHRxz

VocabSieve is a program for language learning with Anki. Its primary use is sentence mining, in which sentences with target vocabulary words are collected and added into Anki. It is meant to help intermediate learners gain vocabulary efficiently by allowing card creation without interrupting the flow of content immersion. It can also import notes from ereaders (Kindle and ereaders running KOReader), so you can effortlessly make cards with minimal interruption to your reading.

Screenshots

out.gif out.gif 20230220-163240.png

Features

  • Quick word lookups and card creation: Getting definition, pronunciation, and frequency within one or two keypresses/clicks. Only one more click is needed to save the sentence, word, definition and pronunciation as an Anki card.
  • Wide language support: Supports all languages listed on Google Translate, though it is currently optimized for European languages. Spanish, German, English, and Russian are routinely tested, but all other languages with a similar morphology should work well.
  • Lemmatization: Automatically remove inflections to enhance dictionary experience (books -> book, ran -> run). This works well for most European languages.
  • Local-first: No internet is required if you use downloaded resources. VocabSieve has no central server, so there are no fees to keep it running, so you will never have to pay a subscription.
  • Sane defaults: Little configuration is needed other than settings for the Anki deck. It comes with two dictionary sources by default for most languages and one pronunciation source that should cover most needs. It comes with a working note type, saving you the effort of finding an appropriate one and/or styling it if you don't want to.
  • Local resource support: Dictionaries in StarDict, Migaku, plain JSON, MDX, Lingvo (.dsl), CSV; frequency lists; and audio libraries. Cognates data can also be imported for more accurate vocabulary tracking.
  • Web reader: Read epub, fb2 books, or plain articles with one-click word lookups and Anki export.
  • eReader integration: Batch-import KOReader and Kindle highlights to Anki sentence cards to build vocabulary efficiently without interrupting your reading.
  • Vocabulary tracking: Track your learning progress effortlessly when you look up (including from ereader), review your Anki cards, or immerse. The data never leaves your computer, and can easily be exported for your own use.
  • Book analysis: Not sure what to read? Once VocabSieve gets enough data of what words you know, it can quickly scan books and predict your level of understanding to help you choose books.

Tutorials

Manual (The text originally on the wiki or this document or the blog post has since been moved there, with some updates.)

New video tutorial

Windows and Mac users: If you want to install this program, go to Releases and from the latest release, download the appropriate file for your operating system.

For a nightly build, please check the CI artifacts page. These are not considered ready for release and likely contain bugs. It is recommended to use the debug version to get more details when things go wrong.

Linux distro packages

Packaging status

Development

To run from source, simply use pip3 install -r requirements.txt and then python3 vocabsieve.py.

For debugging purposes, set the environmental variable VOCABSIEVE_DEBUG to any value. This will create a separate profile (settings and databases for records and dictionaries) so you may perform tests without affecting your normal profile. For each different value of VOCABSIEVE_DEBUG, a separate profile is generated. This can be any number or string.

Pull requests are welcome! If you want to implement a significant feature, be sure to first ask by creating an issue so that no effort is wasted on doing the same work twice.

Feedback

You are welcome to report bugs, suggest features/enhancements, or ask for clarifications by opening a GitHub issue.

Donations

If you appreciate this tool, consider making a donation to the Free Software Foundation or the Electronic Frontier Foundation to protect our digital future and defend our freedom. Do your part to refuse to pay for DRM'd content and devices.

Credits

The definitions provided by the program by default come from English Wiktionary, without which this program would never have been created. LingvaTranslate is used to obtain Google Translate results. Fоrvо scraping code is inspired by this repository. Lemmatization capabilities come from simplemma and pymorphy3.

App icon is made from icons by Freepik available on Flaticon.

About

Simple sentence mining tool for language learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.3%
  • HTML 2.6%
  • Shell 0.1%