Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Popular Words by mozurin
def popular_words(text, words):
text_parsed = text.lower().replace('\n', ' ').split(' ')
return {word: text_parsed.count(word) for word in words}
July 6, 2018