The Research and Implement of Synonym Expanding Retrieval Based on Lucene
- Author
- Wang
- Advisor
- WangXiaoDi
- School
- Tianjin University of Finance and Economics
- Major
- Management Science and Engineering
- Classification
- TP391.3 Retrieval machine
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 47
- Citations
- 0
Abstract
As information technology flourished developed and the internet widely used, search engine has become the necessity that people used to work, study and play everyday. Now most of search engines perform searching based on keywords, find out the matching records throughout the index and give them to user. However, people always describe the same concept by using different words because their life, knowledge and expertise, as well as regional language habits are not always the same. These words are synonymous, therefore users can’t find out the answers that satisfied all of their need.Therefore the method of synonym expanding retrieval emerges as the times require. It improves the traditional retrieval mechanism. When system adds terms into the index it embeds synonyms into the same place of index, and sets the position increment as zero. So the term and its synonyms have same offset. The search engine can hit records directly through the retrieval process regardless of the keywords whether is the original terms or its synonyms. This method expands the searching range, solves the problem brought by fuzzy retrieval.Chinese word segment is the core of establishing index structure, and it impacts the accuracy and exactness degree. It’s also the foundation that synonyms expanding retrieval developing with. According to need based on synonyms expanding retrieval, we design the modified forward maximum matching algorithm which based on triple hash dictionary. The three layers of dictionary store hash value of first word, word length and hash value of term separately, the suitable list stores all of terms that have the same hash value. Meanwhile, we add the bidirectional link-list into term Storage structure. It points next equation or synonym, and forms an orbicular linked structure, give different value of association degree. It stores Chinese and synonym in one dictionary so that saving the storage space. Since the feature of hash algorithm extremely reduces time complexity when searching term, it saves the searching time.We design and carry out synonyms expanding retrieval mechanism combining the demand of news retrieval on the basis of open source Lucene2.0. We use plenty of news materials to test system and experimental results shows that synonyms expanding retrieval extremely increases recall-precision degree without impacting time consuming, provides convenience for user.
Table of contents
A summary 4-5
Abstract 5-9
Chapter 1 Introduction the 9-14
1.1 of purpose and meaning 9-10
1.1.1 The purpose of the study
1.1.2 This research significance 9-10
1.2 Summary of related research at home and abroad 10-12
1.2.1 Research method for Chinese word 10-11
1.2.2 synonyms, extension the retrieval status quo 11-12
1.3 this article The main research content 12
1.4 The paper is organized 12-14
Chapter 2 Lucene full-text search related technologies 14-22
2.1 full-text Overview retrieved 14
the 2.2 Lucene system functions 14-16
2.3 Lucene indexing mechanism the 16-17
2.3.1 index file of structural 16
2.3.2 Lucene indexing process the 16-17 the 2.4 Lucene search mechanism
17-19
2.4.1 Lucene search process 17-18
2.4.2 Lucene score formula 18-19
the 2.5 Lucene advantages and deficiencies 19-22
2.5.1 Lucene advantage 19-20
2.5.2 Lucene lack 20-22
Chapter 3 Chinese word segmentation algorithm improvements 22-34
3.1 common the the Chinese algorithm introduced to 3.1.1 word segmentation method based on string matching 22-23
22
3.1.2 segmentation method based on understanding 22
3.1.3 segmentation method based on statistics 3.1.4 segmentation method based on semantic 22-23
23
3.2 Problems and development direction 23
the 3.3 triple hash dictionary 23-29
3.3.1 has the vocabulary structure type 23-24 triple
3.3.2 hash dictionary structure 24-25
3.3.3 hash function is constructed 25-27
3.3.4 dictionary loaded, query and update 27-29 <br / > 3.4 forward maximum matching algorithm based on three hash dictionary 29-31
3.5 to improved algorithm Assessment the 31-34
3.5.1 accuracy 31-33
3.5.2 Efficiency 33-34
Chapter 4 the synonym expansion retrieve principle 34-47
4.1 Why synonym expansion retrieval the retrieved 34
4.2 synonym expansion brought 34-35
4.3 synonyms storage and update 35-39
4.3.1 synonyms classification the 35-36
4.3.2 synonym Storage 36-38
4.3.3 synonym doubly linked list updates 38-39
4.4 based Lucene synonym expansion retrieve the principle 39-43
4.4.1 synonym expansion retrieve principle 39-41
4.4.2 Find synonyms dictionary 41 - 42
4.4.3 to the index adding synonyms 42-43
4.5 results Sort 43-45
4.5.1 vector space model 43-45
4.5.2 Improved sorting algorithms 45
4.6 synonym expansion retrieve the application 45-47
Chapter 5 synonym expansion retrieval system design and test the 47-58
5.1 System Design the 47-48
5.2 major functional blocks of the system to achieve 48-55
5.2.1 Chinese word segmentation module achieve 48-50
5.2.2 indexing module to achieve 50-52
5.2.3 synonym expansion retrieval module to achieve 52-55
5.3 System Operation and experimental results analysis the 55-58
5.3.1 System The run effects 55
5.3.2 experimental results 55-58 <br / > Chapter 6 summarizes Looking 58-59
6.1 The innovation of this article may 58
6.2 This article needs to be improved at 58-59 <br / > References 59-62
Postscript 62