f(x) assigns higher values to words that are closely related to animals, positive emotions, and less commonly used or more unusual words.