Text semantic similarity calculation method, device and user terminal
A technology of semantic similarity and calculation method, which is applied in the field of devices and user terminals, and text semantic similarity calculation method, which can solve the problems of word vector burden and large capacity of word vector, and achieve the effect of reducing the difficulty of storage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0031] like figure 2 A flowchart of a method for calculating text semantic similarity provided by an embodiment of the present invention is shown. See figure 2 , the method includes:
[0032] Step S110: Establish a first character vector matrix according to the first character vector corresponding to each character in the first text, and establish a second character vector matrix according to the second character vector corresponding to each character in the second text.
[0033] For the two texts whose semantic similarity needs to be calculated, they are the first text and the second text, respectively. First, a first character vector matrix corresponding to the first text is established according to the character vector corresponding to each character of the first text, and a character vector matrix corresponding to the second text is established according to the character vector corresponding to each character of the second text.
[0034] Specifically, in this step, as...
no. 2 example
[0079] This embodiment provides an apparatus 200 for calculating text semantic similarity, please refer to Image 6 , the device 200 includes:
[0080] The character vector establishment module 210 is used for establishing the first character vector matrix according to the first character vector corresponding to each character in the first text, and establishing the second character vector matrix according to the second character vector corresponding to each character in the second text; The optimization module 220 is configured to use an artificial neural network algorithm to optimize the first character vector in the first character vector matrix and the second character vector in the second character vector matrix. During the optimization process, the first character vector matrix and all The parameters are shared between the second character vector matrices; the similarity calculation module 230 is used to calculate the semantic similarity between the first text and the se...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com