Is a utility to examine layouts for ErgoDox keyboard.
❯ .\edLayout.exe -i .\samples -l .\layouts\qwerty.json -sp false -o .\publish\edLayout\results.csv
Usage:
edLayout [options]
Options:
-i, --input <input> Path to a directory with sampling texts.
-p, --pattern <pattern> Pattern to filter sampling files. [default: *.txt]
-l, --layout <layout> Path to a layout file.
-o, --output <output> Path to the output file.
-sp, --show-progress [default: True]
-d, --detailed Show sample texts statistics.
--version Show version information
-?, -h, --help Show help and usage information
More details you can find here.
A utility that helps to minify sampling texts without loosing statistical characteristic's of digraphs.
In case when you have a lot of texts for some algorithm, you can save some time running it on smaller version of those texts that have same quality.
edText.exe .\samples 0.01 .\results 4
.\samples
path to a folder with original texts. It should betxt
files.0.01
target precision..\results
output folder.4
defines the way how to split the set of lines in the algorithm.
- Load all texts.
- Shuffle the current set of lines.
- If shuffled 10 times already, save text and exit.
- Split into 2 parts using the last input parameter.
- Calculate a score for both parts.
- If both bad according the chosen precision, go to 2.
- Get the best part.
- Go to 3.