我想用standford解析器从一个复杂的句子中提取宾语,主语,谓语,但是主语有dobj,iobj,nsubjpass,我不知道如何使用java编写代码。
您想使用openie
注释器。
java -Xmx14g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,depparse,natlog,openie -file sample-sentence.txt -outputFormat text
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.