BWBEV: A Bitwise Query Processing Algorithm for Approximate Prefix Search
We tackle the challenge of conducting an approximate prefix search within datasets of strings. We explore using a bit-parallelism technique to compute the edit distance between distinct strings and illustrate its adaptation for an approximate prefix search procedure referred to as BWBEV. This technique employs a unary representation of edit vectors alongside bitwise operations to efficiently update these vectors during the edit distance computation. We also show how to apply our new bit-parallelism technique strategy to online edit distance computation between strings without index structure. Our experiments with BWBEV applied to approximate prefix search for a query autocompletion task revealed a substantial acceleration of over 36% when contrasted against state-of-the-art methods.
Authors
- Edleno Silva de Moura (ORCID: https://orcid.org/0000-0002-7860-9575)
- Berg Ferreira (ORCID: https://orcid.org/0000-0001-8985-5045)
- Altigran Soares da Silva (ORCID: https://orcid.org/0000-0002-8992-495X)
- Ricardo Baeza‐Yates (ORCID: https://orcid.org/0000-0003-3208-9778)
Institutions
- Universidade Federal do Amazonas (BR)
- Universidad del Noreste (MX)
Publication Details
- Journal
- Journal of the Brazilian Computer Society
- Published
- 2024-10-27
- DOI
- https://doi.org/10.5753/jbcs.2024.4236
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 0.00