From 85c03d4d69f6a004e3d166680c6163147fb34470 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Wed, 24 Nov 2021 01:07:04 -0500 Subject: doc changes, minor fix --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index cdf4ad6..db62749 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ There's a WIP Merge Request towards proycon's wvkbd for an example of this. This should be a list of words, sorted by preferability of choice. +### sorting tips + Note: you probably want longest words first, otherewise, it may be impossible to type them. ``` @@ -26,6 +28,15 @@ ls $PATH | awk '{ print length, $0 }' | sort -nr | cut -d" " -f2- > binsSorted.t ``` +Smarter sorting would be keyboard-layout aware. mapscore.py can do that for you + +```sh +./mapScore.py map.txt wordsSorted.txt +``` +map.txt uses tabs and newlines to create the grid-based layout. + +### alternate formats + Alternatively, for performance, you can use a directory with the following format: each file is named with the first and last letters of the contained words. The script `makeDir.sh` is provided to help create these. -- cgit 1.4.1