Skip to main content
Top

2020 | OriginalPaper | Chapter

Generalized Dictionary Matching Under Substring Consistent Equivalence Relations

Author : Diptarama Hendrian

Published in: WALCOM: Algorithms and Computation

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Given a set of patterns called a dictionary and a text, the dictionary matching problem is a task to find all occurrence positions of all patterns in the text. The dictionary matching problem can be solved efficiently by using the Aho-Corasick algorithm. Recently, Matsuoka et al. [TCS, 2016] proposed a generalization of pattern matching problem under substring consistent equivalence relations and presented a generalization of the Knuth-Morris-Pratt algorithm to solve this problem. An equivalence relation \(\approx \) is a substring consistent equivalence relation (SCER) if for two strings XY, \(X \approx Y\) implies \(|X| = |Y|\) and \(X[i:j] \approx Y[i:j]\) for all \(1 \le i \le j \le |X|\). In this paper, we propose a generalization of the dictionary matching problem and present a generalization of the Aho-Corasick algorithm for the dictionary matching under SCER. We present an algorithm that constructs SCER automata and an algorithm that performs dictionary matching under SCER by using the automata. Moreover, we show the time and space complexity of our algorithms with respect to the size of input strings.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Aho, A.V., Corasick, M.J.: Efficient string matching: an aid to bibliographic search. Commun. ACM 18(6), 333–340 (1975)MathSciNetCrossRef Aho, A.V., Corasick, M.J.: Efficient string matching: an aid to bibliographic search. Commun. ACM 18(6), 333–340 (1975)MathSciNetCrossRef
2.
go back to reference Amir, A., Aumann, Y., Lewenstein, M., Porat, E.: Function matching. Soc. Ind. Appl. Math. 35(5), 1007–1022 (2006)MathSciNetMATH Amir, A., Aumann, Y., Lewenstein, M., Porat, E.: Function matching. Soc. Ind. Appl. Math. 35(5), 1007–1022 (2006)MathSciNetMATH
3.
go back to reference Amir, A., Farach, M., Muthukrishnan, S.: Alphabet dependence in parameterized matching. Inf. Process. Lett. 49(3), 111–115 (1994)CrossRef Amir, A., Farach, M., Muthukrishnan, S.: Alphabet dependence in parameterized matching. Inf. Process. Lett. 49(3), 111–115 (1994)CrossRef
4.
go back to reference Amir, A., Kondratovsky, E.: Sufficient conditions for efficient indexing under different matchings. In: 30th Annual Symposium on Combinatorial Pattern Matching (CPM 2019), pp. 6:1–6:12 (2019) Amir, A., Kondratovsky, E.: Sufficient conditions for efficient indexing under different matchings. In: 30th Annual Symposium on Combinatorial Pattern Matching (CPM 2019), pp. 6:1–6:12 (2019)
5.
go back to reference Antoniou, P., Crochemore, M., Iliopoulos, C., Jayasekera, I., Landau, G.: Conservative string covering of indeterminate strings. In: Prague Stringology Conference, vol. 2008, pp. 108–115 (2008) Antoniou, P., Crochemore, M., Iliopoulos, C., Jayasekera, I., Landau, G.: Conservative string covering of indeterminate strings. In: Prague Stringology Conference, vol. 2008, pp. 108–115 (2008)
6.
go back to reference Baker, B.S.: Parameterized pattern matching: algorithms and applications. J. Comput. Syst. Sci. 52(1), 28–42 (1996)MathSciNetCrossRef Baker, B.S.: Parameterized pattern matching: algorithms and applications. J. Comput. Syst. Sci. 52(1), 28–42 (1996)MathSciNetCrossRef
7.
go back to reference Crochemore, M., Rytter, W.: Text Algorithm. Oxford University Press, Oxford (1994)MATH Crochemore, M., Rytter, W.: Text Algorithm. Oxford University Press, Oxford (1994)MATH
8.
go back to reference Crochemore, M., Rytter, W.: Jewels of Stringology. World Scientific Publishing Co. Pte. Ltd., Singapore (2002)CrossRef Crochemore, M., Rytter, W.: Jewels of Stringology. World Scientific Publishing Co. Pte. Ltd., Singapore (2002)CrossRef
9.
go back to reference Diptarama, U.Y., Narisawa, K., Shinohara, A.: KMP based pattern matching algorithms for multi-track strings. In: Proceedings of Student Research Forum Papers and Posters at SOFSEM 2016, pp. 100–107 (2016) Diptarama, U.Y., Narisawa, K., Shinohara, A.: KMP based pattern matching algorithms for multi-track strings. In: Proceedings of Student Research Forum Papers and Posters at SOFSEM 2016, pp. 100–107 (2016)
10.
go back to reference Diptarama, Y.U., Yoshinaka, R., Shinohara, A.: Fast full permuted pattern matching algorithms on multi-track strings. In: Prague Stringology Conference (PSC) 2016, pp. 7–21 (2016) Diptarama, Y.U., Yoshinaka, R., Shinohara, A.: Fast full permuted pattern matching algorithms on multi-track strings. In: Prague Stringology Conference (PSC) 2016, pp. 7–21 (2016)
11.
go back to reference Hendrian, D., Ueki, Y., Narisawa, K., Yoshinaka, R., Shinohara, A.: Permuted pattern matching algorithms on multi-track strings. Algorithms 12(4), 73:1–73:20 (2019)MathSciNetCrossRef Hendrian, D., Ueki, Y., Narisawa, K., Yoshinaka, R., Shinohara, A.: Permuted pattern matching algorithms on multi-track strings. Algorithms 12(4), 73:1–73:20 (2019)MathSciNetCrossRef
12.
go back to reference Idury, R.M., Schäffer, A.A.: Multiple matching of parameterized patterns. Theor. Comput. Sci. 154(2), 203–224 (1996)MathSciNetCrossRef Idury, R.M., Schäffer, A.A.: Multiple matching of parameterized patterns. Theor. Comput. Sci. 154(2), 203–224 (1996)MathSciNetCrossRef
13.
15.
go back to reference Knuth, D.E., Morris Jr., J.H., Pratt, V.R.: Fast pattern matching in strings. SIAM J. Comput. 6(2), 323–350 (1977)MathSciNetCrossRef Knuth, D.E., Morris Jr., J.H., Pratt, V.R.: Fast pattern matching in strings. SIAM J. Comput. 6(2), 323–350 (1977)MathSciNetCrossRef
16.
go back to reference Kubica, M., Kulczyński, T., Radoszewski, J., Rytter, W., Waleń, T.: A linear time algorithm for consecutive permutation pattern matching. Inf. Process. Lett. 113(12), 430–433 (2013)MathSciNetCrossRef Kubica, M., Kulczyński, T., Radoszewski, J., Rytter, W., Waleń, T.: A linear time algorithm for consecutive permutation pattern matching. Inf. Process. Lett. 113(12), 430–433 (2013)MathSciNetCrossRef
17.
go back to reference Matsuoka, Y., Aoki, T., Inenaga, S., Bannai, H., Takeda, M.: Generalized pattern matching and periodicity under substring consistent equivalence relations. Theor. Comput. Sci. 656, 225–233 (2016)MathSciNetCrossRef Matsuoka, Y., Aoki, T., Inenaga, S., Bannai, H., Takeda, M.: Generalized pattern matching and periodicity under substring consistent equivalence relations. Theor. Comput. Sci. 656, 225–233 (2016)MathSciNetCrossRef
18.
go back to reference Park, S.G., Amir, A., Landau, G.M., Park, K.: Cartesian tree matching and indexing. In: 30th Annual Symposium on Combinatorial Pattern Matching (CPM 2019), pp. 16:1–16:14 (2019) Park, S.G., Amir, A., Landau, G.M., Park, K.: Cartesian tree matching and indexing. In: 30th Annual Symposium on Combinatorial Pattern Matching (CPM 2019), pp. 16:1–16:14 (2019)
Metadata
Title
Generalized Dictionary Matching Under Substring Consistent Equivalence Relations
Author
Diptarama Hendrian
Copyright Year
2020
DOI
https://doi.org/10.1007/978-3-030-39881-1_11

Premium Partner