一种改进的字典快速相似性搜索算法
Improved Fast Similarity Search in Dictionaries
摘要:
我们设计了一个算法来解决近似字典匹配问题。给定单词列表$\mathcal{W}$、在预处理时固定的最大距离$d$和查询单词$q$,我们希望从$\mathcal{W}$中检索所有可以通过$d$或更少的编辑操作转换为$q$的单词。我们提出的数据结构,支持容错查询生成一个索引。最重要的是,我们提出了一个概括的方法,大大减轻了内存消耗和预处理时间。同时,查询的运行时间几乎不受影响。我们能够在合理的距离内在微秒内匹配数十万个单词的列表。
英文摘要:
We engineer an algorithm to solve the approximate dictionary matching problem. Given a list of words $\mathcal{W}$, maximum distance $d$ fixed at preprocessing time and a query word $q$, we would like to retrieve all words from $\mathcal{W}$ that can be transformed into $q$ with $d$ or less edit operations. We present data structures that support fault tolerant queries by generating an index. On top of that, we present a generalization of the method that eases memory consumption and preprocessing time significantly. At the same time, running times of queries are virtually unaffected. We are able to match in lists of hundreds of thousands of words and beyond within microseconds for reasonable distances.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。