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

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReviewVocab

Introduction

This a Python CLI script for reviewing foreign language vocab.

Status

This project was refactored in December 2024 and is not compatible with previous versions.

Requirements

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

Usage

Run the _Review_Vocab.py to show the main menu. A config file can be provided as an argument otherwise config.yaml will be used by default.

The config file has configuration for "providers" and "modes". Providers are code objects that provide vocab review items for the modes. Modes are interactive ways to review vocab.

For file providers, 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 extra 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

About

Python CLI script for reviewing foreign language vocab.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages