CPC G06F 40/30 (2020.01) | 20 Claims |
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.
|