Text representation method and device and computer equipment
A text and representation technology, applied in computing, neural learning methods, instruments, etc., can solve the problems of incomplete expression of sentence meaning, inaccurate representation of current context information, and large ambiguity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] The present invention provides a text representation method, and the text representation method can be used in the fields of natural language processing (Natural Language Processing, NLP for short) such as sentiment analysis, tag recognition, and translation. Such as figure 1 with figure 2 As shown, the steps of the text representation method provided by the present invention include:
[0067] Step S101, receiving input sentence text.
[0068] Step S102, performing a word segmentation operation on the sentence text to obtain a first word vector matrix and a first word vector matrix.
[0069] This embodiment provides a text representation method, which is used to represent the semantic features of the input sentence text. Specifically, a sentence text is input first, and the sentence text may be a text composed of multiple words.
[0070] After receiving the input sentence text, the word segmentation operation is performed on the sentence text, and a word vector mat...
Embodiment 2
[0116] Corresponding to the above text representation method, see Figure 5 , the embodiment of the present invention also provides a text representation apparatus 500 . Such as Figure 5 As shown, the text representation device 500 includes:
[0117] Input module 501, is used for receiving the sentence text of input;
[0118] The word segmentation module 502 performs a word segmentation operation on the sentence text to obtain the first word vector matrix and the first word vector matrix;
[0119] The combination module 503 dynamically combines the first word vector matrix and the first word vector matrix through an attention mechanism to obtain a word information background matrix and a word information background matrix;
[0120] The first splicing module 504 performs matrix splicing of the first word vector matrix and the word information background matrix to obtain a second word vector matrix, and performs matrix splicing of the first word vector matrix and the word in...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com