Answer generation method and device, computer equipment and readable medium
The invention provides an answer generation method and device, computer equipment and a readable medium. The method comprises the steps of identifying whether a to-be-analyzed question belongs to a class question or not by adopting a pre-trained question classifier, and if so, obtaining an answer ca...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
03.01.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides an answer generation method and device, computer equipment and a readable medium. The method comprises the steps of identifying whether a to-be-analyzed question belongs to a class question or not by adopting a pre-trained question classifier, and if so, obtaining an answer category of the question according to the question, an obtained long answer corresponding to the question and the pre-trained question answer pair classifier; and if the answer category is positive or negative, generating a short answer as a target answer of the question according to the answer category and the question. According to the technical scheme, concise and clear short answers can be generated according to whether questions are classified or not, and compared with long answers provided by an existing man-machine conversation system, redundant information in the answers can be reduced, and the accuracy of the answers is enhanced; the answer reading time of the user can be further shortened, and the reading c |
---|---|
Bibliography: | Application Number: CN201910720156 |