Skip to content

Shellingo - a command line vocabulary practice tool

Notifications You must be signed in to change notification settings

tlvlp/shellingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shellingo

A simple language-agnostic command line tool for custom vocabulary practice. (Without the constant harassment of the Duolingo owl)

This is the Rust version of the original java-based project, because why not.

How to use

  1. Download the latest release for your OS
  2. Create a subfolder named questions next to the executable. This is the configurable default path to store your questions in.
  3. Add questions (see the 'How to' section below)
  4. Run the tool with:
./shellingo

Note: The app also takes a single argument that overrides the default path. This could be either a parent folder or an exact file.

./shellingo mypath/my_parent_folder
./shellingo mypath/my_parent_folder/selected_file.txt

How to add vocabularies/questions

Shellingo will read all files in the questions directory and all its subdirectories next to the jar file. This allows organizing questions into separate text files and folders and moving them in and out of the questions folder to change the practice materials. Make sure not to mix languages, or if you do indicate the language in each question :) All the questions will be presented in a random order. Each word will be repeated until a correct solution is given.

  • Create a text file and add one word/question per row and provide the expected answer, separated with a pipe | character.
  • You can also add comments with the hash # character. These lines will be ignored during the practice.
  • Both questions and answers will be formatted to remove leading, trailing and duplicate white spaces and punctuation
  • Letter casing will be ignored during the practice
# These are the number 0-5 from the first Polish lesson
1|jeden
2|dwa
3|trzy
4|cztery
5|pięć
# More complex sentences with exotic white space use that will be corrected

the elephant   likes  milk |  słoń  lubi  mleko

# will be presented as:
# the elephant likes milk: słoń lubi mleko
```A command line vocabulary practice tool that

About

Shellingo - a command line vocabulary practice tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages