Skip to content

Python CLI script for reviewing foreign language vocab.

License

Notifications You must be signed in to change notification settings

jeffrimko/ReviewVocab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReviewVocab

Demo

Introduction

This a Python CLI script for reviewing foreign language vocab.

Requirements

Python 3.6+ is required. Additional third-party libraries are required and can be installed using the following command: pip install -r requirements.txt

Usage

A set of vocab files are required. Example English/Italian vocab files are provided in ItalianVocab.

Vocab files are formatted as follows:

  • Vocab files use the .txt extension.
  • Each line is a single vocab entry.
  • Vocab entry lines use the format: <lang1>;<lang2>
    • Example: hello;ciao
  • Equivalent individual words are separated with a |.
    • Example: the cloud;la nuvola|nube
  • Equivalent translations are separated with a /.
    • Example: the car;l'auto/la macchina
  • Append additional info in parenthesis.
    • Example: hello (formal);buongiorno
  • Literal translations are shown in parenthesis prefixed with lit:
    • Example: good luck (lit: in the mouth of the wolf);in bocca al lupo

The config.yaml file top-level path key points to the location of the vocab files. Additional keys are provided for various features of the script:

  • Number of vocab to review.
  • Redo missed answers.
  • Enabling hint characters.
  • Enabling text-to-speech.

Releases

No releases published

Packages

No packages published

Languages