What are the best ways to identify clauses in a sentence? I would like to not only extract clauses from a sentence but also identify the type of clause it is. i.e. dependent or independent clause.
A clause is grammatically defined as the part of the sentence having a subject and predicate. For example consider the sentence:
"In fact, the last time he tried to lose weight, he ended up actually gaining weight."
"He tried to lose weight" is a dependent clause while,
"He ended up actually gaining weight" is an independent clause.
I have come across some results from CONLL but these are pretty old (2001), so I was wondering whether anyone has an idea to some better work done on this subject.