Initial predictive text code

Added the initial predictive text code.  It still needs a lot of work at
this point, but it is a simple start and an okay proof of concept.