Knowledge graph generation method and system and method and system using knowledge graph generation method and system
According to one embodiment of the invention, the knowledge graph generation method comprises the following steps: a processing device obtains a knowledge file, performs word segmentation and part-of-speech tagging on the knowledge file to generate a plurality of tagged words, obtains a plurality of...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | According to one embodiment of the invention, the knowledge graph generation method comprises the following steps: a processing device obtains a knowledge file, performs word segmentation and part-of-speech tagging on the knowledge file to generate a plurality of tagged words, obtains a plurality of sentences from the tagged words according to a default sentence pattern, each of the sentences comprises a main word, an adverb, a verb and a guest word, the adverb has a corresponding adverb category, and for each of the sentences, executing the following steps: taking the main word as a first entity in a triad, taking the object word as a second entity in the triad, taking the adverb category and the verb as a relationship in the triad, and forming a knowledge graph by the triad corresponding to each of the sentences.
依据本发明一实施例的知识图谱产生方法,包括由处理装置执行:取得知识文件,对知识文件执行断词及词性标记以产生多个标记词,根据默认句型从该些标记词取得多个句子,其中该些句子的每一者包含主词、副词、动词及宾词,且副词具有对应的副词类别,对于该些句子的每一者,执行:将主词作为三元组中的第一实体,将宾词作为三元组中的第二实体,以及以副词类别与动词作为三元组中的关系,以及以该些句子的每一者所对应的三元组 |
---|