Electronic dictionary work retrieval method based on self-adapting dictionary tree

An adaptive dictionary and electronic dictionary technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem of not supporting binary search back and forth pointer movement, unable to load data into memory for searching, reducing binary search efficiency, etc. problems, to achieve the effect of eliminating useless nodes, reducing space, and ensuring time efficiency

Inactive Publication Date: 2011-09-28
SUN YAT SEN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the dictionary tree retrieval method, the concept of space-for-efficiency is used. Since a complete full n-ary tree structure is used, words can be directly located and hit, but in order to construct a complete dictionary tree, a large number of useless nodes are used, resulting in huge waste of space
[0005] In the binary search based on word prefixes, due to the large difference in the length of word prefixes in general electronic dictionaries, in order to meet the characteristics of the same size of each element in the binary search, the prefix of each word must be extended to the longest The length of the word prefix causes a waste of space, making it impossible to load data into memory for searching in an environment with limited memory, which reduces the efficiency of binary search, and some hardware conditions do not support the back and forth pointer movement of binary search

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
  • Electronic dictionary work retrieval method based on self-adapting dictionary tree
  • Electronic dictionary work retrieval method based on self-adapting dictionary tree
  • Electronic dictionary work retrieval method based on self-adapting dictionary tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Below in conjunction with accompanying drawing, the present invention is further elaborated:

[0025] The structure of adaptive dictionary tree in the present invention is as shown in the figure (here take English word as example, because only comprise 26 letters of a~z), it is not a full n-fork tree, it carries out according to the prefix of word Constructed. The root node is a virtual node, because there are words starting with "a", "b", etc., so the nodes of the first layer include "a", "b" and so on. In the nodes of the second layer, since there is no word prefixed with "aa", the child node of "a" in the first layer does not contain "a", and so on.

[0026] The number of layers and the number of nodes of the adaptive dictionary tree can be controlled, assuming that the value of distance is set to 25 now, if the number of words prefixed with "ba" is 200, that is, greater than distance, then in the dictionary "ba" in the tree can continue to generate other child nod...

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 invention discloses an electronic dictionary words retrieval method based on a self-adaptive dictionary tree and relates to a words retrieval technology in an electronic dictionary. The method defines a retrieval structure with two levels which includes a prefix matching level of the self-adaptive dictionary and a complete words matching level for a piecewise dichotomy search. The retrieval method is that the matching of words prefixes is firstly implemented in the self-adaptive dictionary tree, and if the words prefixes are hit, the information of the words is returned. Otherwise, the piecewise dichotomy search level is started for the search, and the words to be searched for or the information of the words which is nearest to the words to be searched for is found out and returned. The electronic dictionary words retrieval method can be used for effectively improving the efficiency of the words search and ensuring the balance of time efficiency and space occupation.

Description

technical field [0001] The invention belongs to the technical field of electronic learning products, in particular to a method for word retrieval in an electronic dictionary. Background technique [0002] At present, there are many methods for word retrieval in electronic dictionaries, which can be divided into retrieval without index structure and retrieval with index structure. Since the retrieval efficiency without index structure is poor and takes up a lot of space, index structure retrieval is generally used. [0003] In the index structure, there are two commonly used methods: the dictionary tree retrieval method and the binary search method based on word prefixes. Both methods have obvious advantages and disadvantages. [0004] In the dictionary tree retrieval method, the concept of space-for-efficiency is used. Since a complete full n-ary tree structure is used, words can be directly located and hit, but in order to construct a complete dictionary tree, a large num...

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): G06F17/30
Inventor 罗笑南王建民黄达尧
Owner SUN YAT SEN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products