Entity relationship extraction method and device, equipment and storage medium
The embodiment of the invention provides an entity relationship extraction method and device, equipment and a storage medium, and the method comprises the steps: obtaining a sentence text from a preset corpus; performing word segmentation processing on the sentence text to obtain a sentence text seq...
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: | The embodiment of the invention provides an entity relationship extraction method and device, equipment and a storage medium, and the method comprises the steps: obtaining a sentence text from a preset corpus; performing word segmentation processing on the sentence text to obtain a sentence text sequence; constructing a two-dimensional matrix according to the sentence text sequence and a preset potential relation data set sequence; rows of the two-dimensional matrix correspond to the characters in the sentence text sequence and the relation in the relation data set sequence, and columns of the two-dimensional matrix correspond to the characters in the sentence text sequence and the relation in the relation data set sequence; obtaining a subject-object two-tuple according to the two-dimensional matrix; based on a preset machine learning model, obtaining a subject-relation two-tuple and a relation-object two-tuple according to the two-dimensional matrix; and obtaining an entity relationship triple according to |
---|