Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.45 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.45 KB

trainer.py outputs a file with translations and stroke hints in the correct format to be used by Typey Type's custom lesson tool. Argument help generated by the program is shown below.

       [-h] [-n N] [--min {1,2,3,4,5}] [--max {1,2,3,4,5,6}] [--simple-only | --full-only] [--no-simple-have]
       [--no-past] [--no-suffix-word] [--no-full-structure] [--no-full-middle]

options:
  -h, --help           show this help message and exit
  -n N, --lines N      Number of lesson entries to generate, from 1 to 100, default 20.
  --min {1,2,3,4,5}    Minimum number of keys in the base ender for each phrase.
  --max {1,2,3,4,5,6}  Maximum number of keys in the base ender for each phrase.
  --simple-only        Only generate simple form phrases.
  --full-only          Only generate full form phrases.
  --no-simple-have     Don't allow the F key in simple form. Doesn't affect the ender 'T'.
  --no-past            Don't allow past tense in phrases.
  --no-suffix-word     Don't allow suffix words in phrases.
  --no-full-structure  Don't allow E, U, or F in full form phrases.
  --no-full-middle     Don't allow A, O, or * in full form phrases.

TODO:

  • dynamically parse available enders from jp.ENDERS like other lists instead of using a manually crafted LUT
  • add more robust test suite