The function f(x) seems to be selective for words associated with emotions or interpersonal relationships, assigning higher values to words like love, respect, and confidence while giving lower values to most other word categories.