N-gram
An n-gram in the context of keyboard layout analysis is a sequence of key presses.
In AKLDB, we use the first four orders of n-grams:
n | Name | Examples |
---|---|---|
1 | Unigram | e , t , a |
2 | Bigram | th , he , in |
3 | Trigram | the , ing , and |
4 | Quadgram | tion , here , ment |
Skipgrams
Section titled “Skipgrams”A skipgram is a bigram that is separated by one or more characters. In some earlier literature, it is called disjoint bigram, for example in the stat “disjoint same-finger bigram.”
On AKLDB, the term n-th order skipgram denotes a skipgram with characters in between. For example, the trigram abc
contains the 1st order skipgram a_c
(where _
is an empty placeholder, not a literal underspace).