Designing efficient algorithms for querying large corpora

Paul Meurer
{"title":"Designing efficient algorithms for querying large corpora","authors":"Paul Meurer","doi":"10.5617/OSLA.8504","DOIUrl":null,"url":null,"abstract":"I describe several new efficient algorithms for querying large annotated corpora. The search algorithms as they are implemented in several popular corpus search engines are less than optimal in two respects: regular expression stringmatching in the lexicon is done in linear time, and regular expressions over corpus positions are evaluated starting in those corpus positions that match the constraints of the initial edges of the corresponding network. To address these shortcomings, I have developed an algorithm for regular expression matching on suffix arrays that allows fast lexicon lookup, and a technique for running finite state automata from edges with lowest corpus counts. The implementation of the lexicon as suffix array also lends itself to an elegant and efficient treatment of multi-valued and set-valued attributes. The described techniques have been implemented in a fully functional corpus management system and are also used in a treebank query system.","PeriodicalId":143932,"journal":{"name":"Oslo Studies in Language","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-01-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Oslo Studies in Language","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5617/OSLA.8504","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

I describe several new efficient algorithms for querying large annotated corpora. The search algorithms as they are implemented in several popular corpus search engines are less than optimal in two respects: regular expression stringmatching in the lexicon is done in linear time, and regular expressions over corpus positions are evaluated starting in those corpus positions that match the constraints of the initial edges of the corresponding network. To address these shortcomings, I have developed an algorithm for regular expression matching on suffix arrays that allows fast lexicon lookup, and a technique for running finite state automata from edges with lowest corpus counts. The implementation of the lexicon as suffix array also lends itself to an elegant and efficient treatment of multi-valued and set-valued attributes. The described techniques have been implemented in a fully functional corpus management system and are also used in a treebank query system.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
设计查询大型语料库的高效算法
我描述了查询大型标注语料库的几种新的高效算法。在几个流行的语料库搜索引擎中实现的搜索算法在两个方面都不是最优的:词典中的正则表达式字符串匹配是在线性时间内完成的,语料库位置上的正则表达式是从匹配相应网络初始边缘约束的语料库位置开始评估的。为了解决这些缺点,我开发了一种对后缀数组进行正则表达式匹配的算法,该算法允许快速查找词典,还开发了一种从语料库计数最少的边运行有限状态自动机的技术。将lexicon实现为后缀数组还有助于对多值和集值属性进行优雅而有效的处理。所描述的技术已经在一个功能齐全的语料库管理系统中实现,也被用于一个树库查询系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Processing possessives in simultaneous interpreting from English to Polish Processing possessives in French as a foreign language: Design of an experiment On the interpretation of possessives in Czech: An experimental approach Lexical interference in non-native resolution of possessives? A cluster of changes: Norwegian word order
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1