Scott D. Weitzenhoffer
February 21, 2018
One embellishment beyond the base requirements is current-word prediction: If the last character of the input is not a space, the last word (fragment) is split from the input. The preceding input is used to generate predictions, which are then filtered to just those starting with the next-word starting fragment.
accuracy01 accuracy05 accuracy11 accuracy15
1 0.09703835 0.3465964 0.1283994 0.4569995
2 0.12813458 0.2870843 0.3178591 0.6354451
3 0.14035425 0.2767616 0.5588697 0.7802198
4 0.15504950 0.2964356 0.6608187 0.8128655
In the table above, row number is the size of the input X in words, and:
Visit the YAP™ app at https://sweitzen.shinyapps.io/yap-tm/.
All code supporting this project is available on GitHub at https://github.com/sweitzen/yap-tm.
Visit the author on LinkedIn.