We then check the verbs and objects of each sentence to see if they match these words.
if a category word or a lexically related word appears as the verb or the object of a sentence, the sentence is classified as a member of that group.