Simple utility to turn swipes into words -- "plugin" for wvkbd to enable swipe-typing under wayland SXMO.
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
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 <words.txt | sort -nr | cut -f2 > 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.