Same objective as WordAnalysis, except with string and not a .txt file