The domain of the function is all words.

I hope this helps! Let me know if you have any questions or if you would like me to test any additional inputs.