Text data enhancement method and device and electronic equipment
A text data and text technology, which is applied in electronic digital data processing, special data processing applications, instruments, etc., can solve the problem of low semantic accuracy of text data enhancement.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] The implementation environment of the present invention may be an electronic device, such as a smart phone, a tablet computer, or a desktop computer.
[0055] figure 1 It is a structural schematic diagram of a device disclosed in an embodiment of the present invention. The apparatus 100 may be the above-mentioned electronic equipment. like figure 1 As shown, apparatus 100 may include one or more of the following components: processing component 102 , memory 104 , power component 106 , multimedia component 108 , audio component 110 , sensor component 114 , and communication component 116 .
[0056] The processing component 102 generally controls the overall operations of the device 100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations, among others. The processing component 102 may include one or more processors 118 to execute instructions to complete all or part of the steps of the methods descr...
Embodiment 2
[0065] see figure 2 , figure 2 It is a schematic flowchart of a text data enhancement method disclosed in an embodiment of the present invention. like figure 2 As shown, the text data enhancement method may include the following steps:
[0066] 201. Acquire the original text.
[0067] 202. Perform word segmentation processing on the original text to obtain several candidate words.
[0068] 203. For the target candidate word, based on the context information of the target candidate word, use the bidirectional long-short-term memory network model to obtain N replacement words from the preset dictionary.
[0069] In the embodiment of the present invention, the target candidate word is any one of the above-mentioned candidate words, and the semantic label corresponding to each of the N replacement words matches the semantic label corresponding to the original text; N is a positive integer, and The value of N can be configured by itself, and is not specifically limited.
...
Embodiment 3
[0076] see image 3 , image 3 It is a schematic flowchart of another text data enhancement method disclosed in the embodiment of the present invention. like image 3 As shown, the text data enhancement method may include the following steps:
[0077] 301. Acquire the original text.
[0078] 302. Perform word segmentation processing on the original text to obtain several candidate words.
[0079] 303. For the target candidate word, based on the word order information of the original text, forward-encode the context information of the target candidate word from left to right to obtain forward-encoded information.
[0080]304. Perform backward coding on the context information of the target candidate word from right to left, to obtain backward coding information.
[0081] In the embodiment of the present invention, the way of forward coding the context information of the target candidate words is mainly: forward numbering of the candidate words included in the context infor...
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