A dictionary-based and statistical Chinese word segmentation algorithm
- Author
- ZhangXu
- Advisor
- ZhuQingXin
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 632
- Citations
- 18
Abstract
In this paper we design a new algorithm. This algorithm combines two methods: dictionary method and statistic method. Firstly, we divide the whole text into shorter sentences according to the punctuations in this text. Secondly, we take positive and reverse maximal matching to segment every sentence of this text. Thirdly we compare the segmentation results of the positive and reverse maximal matching to decide whether there are ambiguousnesses and then if the results are different, it indicates that there are ambiguousnesses in this part, and we eliminate these ambiguousnesses by using the statistic method and regulations based on the formers’ research results. During the process above, we give the higher priority to the results of the reverse maximal matching because of its’ higher veracity.This paper includes two betterments. In the first place, we increase the number of dictionaries, we add some special dictionaries which can be used to eliminate the ambiguousnesses and recognize new words during the segmentation process besides the basic dictionary. At the same time we reconstructed the data structure of basic dictionary in the memory of computer by using data structure "Hashtable", we choose the first two single characters of every word in the basic dictionary as the keywords of the main and sub Hashtables, the remanent words are stored in an array according to length. With these data structures, whenever our program meets a word, the program will be able to locate the word straightly and quickly in dictionary. So the cost on scanning the dictionary will be knocked down largely and the speed of matching will be quicked up by a large degree. In the second place, we do some improvements on the method of statistic. Our algorithm uses statistic method to solve special nouns, new characters and eliminate ambiguousnesses. The biggest shortcoming of statistic is that it needs that the characters to be solved appear at least more than one time during the segmentation process, so the veracity of statistic is not so good when the sentence is short. Because of these reasons, we use some rules got from analysis of Chinese language to remedy the shortcoming of statistic. Based on these ways above, we designed a new algorithm which combines language rules and statistic results to eliminate ambiguousnesses and recognize new words. It includes many rules based on statistic of Chinese language and some knowledge of language and we also consider the important influence of language environment and context on eliminating ambiguousnesses. After all these above have been done, ambiguousnesses can be eliminated effectively and efficiently, and the veracity of segmentation is improved in some conditions.
Table of contents
Abstract 4-5
ABSTRACT 5-9
The first chapter 9-22
1.1 Chinese word segmentation inevitability 9-10
1.2 overview of the development of Chinese word segmentation and status 10-15
1.2.1 several early automatic segmentation system 10-11
1.2.2 Chinese word segmentation system development 11-15
1.3 Chinese word segmentation difficulties 15-17
1.3.1 Segmentation norms 15-16
1.3.2 Segmentation difficulties 16-17
1.4 Chinese word segmentation system goals 17-18
1.4.1 Accuracy 18
1.4.2 efficient 18
1.4.3 versatility 18
1.4.4 Applicability 18
1.5 Chinese word segmentation algorithm classification 18-21
1.5.1 Segmentation based on string matching method 18-20
1.5.2 segmentation method based on understanding 20
1.5.3 segmentation based on statistical methods 20-21
1.6 Thesis Organization 21-22
Chapter theoretical foundation 22-28
2.1 Chinese word segmentation need to address the key issues 22-23
2.1.1 unambiguous identification 22
2.1.2 unknown word identification 22-23
2.2 Chinese word segmentation basic methods 23-25
2.2.1 dictionary-based word segmentation method 23
2.2.2 segmentation based on statistical methods 23-25
2.3 ambiguous rules define 25-27
2.4 Ambiguity collection methods 27-28
The third chapter is based on the Chinese dictionary and statistical segmentation algorithm design 28-48
3.1 this problem to be solved 28
3.2 segmentation method used in this paper 28-45
3.2.1 string to be analyzed pretreatment 29
3.2.2 dictionary-based word segmentation algorithm 29-44
3.2.3 dictionary-based and statistical methods based on the combination of 44-45
3.3 Ambiguity analysis and processing 45-48
3.3.1 pending the determination of ambiguity in the text 45
3.3.2 of this article disambiguation algorithm 45-48
Chapter dictionary-based and statistical algorithm of Chinese word segmentation process design 48-60
4.1 algorithm processes 48-49
4.2 composite segmentation algorithm specific design 49-60
4.2.1 Detailed Algorithm design process 49-50
4.2.2 dictionary loaded 50-53
4.2.3 string to be analyzed punctuate 53-55
4.2.4 forward maximum matching algorithm flowchart 55-56
4.2.5 reverse maximum matching algorithm flowchart 56-57
4.2.6 Ambiguity processing algorithms 57-60
CHAPTER results 60-66
5.1 Result evaluation criteria 60
5.2 segmentation effect 60-61
5.3 Algorithms 61-66
5.3.1 Improved dictionary-based algorithms and ordinary dictionary-based algorithms comparison 61-62
5.3.2 compound word segmentation algorithm and improved dictionary-based algorithms comparison 62-64
5.3.3 ambiguity and unknown words of relatively 64-66
Chapter Summary and Outlook 66-68
Thanks 68-69
References 69-71
attack Shuo research results achieved during the 71
Related dissertations
- Study on the improvement of trustworthiness evaluation and decision-making mechanism of group decision results
- Application Protocol Identification Based on Flow Statistics
- Research on the Environmental Responsibility and Competitiveness of Transnational Auto Companies
- System design and implementation of intelligent Home Furnishing
- Based on the Range of Prefix of Improved Sub Section and Layer Also the Index IPV6Routing Lookup Algorithm
- Research on the Blind Detection of Forgery Images
- Tianjin Software Industry Statistic and Analysis System
- Analysis and Design of Integrated Planning and Statistic System for Dang Tang International
- Design and Development of the Datong Coal Mine Group Personnel Management System
- The Effectiveness of Strategies in Combating Illegal Logging in Peninsular Malaysia
- On the Livelihood Activities of Russian Zemstvos in1865-1913
- The Analysis of Party Document Word Frequency Based on the Corpus in2012
- Study on Collocation in Gene Related News Based on Corpus Linguistics
- Literature Study of Anti-Cancer Prescriptions and Its Intergrated Herbals
- The Analysis Based on VAR of Influence from GDP and CPI to Living Standard of Residents
- Estimation and Modelling of Event Time Data
- Resarch and Quality Control of the Goodness of Fit Test Statistic
- Study of the Ancient Literature and Prescribing Rules on the Feibi Feiwei and Pulmonary Fibrosis in Traditional Chinese Medicine
- An Initial Research on the Database Construction of Chinese Medicine and Syndrome Rules of Diabetic Nephropathy
- A Time-Frequency Damage Identification Method and Experimental Study for Guyed Masts