Document ingestion.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Document ingestion.ppt

Typical rules in Porter sses ? ss ies ? i ational ? ate tional ? tion Weight of word sensitive rules (m1) EMENT → replacement → replac cement → cement Sec. 2.2.4 Other stemmers Other stemmers exist: Lovins stemmer p.lancs.ac.uk/computing/research/stemming/general/lovins.htm Single-pass, longest suffix removal (about 250 rules) Paice/Husk stemmer Snowball Full morphological analysis (lemmatization) At most modest benefits for retrieval Sec. 2.2.4 Language-specificity The above methods embody transformations that are Language-specific, and often Application-specific These are “plug-in” addenda to the indexing process Both open source and commercial plug-ins are available for handling these Sec. 2.2.4 Does stemming help? English: very mixed results. Helps recall for some queries but harms precision on others E.g., operative (dentistry) ? oper Definitely useful for Spanish, German, Finnish, … 30% performance gains for Finnish! Sec. 2.2.4 Faster postings merges: Skip pointers/Skip lists Recall basic merge Walk through the two postings simultaneously, in time linear in the total number of postings entries 128 31 2 4 8 41 48 64 1 2 3 8 11 17 21 Brutus Caesar 2 8 If the list lengths are m and n, the merge takes O(m+n) operations. Can we do better? Yes (if the index isn’t changing too fast). Sec. 2.3 Augment postings with skip pointers (at indexing time) Why? To skip postings that will not figure in the search results. How? Where do we place skip pointers? 128 2 4 8 41 48 64 31 1 2 3 8 11 17 21 31 11 41 128 Sec. 2.3 Query processing with skip pointers 128 2 4 8 41 48 64 31 1 2 3 8 11 17 21 31 11 41 128 Suppose we’ve stepped through the lists until we process 8 on each list. We match it and advance. We then have 41 and 11 on the lower. 11 is smaller. But the skip successor of 11 on the lower list is 31, so we can skip ahead past the intervening postings. Sec. 2.3 Where do we place skips? Tradeoff: More skips ? shorter skip spans ? more likely to skip. But lots of c

文档评论(0)

gshshxx + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档