The function f(x) appears to be selecting for words that are related to leadership or authority. It returns high values for words such as "Walter White", "CEO", "president", and "prime minister", which convey a sense of authority or leadership. It returns lower values for words that are not related to leadership or authority, such as "tennis ball" and "lens".