Method and apparatus for selecting answers to idiom fill-in-the-blank questions, and computer device
AssigneePing An Technology (Shenzhen) Co., Ltd.
InventorsXiang Liu, Xiuling Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneePing An Technology (Shenzhen) Co., Ltd.
InventorsXiang Liu, Xiuling Chen
Estimating the term…
Disclosed are a method and apparatus for selecting answers to idiom fill-in-the-blank questions, a computer device, and a storage medium. The method includes: obtaining a question text of idiom fill-in-the-blank questions, the question text including a fill-in-the-blank text and n candidate idioms, and the fill-in-the-blank text including m fill-in-the-blanks to be filled in with the candidate idioms; obtaining an explanatory text of all the candidate idioms; obtaining, through an idiom selection fill-in-the-blank model, a confidence that each fill-in-the-blank is filled in with each candidate idiom; selecting m idioms from the n candidate idioms to form multiple groups of answers; calculating a sum of the confidences that the fill-in-the-blanks are filled in with the candidate idioms in each group of answers; and obtaining a group of answers with the highest confidence sum as answers to the idiom fill-in-the-blank questions. The present application implements answers to idiom fill-in-the-blank questions with high accuracy.
A method for selecting answers to idiom fill-in-the-blank questions, comprising the following steps:
A computer device, comprising a memory and a processor, wherein a computer program is stored in the memory;
A non-transitory computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, a method for selecting answers to idiom fill-in-the-blank questions is implemented, and the method comprises the following steps:
Dependencies are inferred from the claim text.