Unlock instant, AI-driven research and patent intelligence for your innovation.

Vocabulary storage management method, device, electronic equipment and storage medium

A technology of storage management and vocabulary, applied in the direction of digital data processing, data processing input/output process, text database query, etc., can solve the problems of high storage space, many query steps, time-consuming query, etc., to reduce storage Space, the effect of reducing storage space

Active Publication Date: 2021-08-03
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the process of storage, a large amount of descriptive information irrelevant to the phrase relationship needs to be stored, for example, node attributes, etc., which occupy a large amount of storage space
Moreover, when the relationship between the phrases is stored in the form of a structure, in the subsequent process of using the input method to input the phrase, more query steps are required, the query is time-consuming, and the efficiency of the phrase query is not high
Therefore, the storage space required to store the relationship between phrases based on the tree storage structure is still high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Vocabulary storage management method, device, electronic equipment and storage medium
  • Vocabulary storage management method, device, electronic equipment and storage medium
  • Vocabulary storage management method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0127] Wherein, when the word frequency and sensitive attributes corresponding to each suffix word are stored in the second vocabulary, as an exemplary implementation, the method may further include: traversing the second vocabulary to obtain the information stored in the second vocabulary The word frequency and sensitive attributes of each suffix word in .

[0128] Wherein, saving the attributes of the suffix words in the second vocabulary in the seventh one-dimensional array may include: according to the order of traversal, storing the word frequency of each suffix word in the eighth one-dimensional array; according to the order of traversal, storing The sensitive attributes of each suffix word are stored in the ninth one-dimensional array.

[0129] In this example, different one-dimensional arrays are used to save the word frequency and sensitive attributes of the suffix words, which can improve the query efficiency of subsequent queries on the word frequency and sensitive ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application proposes a vocabulary storage management method, device, electronic equipment and storage medium. Wherein, the method includes: obtaining a pre-built first vocabulary and a second vocabulary, the first vocabulary and the second vocabulary have prefix words corresponding one to one, and the second vocabulary also includes the suffix words of the prefix words; The attributes of the prefix words in the first vocabulary, the position information of the prefix words in the second vocabulary in the second vocabulary, the number of suffix words corresponding to the prefix words in the second vocabulary, and the prefix words in the second vocabulary The word identifier of the suffix word corresponding to the word, and the attributes of the suffix word in the second vocabulary are respectively stored in a one-dimensional array. As a result, the contents in the first vocabulary and the second vocabulary are saved respectively through a plurality of one-dimensional arrays, which reduces the storage space required for saving the properties of each node in the structure tree, and greatly reduces the cost of storing the input method. The storage space occupied by the vocabulary.

Description

technical field [0001] The present application relates to the field of computer application technology, and in particular to a storage management method for a vocabulary, a storage management method, a device, an electronic device and a storage medium for a vocabulary. Background technique [0002] At present, in order to improve the user's input efficiency, the input method in the terminal device usually provides a phrase recommendation function. For example, after the user enters "Tsinghua" through the input method, the input interface of the input method may recommend "university", "Peking University ", "Tongfang" and so on. [0003] However, there are a large number of combinations between phrases and phrases. For example, in Chinese, there are many combinations between words and words. If all phrases (unary & binary relations) are combined in the terminal Storing it will take up a huge storage space, and how to reduce the storage space occupied by the input method phra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/31G06F16/33G06F3/023
Inventor 沈强
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD