I am working on the following problem: I would like to split sentences into subsentences using Stanford CoreNLP. The example sentence could be:
"Richard is working with CoreNLP, but does not really understand what he is doing"
I would now like my sentence to be split into single "S" as shown in the tree diagram below:
I would like the output to be a list with the single "S" as follows:
['Richard is working with CoreNLP', ', but', 'does not really understand what', 'he is doing']
I would be really thankful for any help :)