Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kkdd-ddkk/py-drill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Small handy language drilling tool inspired by org-drill

Usage

First make a csv-style with combinations, for example:

I live in Granada.;Yo vivo en Granada
I live in Granada, {a city}.;Yo vivo en Granada, {una ciudad}
I live in Granada, a city {that has monuments}.;Yo vivo en Granada, una ciudad {que tiene monumentos}
I live in Granada, a city that has {very important} monuments.;Yo vivo en Granada, una ciudad que tiene monumentos {muy importantes}

Combinations may have an increasing complexity, to softly walk you through a difficult grammar structure.

Then call the py-drill:

py-drill.py   mi-casa.csv

It will walk you sequentially though the CSV lines, higlighting the words inside braces with color, showing the first csv column element first, and then if you hit enter - the second one.

Example

image

press enter

image

Features

  • No statistics is collected
  • Input - a csv format
  • Сan highlight words by using curly braces like this {highlight me}.

Controls:

  • Arrow keys - go to the next/previous phrase
  • q - quit, as well as ctrl+c, ctrl+d, ctrl+q or ctrl+z
  • j - jump to a random phrase
  • enter - show translation, move to the next phrase
  • backspace - hide the translation

To register a new extension handler in Windows

As administrator:

assoc .pydrill=Python.Drill

ftype Python.Drill="C:\Windows\py.exe" -3  path\to\py-drill.py  %1 %2

About

Free interpretation of emacs org-drill, mainly for language learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages