Automatic questioning and answering processing method and automatic questioning and answering system

  • US 11,086,912 B2
  • Filed: 04/17/2019
  • Issued: 08/10/2021
  • Est. Priority Date: 03/03/2017
  • Status: Active Grant
First Claim
Patent Images

1. An automatic question-answer (QA) processing method performed at a computing device having one or more processors and memory storing a plurality of programs to be executed by the one or more processors, the method comprising:

  • obtaining, after receiving a target question text, a target keyword corresponding to the target question text;

    determining candidate question texts that match the target keyword by (i) identifying question texts in a pre-collected QA data pair using a pre-established inverse index relationship between the target keyword and the question texts, each question text having an associated answer and a weight value corresponding to the target keyword, and (ii) selecting top N of the question texts according to their associated weight values as the candidate question texts, that match the target keyword, wherein N is greater than 1;

    calculating a semantic similarity value between each of the candidate question texts and the target question text;

    determining, from the pre-collected QA data pair, an answer associated with one of the candidate question texts corresponding to the target question text having a highest semantic similarity value, andbefore obtaining a target keyword corresponding to the target question text;

    obtaining a question text from the pre-collected QA data pair;

    obtaining a keyword corresponding to the question text; and

    establishing an index relationship between the keyword and the question text; and

    the operation of determining a candidate question text that is in a pre-collected QA data pair and that matches the target keyword comprises;

    determining, in the established index relationship between the keyword and the question text, a first keyword that matches the target keyword, obtaining a question text that has an index relationship with the first keyword, and using the question text as a candidate question text of the target question text.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×