1National University of Colombia Department of System Engineering and Industrial Engineering Ciudad Universitaria – Bogoté D.C.- Colombia Avenida Carrera 30 No 45-03
2King’s College London, Department of Computer Science, London WC2R 2LS, UK
Here we consider string matching problems that arise naturally in applications to music retrieval. The -Matching problem calculates, for a given text and a pattern on an alphabet of integers, the list of all indices . The -Matching problem computes, for given and , the list of all indices . In this paper, we extend the current result on the different matching problems to handle the presence of “\emph{don’t care}” symbols. We present efficient algorithms that calculate , , and for pattern with occurrences of “don’t cares”.
Keywords: 5-matching; -y-matching; wildcard matching; music in- formation retrieval.