The function f(x) is selective for words related to fruit. It assigns higher values to words that are fruit and lower values to words that are not fruit.

Please let me know if this description is correct or if you would like me to modify it.