title: Extract clause form sentence
body: <p>I want to extract subordinate clause,main clause,relative clause,restrictive relative clause,non-restrictive relative clause from sentences but I don't know how doing this work. for example:</p>
  
  <p>"I first saw her in Paris, where I lived in the early nineties."<br>
  [main clause][relative clause]</p>
  
  <p>"She held out the hand that was hurt."<br>
  [main clause][restrictive relative clause]</p>
  
  <p>please help me to do this work?</p>