Emojify- all tests passed but grade 0

Hi,I passed ALL the TESTS for COURSE 5-WEEK 2 -EMOJIFY - however grade IS SHOWING AS 0
Appreciate any help I can get. ERROR IS AS FOLLOWS :

Cell #22. Can’t compile the student’s code. Error: KeyError(‘funny’,)

One of your functions is not using the correct dictionary.
Be sure you’re matching the dictionary and not the words in the sentence.