Sentence

I want to extract a subordinated sentence, a basic sentence, a relative sentence, a restrictive relative sentence, not limiting the relative sentence from the sentences, but I do not know how to do it. eg:

"I first saw her in Paris, where I lived in the early nineties."
[main sentence] [relative sentence]

"She held out her hand, which suffered."
[main sentence] [restrictive relative sentence]

please help me do this work?

+4
source share
1 answer

You should be able to extract this information (with reasonable accuracy) using parsing. There are a number of implementations listed here . To this list, I would add my own, available for download here . t is faster than any other high-precision parser, and is documented quite well (for study code).

+3
source

All Articles