, ‘dependentGloss’:‘in’, ‘州长’:6, ‘governorGloss’:‘York’}, {‘dep’:‘ 复合 </跨度> 锟拷’, ‘州长’:6, ‘governorGloss’:‘York’}, {‘dep’:’ 复合 </跨度> 锟斤拷
我认为最终没有人将该输出添加到该注释器的JSON中,我们最终可以做到这一点。
现在我们主要支持的关系提取是新的 kbp 注释。这从TAC-KBP挑战中提取关系。
kbp
你可以在这里找到关系描述: https://tac.nist.gov//2015/KBP/ColdStart/guidelines/TAC_KBP_2015_Slot_Descriptions_V1.0.pdf
这是我运行的示例命令:
java -Xmx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,parse,mention,entitymentions,coref,kbp -file microsoft-example.txt -outputFormat json
如果你看一下JSON,你会看到已经提取了正确的关系。