The function applies its rule to words that are proper nouns, such as places, events, and people. It does not apply to common nouns or verbs.

I hope this helps! Let me know if you have any further questions or if you would like me to run additional experiments.