Added a fallback onto GenerateWordFromSentence to search in the whole key instead of only firs the first word if no match could be found in the first words.