python import kmatch matcher = kmatch.KeywordMatcher(keywords) matches = matcher.match(text) for match in matches: