The function f(x) takes a word as input and returns a string that represents the category or type of word it is.
