The function applies its rule to all input words, except for proper nouns, which are returned as is.

I hope this description helps! Let me know if you have any other questions or if there is anything else I can help with.