Answer generation method and device, equipment and storage medium
The invention discloses an answer generation method and device, equipment and a storage medium. The method comprises the following steps: extracting a target entity in a question; an entity candidate set and an ontology candidate set are determined according to the target entity and the knowledge gr...
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 invention discloses an answer generation method and device, equipment and a storage medium. The method comprises the following steps: extracting a target entity in a question; an entity candidate set and an ontology candidate set are determined according to the target entity and the knowledge graph, the entity candidate set comprises at least one knowledge graph entity, and the ontology candidate set comprises at least one knowledge graph ontology; determining a target answer node from the ontology candidate set through an ontology perception model; generating a candidate path for reaching the target answer node based on the candidate answer node; the candidate paths are scored and sorted, answers to the question sentences are generated according to the candidate path with the highest score, and the answers comprise at least one knowledge graph entity corresponding to the target answer node. According to the technical scheme, the possible candidate paths are determined according to the question sentences |
---|