Using Levenshtein distance algorithm (aka Edit Distance) create a function better match-up passed string against a list of predefined trigger words. What makes this better than a regular search/match this function even takes spelling mistakes into consideration.