Identify the syntactic categories of the words in the following sentences first. Then draw a tree diagram for each of them.
The philosophers visited the linguists.
subject: The philosophers; predicate: visited; object: the linguists
The philosophers complained about the linguists.
subject: The philosophers; predicate: complained about; object: the linguists