Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One line dict comprehension solution in Clear category for Popular Words by WreakHavoc
import re
popular_words = lambda text, words: {word: len(re.findall(rf'\b{word}\b', text, re.IGNORECASE)) for word in words}
Aug. 22, 2020