Method for improving sentence similarity accuracy judgment
A sentence similarity and accuracy technology, applied in the direction of instruments, semantic analysis, text database query, etc., can solve the problems that it is difficult to meet the requirements of users, the similarity cannot be calculated correctly, and the recognition of sentence similarity is low. Improve the similarity comparison, improve the accuracy of similarity judgment, and improve the overall processing effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0039] As shown in the figure, a method for improving the judgment of sentence similarity accuracy, the specific processing steps are as follows:
[0040] 101) Preprocessing step: each word in the English sentence is separated by a space, at this time, the sentence S and the sentence T are expressed as: S(s 1 ,s 2 …s n ) and T(t 1 ,t 2 ...t r ).
[0041] 102) Extraction step: the preprocessed text sentence is obtained by using the trained word model to obtain the word vector of each word in the sentence S and the sentence T, and obtain the position code of each word in the sentence S and the sentence T, and obtain Position encoding vector.
[0042] Such as figure 1As shown, the word model includes an input layer, a hidden layer and an output layer to realize contextual word prediction target words, specifically by defining a set of voca...
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