Skip to main content

A simple, effective sentence mining tool.

Project description

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

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 companion program for language learning with Anki. Its primary function is sentence mining, in which sentences with vocabulary words are collected and added into Anki for long term retention. It aims to help intermediate learners gain vocabulary efficiently by allowing card creation with minimal friction. Possible use cases include sentence mining from videos, texts, asynchronously from ereader highlights, and even completely automatically from books or subtitles. See workflow page for more details.

Screenshots

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. There is also an included 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 epubs with one-click word lookups and Anki export.
  • eReader integration: Batch-convert 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:

  1. Set up a virtual environment python3 -m venv env
  2. pip install -r requirements.txt
  3. 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.

Status

This is currently beta software. You should not expect it to be completely bug-free, but you may expect that:

  • You should not lose data by upgrading to a new release. However, downgrading is not guaranteed to work! When in doubt, back up your data and ask in the chatroom before attempting to downgrade.
    • This does not include your settings, which may need to be reset for a new release. This will be indicated on the release notes.
  • Using the master branch and only upgrading should usually not break things, but this is not guaranteed. You are expected to read commit messages to take proper precaution.
    • Using feature branches may break things!

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vocabsieve-0.12.5.tar.gz (392.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vocabsieve-0.12.5-py3-none-any.whl (412.1 kB view details)

Uploaded Python 3

File details

Details for the file vocabsieve-0.12.5.tar.gz.

File metadata

  • Download URL: vocabsieve-0.12.5.tar.gz
  • Upload date:
  • Size: 392.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for vocabsieve-0.12.5.tar.gz
Algorithm Hash digest
SHA256 7fb8922f67cbf244e05afd1da074f27f0c6cf69e0b022c0c00b36d72d25e765a
MD5 f08184201244b437ab81bf3d236e9774
BLAKE2b-256 dc9f6fd790ec542f1eea7956abe61ca378b36ccf364d281f809e6e6541736769

See more details on using hashes here.

File details

Details for the file vocabsieve-0.12.5-py3-none-any.whl.

File metadata

  • Download URL: vocabsieve-0.12.5-py3-none-any.whl
  • Upload date:
  • Size: 412.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for vocabsieve-0.12.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c55b5f7f95f9d37849a3b4122ff01ea183e828fc01f7bb08c176f1e92373eb
MD5 a72bc18be9a98424a3cb528767e14d2c
BLAKE2b-256 51754ed11b9931bc490d36d95ad57b53b7388708a9cf8e465557c076652945b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page