Sentence type recognition method and apparatus, electronic device, and storage medium
Abstract:
A sentence type recognition method and apparatus, an electronic device, and a storage medium are provided. The method includes: 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; 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; determining the sentence type corresponding to the semantic representation information as a sentence type of the target sentence.
Information query
Patent Agency Ranking
0/0