Finds the lowest hanging fruit in your immersion automatically and adds it straight to your Anki deck.
A tool made for automatic sentence mining to save time for immersion that would be otherwise used up by making flashcards. It uses a text file, where the immersion text would be inserted, and reads it to find 1T sentence cards and uses web scraping to find definitions from online dictionaries. It uses AnkiConnect to automatically put the card into your deck when done. This tool is in the path with Refold, Mia, Migaku.
(https://youtu.be/lAAWfZo-kBQ)
(https://youtu.be/SdCP8D0jFR4?t=150)
- Install Java if you don't have it already
- Clone this repository and unzip the folder
- Set up the path for your .jar file
- Open .bat file on Windows and change [PATH] to the jar's path on your PC. Example:
C:\Users\name\folder\T1SentencesFinder.jar
- Open .command file on Mac and change [PATH] to the jar's path on your Mac. Example
/Users/name/folder/Testing/T1SentencesFinder.jar
If you're unable to run the .command file try wrapping your path with "" (quotes).
- Open .bat file on Windows and change [PATH] to the jar's path on your PC. Example:
- Run the .bat or .command file (you can put it the .bat/.command anywhere; ex: Desktop) (update that file if you change where the folder with .jar's path)
- If it's running without errors, it's time to fill the learnedWords.txt with words you know
- Export your filtered-only-known-words Anki deck as a .txt file (Select your deck and click File->Export and select the first .txt option with only your interested deck) Notice: You can also use MorphMan to export your words from your Anki Deck Database.
- Set it in Excel or Google Sheets
- Make sure to find the row where only the target language word is present (make it without caps or articles)
- Copy the list of words into learnedWords.txt with one word per line. Like this:
- Set the config.txt, don't change the "true" and "false" lines but change the last 3rd and 2nd line. Third last line: name it to your Anki Deck and a
::
if you want to add a subdeck. Second last line: name it to your note type.- While you can download a sample note type designed for the app, you can use your own but make sure it has the following fields (with the exact names, without the commas and quotes): "Sentence", "Focus", "Definitions", "Source". Additionally, I would recommend for the absence of umlauts and accents in your deckname or note type, but if it is absolutely necessary, then use the java unicode for special characters.
- The last line of the config file is the dictionary that you want to use. The first character is either
m
orb
for monolingual and bilingual and the last two characters are the language code:de
for German ores
for Spanish.
- Install the AnkiConnect Anki addon. This addon is required to make automatic cards that will be added straight into your chosen deck after the 1T sentences were found.
- Grab text out of your immersion and copy into corpus.txt
- Run the .bat or .command file
- Open Anki and make sure AnkiConnect is activated.
- The app will ask you for a source of your text, whatever you type here will show up on the card to give you context where you gotten the generated 1T Sentence from.
- After adding, press [enter] and it should start loading.
- After loading, it should say that it has added words that belong in a 1T sentence and is not a known word of yours based on learnedWords.txt.
- This will automatically add the word into a sentence card in your deck as well as update learnedWords.txt.
- It should also give a list of words that does not have a definition from your chosen dictionary but still has a 1T sentence. I recommend to choose "save to file" all the time.
- Now, some unknown words for you with good context (1T sentence) have been added to Anki, go review them!
- When you are in the source dialogue, you can:
- Add
*
at the beginning of your source to skip the loading of text. This will disable the addition of known words in the text not mentioned in learnedWords.txt. - Add
%
at the beginning of your source to enable "Prelecture Plan". The initial characters will be removed and not added to the source.
- Add
Say you want to read a book but your comprehension is below 75%, which is low and not recommended to read through. You can boost your comprehension of the book before reading by studying words that show up frequently in its pages. This feature gives you a list of of 1T, 2T, 3T, and 4T sentences that you will study in Anki before reading so that you are aware of the words. This would make the understanding of the text easier than if you didn't study the text's unknown words prior.
Here, the UI will be in English and in place of ?
there should be unicode arrows for you.
- Monolingual German (DWDS.DE)
Please request your language and whether you want the monolingual or bilingual dictionary support, so that it can be added.
Here you can download a frequency list for various languages to fill your learnedWords.txt and the Note Type that I designed for this app.
- Click here to get various frequency lists.
- Another option for frequency lists.
- Download Sample Anki Notetype (.apkg) You may customize the note type insofar in keeping the 4 required field names.
Please report them in the issues tab.
If you see ?
in random places make sure you have UTF-8 encoding on all the .txt files as well as in Command Prompt or Terminal.
- Set up many dictionaries for many languages
- Create an easier way to import your known words