change query to like predicate
add code to error check getWordId function
add code in getWordId to always take lowercase version of word
add code to reset prediction algorithm on clear