我正在解决以下问题:我想使用 Stanford CoreNLP 将句子分成子句。例句可能是:
"Richard is working with CoreNLP, but does not really understand what he is doing"
我现在希望将我的句子拆分为单个“S”,如下面的树形图所示:
我希望输出是一个带有单个“S”的列表,如下所示:
['Richard is working with CoreNLP', ', but', 'does not really understand what', 'he is doing']
我会非常感谢任何帮助:)