已阅读5页,还剩25页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
智能信息检索,杜小勇教授,中国人民大学 文继荣教授,微软亚洲研究院,Overview of Key Techniques in IR,Prof. Xiaoyong Du,Core Techniques,Unstructured data,Text Operator,image operator,Video operator,Media-Related Interpretation,Indexing,Search,Compression,Metadata-level Techniques,English Text Operation,Word tokenization(断词) “.”的处理 “/apostrophe ”的处理 “-”的处理 Open source / G.Grefenstette的研究结果(1994) 统计Brown语料中的52511个句子 将”.”简单地作为句子分割符,准确率为93.20% 使用简单的正则表达式规则,准确率为97.66% 借助词表,可以进一步提高准确率 Proceedings of 3rd conf. on computational lexicography and text research,1994,English Text Operation,Stemming(词干提取) 查表法,事前将所有词的词干都列出来. 浪费存储空间 基于规则的porter算法 Open source /martin/porterStemmer/ 其他方法,中文词法分析,分词(word segmentation) 什么是中文的”词”? 基于词典(词表)的最大匹配法 正向最大匹配 Forward Maximum Matching 逆向最大匹配 Reverse Maximum Matching 双向最大匹配 Bi-Directional MM 如果FMM=RMM 可认为分词正确,否则可进行进一步的消歧处理,中文词法分析,歧义词切分(ambiguities) 歧义词分类 交集型歧义: A+X+B = AX, XB, 例:苏副教授 组合型歧义: A+B = A, B, AB, 例: 马上 基于统计语言模型的消歧,中文词法分析,未登陆词识别(out-of vocabulary OOV) 没有在词表中出现的新词 未登陆词的种类 人名:张朝阳,哈里.波特 地名:海淀区,李家庄 机构名:中国人民大学, 专有名词:道-琼斯 专业术语: 非典,线形回归 数词,时间词等.1992年 Named entity recognition Information Extraction,Image Operation,OCR Color ,Indexing,Unstructured data,Object Representation,Indexing,Inverted Files Suffix Trees Signatures,Inverted Files,Characteristics A word-oriented mechanism based on sorted list of keywords, with each keyword having links to the documents containing that keyword. Preprocessing Each document is assigned a list of keywords or attributes. Each keyword (attribute) is associated with relevance weights.,1. The input text is parsed into a list of words along with their location in the text. (time and storage consuming operation) 2. This list is inverted from a list of terms in location order to a list of terms in alphabetical order. 3. Add term weights, or reorganize or compress the files.,Inversion of Word List,Inversion of Word List,Structure and Construction,Structure (split the index into two files) Vocabulary: O(nb) according to Heaps Law Occurrences : depends on the addressing granularity(document or block?) Construction Dictionary file: The vocabulary is stored in lexicographical order and points to posting list. Posting file:the lists of occurrences are stored contiguously,Heaps Law: the vocabulary of a text of size n words is of size O(nbeta) beta in (0.4,0.6),(document #, frequency),Dictionary and Postings File,Vocabulary and Posting File,Structures used in Inverted Files,Vocabulary Sorted Arrays Hashing Structures Keyword Trees: Tries (digital search trees) The Search Procedure Vocabulary search Retrieval of occurrences Manipulation of occurrences,Size of an Inverted File,Block addressing The text is divided in blocks, and the occurrences point to the blocks instead of full inverted indices where exact occurrences are recorded,* Percentage of the size the whole text collection,Analysis for Block Addressing,Advantage easy to implement Disadvantage updating the index is expensive,Suffix Trees,Each position in the text is considered as a text suffix Index points are selected from the text, which point to the beginning of the text positions which will be retrievable,Suffix of a Text,Suffix Tries and Suffix Trees,Suffix arrays,Suffix Array is an array containing all the pointers to the text suffixes list in lexicographical order Less space requirements than suffix trees. The main drawbacks of Suffix Array are its costly construction process. Allow binary searches done by comparing the contents of each pointer. Supra-indices (for large suffix array),Signature Files,Characteristics Word-oriented index structures based on hashing Low overhead (10%20% over the text size) at the cost of forcing a sequential search over the index Suitable for not very large texts Inverted files outperform signature files for most applications,Construction and Search,Word-oriented index structures base on hashing Maps words to bit masks of B bits Divides the text in blocks of b words each The mask is obtained by bitwise ORing the signatures of all the words in the text block. Search Hash the query to a bit mask W If W & Bi = W, the text block may contain the word,Example,Four blocks: This is a text. A text has many words. Words are made from letters. 000101 110101 100100 101101 Hash(text) = 000101 Hash(many)= 110000 Hash(words)= 100100 Hash(made)= 001100 Hash(letters)= 100001,False Drop,False Drop: = False Positive Assumes that m bits are randomly set in the mask Let a=m/B For b words,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- (2026版)学校儿童青少年近视防控工作总结
- 正多边形与圆课件 2026-2027学年人教版数学九年级上册
- 2026中医网络面试题及答案大全
- 山东辅警笔试题目及答案
- 2026年一建民航实务考前终极提分特训试卷及答案
- 2026年一建矿业实务考前终极模拟卷试卷及答案
- 2026年一建矿业工程实务考前考点强化通关试卷(含答案)
- 2026电建财务面试题及答案
- 2026妇女保健科面试题及答案
- 2026监狱工程师面试题及答案
- 《工业管道安全技术规程》(TSG31-2025)监督检验规则培训
- 施工人员安全教育与培训方案
- 2026年及未来5年市场数据中国不良资产处置市场竞争态势及行业投资潜力预测报告
- 销售岗试用期考核制度
- 2026 新版教材八年级下册英语必背词汇表
- 质量安全总监配备培训考核制度
- 跨越高速架线专项施工方案
- 变配电设备维护保养技术规程标准版
- 2025-2026学年北京市海淀区七年级(上)期中英语试卷
- 三方协议退货合同模板
- 港口码头消防巡检机器人应用分析方案
评论
0/150
提交评论