* Noun: When referring to the quality of being clever and amusing in a person's speech or writing.
* Example: "He was known for his sharp wit."
* Adjective: When describing something as clever and amusing.
* Example: "She gave a witty reply to the insult."
* Verb: When meaning to be clever or amusing, often used in the past tense.
* Example: "He witted the crowd with his jokes."
So, it's best to determine the part of speech based on the context of the sentence.