US 11,775,769 B2
Sentence type recognition method and apparatus, electronic device, and storage medium
Jiahao Chen, Beijing (CN); Weiping Fu, Beijing (CN); Wenbiao Ding, Beijing (CN); and Zitao Liu, Beijing (CN)
Assigned to BEIJING CENTURY TAL EDUCATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed by BEIJING CENTURY TAL EDUCATION TECHNOLOGY CO., LTD., Beijing (CN)
Filed on Dec. 28, 2022, as Appl. No. 18/147,080.
Application 18/147,080 is a continuation of application No. PCT/CN2021/104353, filed on Jul. 2, 2021.
Claims priority of application No. 202010642759.5 (CN), filed on Jul. 6, 2020.
Prior Publication US 2023/0134101 A1, May 4, 2023
Int. Cl. G06F 40/30 (2020.01)
CPC G06F 40/30 (2020.01) 20 Claims
OG exemplary drawing
 
1. A sentence type recognition method, comprising:
determining a target sentence from a to-be-recognized classroom teaching speech;
segmenting the target sentence into a plurality of words, and processing a word vector of each of the plurality of words, to obtain semantic representation information of the target sentence, wherein the semantic representation information comprises a plurality of pieces of dimension information;
selecting, from a plurality of candidate sentence types, a sentence type corresponding to the semantic representation information; and
determining the sentence type corresponding to the semantic representation information as a sentence type of the target sentence, wherein
the step of selecting, from a plurality of candidate sentence types, a sentence type corresponding to the semantic representation information comprises:
calculating, when the plurality of candidate sentence types comprise only a question and a non-question, an inner product of the plurality of pieces of dimension information and normalizing the inner product, to obtain a probability that the sentence type corresponding to the semantic representation information is the question; and
determining, based on the probability, that the sentence type corresponding to the semantic representation information is the question or the non-question.