summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-10-11 01:02:54 -0400
committerZach DeCook <zachdecook@librem.one>2021-10-11 01:02:54 -0400
commit7c22f7a4006e2cf154a301529aa8b93fce42f735 (patch)
tree284fcf204a8d89a72605026ceca7c99d0daa306e /README.md
parent7187e808624ad954ff44d24062d3255f245340d6 (diff)
downloadswipeGuess-7c22f7a4006e2cf154a301529aa8b93fce42f735.tar.gz
readmee: describe program
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d0fa44b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,27 @@
+# swipeGuess
+
+swipeGuess is a completion program intended to be used as a plugin for touchscreen-keyboards on mobile devices.
+
+For each line input from stdin, it looks through a wordlist and outputs the first possible match for that gesture.
+
+it's run like `input-program | swipeGuess.sh wordlist | output-program`
+
+## input-program
+
+more on this later...
+
+## wordlist
+
+This should be a list of words, sorted by preferability of choice.
+
+Note: you probably want longest words first, otherewise, it may be impossible to type them.
+
+```
+# Good autocompletion for terminal
+ls $PATH | awk '{ print length, $0 }' | sort -nr | cut -d" " -f2- > binsSorted.txt
+
+```
+
+## output-program
+
+* `completelyTypeWord.sh` (included in this repository) will type the characters (besides the first character) using wtype.