Longest Gapped Repeats and Palindromes
Marius Dumitran, Pawe{\l} Gawrychowski, Florin Manea

TL;DR
This paper presents efficient algorithms to compute the longest gapped repeats and palindromes at each position in a word, considering various restrictions on the gap length, which is useful for pattern analysis in strings.
Contribution
It introduces methods to efficiently find the longest gapped repeats and palindromes at every position with restricted gap lengths, advancing string pattern detection techniques.
Findings
Algorithms run in linear or near-linear time
Applicable to various gap length restrictions
Enhances pattern detection in string analysis
Abstract
A gapped repeat (respectively, palindrome) occurring in a word is a factor (respectively, ) of . In such a repeat (palindrome) is called the arm of the repeat (respectively, palindrome), while is called the gap. We show how to compute efficiently, for every position of the word , the longest gapped repeat and palindrome occurring at that position, provided that the length of the gap is subject to various types of restrictions. That is, that for each position we compute the longest prefix of such that (respectively, ) is a suffix of (defining thus a gapped repeat -- respectively, palindrome ), and the length of is subject to the aforementioned restrictions.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Algorithms and Data Compression · Handwritten Text Recognition Techniques
