Skip to main content

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.

screenshot of card builder window

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


Download files

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

Source Distribution

plover_cards-0.2.1.post1.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

plover_cards-0.2.1.post1-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file plover_cards-0.2.1.post1.tar.gz.

File metadata

  • Download URL: plover_cards-0.2.1.post1.tar.gz
  • Upload date:
  • Size: 43.1 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

Hashes for plover_cards-0.2.1.post1.tar.gz
Algorithm Hash digest
SHA256 15586a410423adf6560764c2dec4b22cdb29e558936d65c18ce11f1043e8e255
MD5 14fa797b4f0358ce6a43d196db9cc75b
BLAKE2b-256 d4ec139b174d3fe9b41a662ea3141a9d27c532094d9da548a6946d3a9f2584ff

See more details on using hashes here.

File details

Details for the file plover_cards-0.2.1.post1-py3-none-any.whl.

File metadata

  • Download URL: plover_cards-0.2.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 35.8 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

Hashes for plover_cards-0.2.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 c57c96963551e0f4be629716425e85e1e629144555b9c72553be62bcf5cd64a1
MD5 7e4f5112b8ffb8dfbe70ee1322cab60e
BLAKE2b-256 82da6aec50b76d5a8c0db4c6056f173d1fcb90e603bb0c0d77f7ded708efe959

See more details on using hashes here.

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