0

I have been looking for a way to take a sentence and split it into clauses. So far I have found this example online: How to split an NLP parse tree to clauses (independent and subordinate)?

However, the parse tree is given in this example. How can I create one for any sentence? I would like to find out how to create the parse tree that is used for the solution's input in Python.

harbar
  • 13
  • 4

1 Answers1

0

You can use nltk, spacy, stanza to perform this task.

ygorg
  • 750
  • 3
  • 11