Invention Grant
- Patent Title: Semantic analysis method and apparatus, and storage medium
-
Application No.: US16672121Application Date: 2019-11-01
-
Publication No.: US11366970B2Publication Date: 2022-06-21
- Inventor: Yanan Lu , Rongyu Cao , Fen Lin
- Applicant: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Anova Law Group, PLLC
- Priority: CN201710936211.X 20171010
- Main IPC: G06F40/30
- IPC: G06F40/30 ; G06F17/16 ; G06K9/62 ; G06N3/08

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.
Public/Granted literature
- US20200065389A1 SEMANTIC ANALYSIS METHOD AND APPARATUS, AND STORAGE MEDIUM Public/Granted day:2020-02-27
Information query