The function seems to apply this rule consistently across all the words we've tested so far. There doesn't appear to be any part of the domain where the rule does not hold. Therefore, the domain of the function where the rule applies is all words that can be classified into these categories.