f(x) returns the category or classification of the input word.
