Matching words from input text with words in dictionary.