An empirical analysis of pattern scan order in pattern matching
World Congress on Engineering 2007, London, Kanada, 2 - 04 Temmuz 2007, ss.337-341, (Tam Metin Bildiri)
- Yayın Türü: Bildiri / Tam Metin Bildiri
- Cilt numarası:
- Basıldığı Şehir: London
- Basıldığı Ülke: Kanada
- Sayfa Sayıları: ss.337-341
- Bursa Uludağ Üniversitesi Adresli: Hayır
Özet
In pattern matching, scanning a given pattern in a particular order greatly influences the performance. This study investigates the effect of different pattern scan orders on natural language text and on DNA sequence data. Besides the well-known right-to-left ordering of Boyer-Moore, and from the least frequent character to most frequent one of Sunday's optimal mismatch algorithm, four alternative character search sequence orderings based on newly introduced distant n-gram statistics are proposed within this work. In all experiments, Sunday's pattern matching algorithm, where the characters of a given pattern can be scanned in any order, is used as the main framework. On natural language test data, the alternative pattern scan orders give better results in 60% of the test keywords. On genome data best ordering among the tested six approaches is the right-to-left order.