The function f(x) appears to evaluate the association strength of input words with the concept of politics and social sciences. Words that have a strong connection to these concepts receive higher output values (closer to 1), indicating a higher selectivity for these concepts.