The domain of the function is all words.

Please let me know if you have any other inputs you would like me to test or if you have any further questions about the function.