For classifying humor in texts, it is important to understand the semantics of the sentence.
we took a three word window as a feature to train our classification models to incorporate the contextual information.