Skip to main content

A simple, effective sentence mining tool.

Project description

Simple Sentence Mining

Simple Sentence Mining (ssmtool) is a program for sentence mining, in which sentences with target vocabulary words are collected and added into a spaced repetition system (SRS) for language learning.

This program monitors your clipboard at all times and when a change is detected, the contents gets copied onto the "Sentence" field. From there, you can double click any word, and the program will send a query to Wiktionary, and display the result on the "Definition" field, while simultaneously filling in the "word" field for you. You may also double click from words in the "Definition" field to get definition, because Wiktionary sometimes simply lists the base forms of inflected words.

Prerequisites:

Name Note
Anki with AnkiConnect Needed for exporting notes
PyQt5 Needed when using pip. Will install automatically.

It has not been thoroughly tested on all platforms, but it should work on Linux, MacOS, and Microsoft Windows, or any platforms supporting Python and PyQt.

Installation

Linux

Install with pip: pip install ssmtool

Windows

Install with pip: pip install ssmtool (Instructions on setting up PIP)

(Standalone version coming soon..)

MacOS

Install with pip: pip install ssmtool

(Standalone version coming soon..)

How to use

  1. Configure it by pressing the "Configure.." button at the bottom. (only once)
  2. Open any website, ebook, or text document.
  3. Select a sentence (or any segment of text)
  4. Copy it to clipboard (Ctrl + C)
  5. Double click on a word in the "Sentence" field to look it up.
  6. If needed, double click on a word in the "Definition" field to look it up.
  7. Click on the "Add note" button. The data will not be cleared, just in case you made a mistake and would like to create another note.

Suggested tools

Service Plugin Note
Netflix Subadub Chrome extension to make subtitles selectable (also copy-able)
Youtube youtube-dl Download videos from youtube (videos can be played locally with subtitles, which are then copy-able with mpv).
mpv mpvacious Automatically copies subtitles to clipboard (which will show up on this tool)

Future plans:

This program is still at an early stage. More features will be added soon.

Current plans include:

  • Tags
  • Audio
  • Other dictionaries
  • Lemmatization step and auto-selecting the most difficult words

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

ssmtool-0.1.5.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

ssmtool-0.1.5-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

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