Emojify - KeyError (‘funny’,)

I am using any_word and get the error [KeyError (‘funny’)], i also check the condition if and i guess it’s okay. Can you help me please?