Helps build a CSV of new words and stroke improvements for your Anki deck.
Project description
plover_cards
A Plover plugin which helps you make cards for flashcard programs like Anki.
Table of Contents
Setup
- Enable "plover_cards_hook"
- Right click the Plover icon, "Configure", "Plugins" tab, check the box next to "plover_cards_hook", "Apply"
For Anki integration:
- Install the AnkiConnect plugin for Anki. You may need to restart Anki for the plugin to take effect
Plover Cards Hook
This part of the plugin listens to what you write and records the suggestions (you don't need to have the suggestion window open). It'll keep a count of how many times you use a stroke so you can focus on only the words you use often (or least often). Unlike the suggestions window, it'll also record suggestions for command, prefix and suffix strokes if you use them.
The data is stored in {your_plover_config_folder}/plover_cards/card_suggestions.pickle
. This gets saved when you disable the extension, quit Plover and every 5 minutes.
Card Builder
This is where you can look at the suggestions and choose which ones to make into flashcards.
Usage
Anki Integration
- Make sure Anki is running in the background
Opening
- (from the menu) Right click the Plover icon, "Tools", "Card Builder"
- (from the gui) Click "Card Builder" icon in the top bar of the main Plover window
Settings
Option | What it's used for |
---|---|
Use Ignore File | Whether to keep a file for words to ignore |
Ignore File | Path to the ignore file, which is a text file with each word/phrase to ignore on a new line |
Compare to Anki | Whether to find words/phrases to ignore from existing Anki cards |
Query | Which cards to look at, for example deck:Plover and note:Steno . The syntax is the same as in the Anki browser. |
Compare Field | Which field in the card to look at, for example "Translation" or "Front" |
Output to CSV | Whether to output to CSV, which can be imported into Anki or other programs like Excel |
Output File | Path to the output file, which is a CSV of Translation,Strokes |
Write Method | Whether to append or overwrite the output file |
Add to Anki | Whether to add cards to Anki at the end |
Deck | Which deck to add to |
Note Type | What type of note to add |
Translation Field | Which field to put the translation in |
Strokes Field | Which field to put the strokes in |
Tags | Space separated list of tags to add to the new cards |
These options are saved in {your_plover_config_folder}/plover_cards.cfg
.
Build Cards
Card list
You can click on any of the following columns to sort by that column. Click again to change the sort order.
You can hide columns by right clicking the header and selecting/deselecting columns.
You can change the column size by dragging the edges of the column title.
- Count: The number of times you typed this word and/or the number of times it was suggested to you
- Count (shorter): The number of times the program found a shorter suggestion for what you typed
- Last Used: The date and time you last used this word
- Translation: The word or phrase on the front of the Anki card
- Stroke: The stroke on the back of the Anki card
- Similar ignored: Similar words that are either already in the Anki deck or have been added to the ignore list
Stroke list
Pick which stroke you want on the back of the Anki card here. Alternatively, write your stroke in the box underneath to use something else.
Buttons
- Clear: Clear the chosen stroke. Useful if you want to skip this card, since by default it will choose the first stroke in the list
- Ignore: Add this word/phrase to the ignore list. It won't appear next time you use the card builder. This button is unavailable if "Use Ignore File" is not selected
- <: Go to previous card
- >: Go to next card
- Finish: Finish building cards. Depending on your settings, it will output to CSV and/or add cards to anki
ANKI_ADD_CARD Command
You can add dictionary entries to add cards to Anki.
{PLOVER:ANKI_ADD_CARD}
will open up the Anki Add Cards window with the last used word and a list of stroke suggestions.
{PLOVER:ANKI_ADD_CARD:X}
will do the same but for the last X
words.
It will use the same settings as in the "Add to Anki" section in the card builder (deck, note_type, translation_field, strokes_field, tags).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plover_cards-0.2.1.tar.gz
.
File metadata
- Download URL: plover_cards-0.2.1.tar.gz
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6eeafab21dbf7be6dd943b982162ed0b9368ba0d753c8f385f4f152db8b9a9 |
|
MD5 | 9e71545aef72918fc9951692e3c38e09 |
|
BLAKE2b-256 | df3805375240c30141dc8f812d645f906b33a28196e78ee7d01cda76abee22a4 |
File details
Details for the file plover_cards-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: plover_cards-0.2.1-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac04a3242de9e1a7a6a6e7164d8f684bc42f807357e39412dcfd9a09ca0921d |
|
MD5 | 0263d1714f60235cacfb15a189d68e22 |
|
BLAKE2b-256 | f8d82ad0139e64b1c03dccc198554cf75a26e70d1399a79223f17daf5ad8f1a4 |