Hash -based word segmentation mechanism design and implementation
- Author
- WangQuanLi
- Advisor
- FuYan
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP391.1 Text Processing
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 298
- Citations
- 4
Abstract
Chinese dissemination of information as an important human language tools, Chinese information processing has become a hot research field of information processing problems . Chinese word segmentation is an important component of Chinese information processing part and dictionary processing efficiency is affected Chinese word segmentation system performance is a key factor , therefore , to establish efficient word dictionaries have significant meaning. In this paper, Chinese word segmentation system dictionary structure in-depth study , made ??some research, have been used for 863 projects in the spam messages monitoring process, and the design of algorithms related patent applications filed , the main results are as follows : 1. comparative analysis and improved several dictionary storage and processing methods : Array - array mechanism uses an array of storage entry line , using binary search , the operation efficiency is not high, is not conducive to the dictionary update ; hash of the former two-word entry word hashes, using depth of 2 TRIE tree structure is complex ; quadword hash mechanism is only valid for the four-character idioms , there are limitations in the application . In this paper, these methods make certain improvements to address efficiency issues . (2) According to the characteristics of Chinese GB code , proposed a more efficient storage algorithm dictionary , the first word of the same entry is stored as a text line , and each entry is formatted as : removing the first word entry name , entry hash values ??and related properties , improved utilization of storage space . 3 Use the Hash table lookup efficiency advantages Hash mechanism proposed based dictionary lookup , update , delete, add new algorithms and other operations . Hash functions designed a practical , after experimental verification collision rate is extremely small, suitable for small and medium sized dictionary by improving the function is suitable for large dictionary of non-conflict Hash functions . 4 . Implement arrays, linked lists , AVL tree , Hash Table ( with minimal conflict and non-conflict two kinds ) five kinds of dictionary structure algorithms, these algorithms from time complexity and space complexity and other aspects of detailed analysis and evaluation , from load , write , file size and operating time , and several other aspects of experimental comparison , verification mechanism based Hash algorithm dictionary structure than traditional algorithm improves space utilization by nearly two times in the time efficiency improved by 5 ~ 6 times . 5 Using Java to achieve a dictionary based on Hash structure module mechanism , and proposed the algorithm in terms of the expansion program on the property .
Table of contents
Chinese Abstract 4-5
ABSTRACT 5-11
The first chapter 11-17
1.1 research status 11-13
1.2 topics in accordance with this article and significance 13-15
1.3 The main contents 15
1.4 Thesis Organization 15-16
1.5 Summary 16-17
Chapter word dictionaries Mechanism 17-35
2.1 Dictionary built 17-19
2.1.1 Dictionary way to build 17-18
2.1.2 SMS Dictionary way to build 18-19
2.2 Several common word dictionary structure 19-33
2.2.1 The traditional word dictionary structure 19-24
2.2.2 Several efficient word dictionary structure 24-33
2.3 algorithm analysis and comparison 33-34
2.4 Summary 34-35
Chapter mechanisms dictionary based on Hash structure 35-55
3.1 Chinese GB code 35
3.2 dictionary in memory representation 35-37
3.3 dictionary on disk storage 37-38
3.4 Algorithm Design and Implementation 38-52
3.4.1 hash function 38-41
3.4.2 Algorithm Design and Implementation 41-52
3.5 Term frequency property implementation 52
3.6 dictionary algorithm application 52-53
3.7 algorithm problems and discuss 53-54
3.8 Chapter Summary 54-55
Chapter dictionary structure algorithm 55-67
4.1 algorithm tool 55
4.2 Hashtable and Hashmap 55-57
4.3 algorithm programming 57-64
4.3.1 using a hash function with minimal conflict algorithm processes 57-59
4.3.2 specific algorithm 59-63
4.3.3 use collision hash function algorithm 63-64
4.4 algorithm used to resolve conflicts linked 64
4.5 Using AVL tree algorithm 64-65
4.6 Chapter Summary 65-67
Chapter algorithms evaluation and experimentation 67-71
5.1 algorithm is relatively 67-68
5.2 Experimental 68-69
5.3 Chapter Summary 69-71
Chapter 6 Conclusion and Future Work Prospects 71-72
Thanks 72-73
References 73-77
attack Shuo research results achieved during the 77
Related dissertations
- Research and Implementation of Chinese Word Segmentation Technology Based on Lucene
- Three-Layout Key/Value Index System Base on JB~c-LSM
- A Hash Function Based on the RFID Security Authentication Protocol Design and Implementation
- Study on Node Localization Management Technology in Wireless Sensor Networks
- An Algorithm for Detecting Superpoints in Small Memory
- Algorithms Based on Bitmaps for Detecting Stealthy Spreaders
- Research on load balancing algorithm in high-speed network system based on
- Based on NAT/PT Conversion Gateway for IPV6and IPV4Research
- Research on RFID security protocol
- Research on RFID Security Protocols Based on Hash Function
- Research on Incremental Knowledge Acquisition Algorithm Based on Granular Computing
- Research on XML Keyword Search Processing Method Based on SLCA Sematic
- Research and design of RFID static ID privacy preserving authentication protocol based on Hash and two party privacy tag ownership transfer protocol
- The Design and Implement of a Large-scale Key-value Distributed Storage System
- The Design and Implementation of Metadata Management Subsystem in Large-scale Distributed File System
- Research and Implementation of PUMA Multicast Routing Protocol Based on Queue Load Perceptive and Hash Chain
- Research on RFID Security Authentication Protocol
- The ASIC Implementation of TPM RNG
- Research on Applications of Chaos Cryptography to Wireless Sensor Networks Security
- Research on Applications of Chaos Theory to Digital Product Security