Word vector configuration method and device, storage medium and electronic device
A configuration method and word vector technology, applied in the field of neural networks, can solve problems such as the decrease in the accuracy of training tasks, and achieve the effect of reducing time-consuming and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] This embodiment provides a method for configuring word vectors, which can be applied to mobile terminals, handheld terminals or similar computing devices. Running on different computing devices is only a difference in the execution subject of the solution, and those skilled in the art can foresee that running on different computing devices can produce the same technical effect.
[0025] The method for configuring word vectors provided in this embodiment is to disassemble the words that are not registered in the word vector dictionary, search for the registered word with the closest stroke in the word vector dictionary, and then configure the word vectors of words with similar strokes It is the initial word vector of unregistered words, which solves the technical problem that the accuracy of subsequent training tasks decreases when the word vectors of unregistered words are allocated randomly in related technologies, and uses the semantic information carried in Chinese st...
Embodiment 2
[0063] In this embodiment, a device for configuring word vectors is also provided, which is used to implement the above-mentioned embodiment 1 and its preferred implementation mode. For terms or implementation methods not described in detail in this embodiment, please refer to embodiment 1. Relevant descriptions in , those that have already been explained will not be repeated.
[0064] The term "module" as used below is a combination of software and / or hardware that can realize a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also conceivable.
[0065] figure 2 is a schematic diagram of a device for configuring word vectors according to an embodiment of the present invention, such as figure 2 As shown, the device includes: a first determination module 10 , a judgment module 20 , a disassembly module 30 , a calculation module ...
Embodiment 3
[0074] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
[0075]In this embodiment, by dismantling the vocabulary that is not registered in the word vector dictionary, searching for the registered word closest to its stroke in the word vector dictionary, and then configuring the word vector of the word with similar strokes as the initial word vector of the unregistered word , which solves the technical problem that the accuracy of subsequent training tasks decreases when the word vectors of unregistered words are allocated randomly in related technologies, and uses the semantic information carried in Chinese strokes to assign initial word vectors to unregistered words, which can Reduce the time-consuming of subsequent training tasks and improve the accuracy of training tasks.
[0076] Optionally, in this ...
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