Semantic analysis method and apparatus, and storage medium
US11366970B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Nov 1, 2019 |
| Grant date | Jun 21, 2022 |
| Priority date | — |
| Expiry date | Dec 2, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N5/04
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A semantic analysis method includes: inputting a word vector of each word in each sample sentence in a dialog flow into an encoder model, to obtain a sentence vector representing semantics of the sample sentence; inputting the sentence vector into a first decoder model corresponding to each context sentence of the sample sentence and a second decoder model corresponding to each word of the sample sentence, to obtain a first identifier corresponding to the context sentence and a second identifier corresponding to the word; obtaining a probability of the first identifier and a probability of the second identifier, and determining a value of a target function; performing parameter training on the encoder model according to the value of the target function; and inputting a word vector of each word in a test sentence into the trained encoder model, to obtain a sentence vector representing semantics of the test sentence.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.