def word_count(phrase):
	clean_phrase = ''

	for c in phrase:
		if c.isalnum():
			clean_phrase += c.lower()
		elif c == ' ' or c == '\'':
			clean_phrase += c
		else:
			clean_phrase += ' '

	splitted_phrase = clean_phrase.split()

	result = {}

	for word in splitted_phrase:
		strippedWord = word.strip("'")
		if strippedWord in result:
			result[strippedWord] += 1
		else:
			result[strippedWord] = 1

	return result

6f4d7e940ead6ba47cadc9990482ae5c5daa0589
<mask token>

def word_count(phrase):
    clean_phrase = ''
    for c in phrase:
        if c.isalnum():
            clean_phrase += c.lower()
        elif c == ' ' or c == "'":
            clean_phrase += c
        else:
            clean_phrase += ' '
    splitted_phrase = clean_phrase.split()
    result = {}
    for word in splitted_phrase:
        strippedWord = word.strip("'")
        if strippedWord in result:
            result[strippedWord] += 1
        else:
            result[strippedWord] = 1
    return result

def word_count(phrase):
	clean_phrase = ''

	for c in phrase:
		if c.isalnum():
			clean_phrase += c.lower()
		elif c == ' ' or c == '\'':
			clean_phrase += c
		else:
			clean_phrase += ' '

	splitted_phrase = clean_phrase.split()

	result = {}

	for word in splitted_phrase:
		strippedWord = word.strip("'")
		if strippedWord in result:
			result[strippedWord] += 1
		else:
			result[strippedWord] = 1

	return result
