English

Optimizing Text Search: A Novel Pattern Matching Algorithm Based on Ukkonen's Approach

Data Structures and Algorithms 2025-12-22 v1 Artificial Intelligence Machine Learning

Abstract

In the realm of computer science, the efficiency of text-search algorithms is crucial for processing vast amounts of data in areas such as natural language processing and bioinformatics. Traditional methods like Naive Search, KMP, and Boyer-Moore, while foundational, often fall short in handling the complexities and scale of modern datasets, such as the Reuters corpus and human genomic sequences. This study rigorously investigates text-search algorithms, focusing on optimizing Suffix Trees through methods like Splitting and Ukkonen's Algorithm, analyzed on datasets including the Reuters corpus and human genomes. A novel optimization combining Ukkonen's Algorithm with a new search technique is introduced, showing linear time and space efficiencies, outperforming traditional methods like Naive Search, KMP, and Boyer-Moore. Empirical tests confirm the theoretical advantages, highlighting the optimized Suffix Tree's effectiveness in tasks like pattern recognition in genomic sequences, achieving 100% accuracy. This research not only advances academic knowledge in text-search algorithms but also demonstrates significant practical utility in fields like natural language processing and bioinformatics, due to its superior resource efficiency and reliability.

Keywords

Cite

@article{arxiv.2512.16927,
  title  = {Optimizing Text Search: A Novel Pattern Matching Algorithm Based on Ukkonen's Approach},
  author = {Xinyu Guan and Shaohua Zhang},
  journal= {arXiv preprint arXiv:2512.16927},
  year   = {2025}
}

Comments

5 pages, 13 figures

R2 v1 2026-07-01T08:32:17.216Z