I am trying to make a desktop app that will find the closest words based on the last word the user has typed. Then I want it to type the rest of the word for the user.