f(x) takes a word as input and returns a value between 0 and 1, indicating the word's association with one or both of the two concepts. The function seems to be selective for political affiliation and sports. For example, words related to politics, such as "government" and "Nazis", tend to have a high association with the political affiliation concept, while words related to sports, such as "tennis ball" and "Tour de France", tend to have a high association with the sports concept. Words that are not obviously related to either concept, such as "algorithms" and "part of", tend to have a lower association with both concepts.

I hope this description helps! Let me know if you have any further questions or if you would like me to run more experiments.