A trie compaction algorithm for a large set of keys

被引:36
作者
Aoe, J
Morimoto, K
Shishibori, M
Park, KH
机构
[1] Department of Information Engineering, University of Tokushima
关键词
key search techniques; trie structures; digital search; key retrieval algorithm; data structure; natural language dictionaries;
D O I
10.1109/69.506713
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A trie structure is frequently used for various applications, such as natural language dictionaries, database systems, and compilers. However, the total number of states (and transitions between them) of a trie becomes large so that space cost may not be acceptable for a huge key set. In order to resolve this disadvantage, this paper presents a new scheme, called ''two-trie,'' that enables us to perform efficient retrievals, insertions, and deletions for the key sets. The essential idea is to construct two tries for both front and rear compressions of keys, which is similar to a DAWG (Directed Acyclic Word-Graph). The approach differs from a DAWG in that the two-trie approach presented can uniquely determine information corresponding to keys while a DAWG cannot. For an efficient implementation of the two-trie, two types of data structures are introduced. The theoretical and experimental observations show that the method presented is more practical than existing ones considering the use of dynamic key sets, storing information of keys, and compression of transitions.
引用
收藏
页码:476 / 491
页数:16
相关论文
共 31 条
[1]  
Aho Alfred V., 1983, DATA STRUCTURES ALGO, P163
[2]   EFFICIENT STRING MATCHING - AID TO BIBLIOGRAPHIC SEARCH [J].
AHO, AV ;
CORASICK, MJ .
COMMUNICATIONS OF THE ACM, 1975, 18 (06) :333-340
[3]  
AHO AV, 1986, COMPILERS PRINCIPLES, pCH2
[4]  
AISUWAIYEL M, 1984, ACM T DATABASE SYST, V9, P243
[5]   A METHOD FOR IMPROVING STRING PATTERN-MATCHING MACHINES [J].
AOE, J ;
YAMAMOTO, Y ;
SHIMADA, R .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (01) :116-120
[6]   A PRACTICAL METHOD FOR REDUCING SPARSE MATRICES WITH INVARIANT ENTRIES [J].
AOE, J ;
YAMAMOTO, Y ;
SHIMADA, R .
INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1982, 12 (02) :97-111
[7]  
AOE J, 1987, P 2 INT C SUP SANT C, P361
[8]  
AOE J, 1988, T IEICE D, V71, P1592
[9]  
AOE J, 1992, T IEICE, V75
[10]   AN EFFICIENT IMPLEMENTATION OF TRIE STRUCTURES [J].
AOE, JI ;
MORIMOTO, K ;
SATO, T .
SOFTWARE-PRACTICE & EXPERIENCE, 1992, 22 (09) :695-721