An experiment and demo-level tool for text information extraction (event-triples extraction), which can be a route to the event chain and topic graph, 基于依存句法与语义角色标注的事件三元组抽取,可用于文本理解如文档主题链,事件线等应用。
.gitignore | ||
README.md | ||
sentence_parser.py | ||
triple_extraction.py |
EventTriplesExtraction
EventTriplesExtraction based on dependency parser and semantic role labeling, 基于依存句法与语义角色标注的事件三元组抽取
使用方式
from triples_extraction import * extractor = TripleExtractor() svos = extractor.triples_main(content1) print('svos', svos)