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.