Word vector acquisition method and system, electronic equipment and storage medium
An acquisition method and acquisition system technology, which are applied in the fields of systems, word vector acquisition methods, electronic equipment and storage media, can solve the problems of vectorization, acquisition of word vectors, and large resource consumption, so as to avoid cascading errors, Purpose and advantages Simple and easy to understand, the effect of improving processing power
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] This embodiment provides a method for acquiring word vectors. Please refer to Figure 1 to Figure 2 , figure 1 It is a flowchart of a method for obtaining word vectors according to an embodiment of the application; figure 2 It is a frame diagram of a method for obtaining a word vector according to an embodiment of the present application. As shown in the figure, the method for obtaining a word vector includes the following steps:
[0059] Dictionary building step S1: extract words from the pre-trained word vector model, segment the words into words, and process the words, and use the processed words to form a dictionary;
[0060] Chi-square acquisition step S2: counting the co-occurrence frequency of the word, and calculating the chi-square of the word according to the co-occurrence frequency;
[0061] Word vector calculation step S3: perform weighted calculation on the word chi-square to obtain a word vector.
[0062] In an embodiment, the dictionary building step...
Embodiment 2
[0102] Please refer to Figure 3 to Figure 4 , image 3 is a device frame diagram for obtaining word vectors according to an embodiment of the present application; Figure 4 It is a schematic structural diagram of the word vector acquisition system of the present invention. Such as Figure 3 to Figure 4 As shown, the inventive word vector acquisition system is applicable to the above-mentioned word vector acquisition method, and the word vector acquisition system includes:
[0103] Dictionary building unit 51: extract words from the pre-trained word vector model, segment the words into characters, and after processing the words, use the processed words to form a dictionary;
[0104] Chi-square acquisition unit 52: count the co-occurrence frequency of the word, and calculate the chi-square of the word according to the co-occurrence frequency;
[0105] Word vector calculation unit 53: perform weighted calculation on the word card to obtain a word vector.
[0106] In an embo...
Embodiment 3
[0115] combine Figure 5 As shown, this embodiment discloses a specific implementation manner of an electronic device. The electronic device may include a processor 81 and a memory 82 storing computer program instructions.
[0116] Specifically, the processor 81 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.
[0117] Among them, the memory 82 may include mass storage for data or instructions. For example without limitation, the memory 82 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (SolidState Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or universal serial bus (Universal Serial Bus, referred to as USB) drive or a combination of two or more of the above. Storage 82 may comprise removable or n...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - 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



