update analyser to compare sentences with Levenshtein algo instead of only word matching