Patent attributes
A method for semantic recognition includes: in response to performing semantic analysis on information acquired by a terminal, a sentence to be processed is acquired. Word recognition is performed on the sentence to be processed, to obtain a plurality of words and part-of-speech information thereof. A target set update operation is determined with a pre-trained word processing model, according to a word to be processed in the set of words to be processed and part-of-speech information of the word to be processed. If a dependency relationship corresponding to the target set update operation is a first dependency relationship, through each of the plurality of preset set update operations, a respective dependency relationship of the word to be processed and a respective confidence level corresponding to the dependency relationship is determined, and a respective update of the set of words to be processed is performed.