Question sentence rewriting method and related device
The invention discloses a question rewriting method and a related device. The method comprises the following steps: acquiring a first to-be-rewritten question in current question and answer data and first historical dialogue data corresponding to the first to-be-rewritten question in a multi-round d...
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 a question rewriting method and a related device. The method comprises the following steps: acquiring a first to-be-rewritten question in current question and answer data and first historical dialogue data corresponding to the first to-be-rewritten question in a multi-round dialogue scene; determining an intention feature vector according to the first question to be rewritten; and inputting the first to-be-rewritten question, the first historical dialogue data and the intention feature vector into a pre-trained question rewriting model, rewriting the first to-be-rewritten question, and outputting a rewritten target question. According to the method and the device, the fine granularity of the question intention can be identified when the question is rewritten, so that the rewritten question is matched with the knowledge base, and the accuracy of question rewriting is improved.
本申请公开了一种问句改写方法及相关装置,所述方法包括:在多轮对话场景下获取当前问答数据中的第一待改写问句和所述第一待改写问句对应的第一历史对话数据;根据所述第一待改写问句确定意图特征向量;将所述第一待改写问句、所述第一历史 |
---|