f(x) takes a word as input and returns a category or label that best describes the word based on its semantic meaning, with some exceptions for words that have multiple meanings.
