import re
# Please do not change the below function name and parameters
def count_word_frequency(sentence,token):
return re.split("\W" ,sentence.lower()).count(token.lower())
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter