The function normally applies the rule to words that are locations or origins, but it does not hold for words that are not locations or origins, such as "Tokyo".