首页>
外国专利>
KNOWLEDGE GRAPH-BASED QUESTION AND ANSWER METHOD AND APPARATUS, AND STORAGE MEDIUM
KNOWLEDGE GRAPH-BASED QUESTION AND ANSWER METHOD AND APPARATUS, AND STORAGE MEDIUM
展开▼
机译:基于知识图形的问答方法和装置,以及存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
A knowledge graph-based question and answer method and apparatus, and a storage medium, the method comprising: acquiring a question and answer sentence inputted by a user, performing word segmentation on the question and answer sentence and, by means of a trained entity element recognition model and label recognition model, respectively acquiring entity elements in the question and answer sentence and labels corresponding to the entity elements (S10); inputting the entity elements, the labels, and the question and answer sentence into a Bayesian classifier, calculating the degree of matching between preset templates in the Bayesian classifier and the question and answer sentence, and determining the preset template with the highest degree of matching as a query template (S20); inputting the entity elements and the labels into the query template to obtain a corresponding query sentence, and inputting the query sentence into a knowledge graph for querying to obtain a corresponding question and answer result (S30).
展开▼