Text indexing and dictionary matching with one error

被引:47
|
作者
Amir, A [1 ]
Keselman, D
Landau, GM
Lewenstein, M
Lewenstein, N
Rodeh, M
机构
[1] Bar Ilan Univ, Dept Math & Comp Sci, IL-52900 Ramat Gan, Israel
[2] Georgia Tech, Atlanta, GA USA
[3] Simons Technol, Decatur, GA 30030 USA
[4] Polytech Univ, Dept Comp & Informat Sci, Metrotech Ctr 6, Brooklyn, NY 11201 USA
[5] Univ Haifa, Dept Comp Sci, IL-31905 Haifa, Israel
[6] MATAM, Ctr Adv Technol, IBM, Res Lab Haifa, IL-31905 Haifa, Israel
基金
以色列科学基金会; 美国国家科学基金会;
关键词
D O I
10.1006/jagm.2000.1104
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The indexing problem is where a text is preprocessed and subsequent queries of the form "Find all occurrences of pattern P in the text" are answered in time proportional to the length of the query and the number of occurrences. In the dictionary matching problem a set of patterns is preprocessed and subsequent queries of the form "Find all occurrences of dictionary patterns in text T" are answered in time proportional to the length of the text and the number of occurrences. There exist efficient worst-case solutions for the indexing problem and the dictionary matching problem, but none that find approximate occurrences of the patterns, i.e., where the pattern is within a bound edit (or Hamming) distance from the appropriate text location. In this paper we present a uniform deterministic solution to both the indexing and the general dictionary matching problem with one error. We preprocess the data in time O(n log(2) n), where n is the text size in the indexing problem and the dictionary size in the dictionary matching problem. Our query time for the indexing problem is O(m log n log log n + tocc), where m is the query string size and tocc is the number of occurrences, Our query time for the dictionary matching problem is O(n log(3) d log log d + tocc), where n is the text size and d the dictionary size. The time bounds above apply to both bounded and unbounded alphabets, (C) 2000 Academic Press.
引用
收藏
页码:309 / 325
页数:17
相关论文
共 50 条
  • [11] Improved Space-Time Tradeoffs for Approximate Full-Text Indexing with One Edit Error
    Djamal Belazzougui
    Algorithmica, 2015, 72 : 791 - 817
  • [12] Improved Space-Time Tradeoffs for Approximate Full-Text Indexing with One Edit Error
    Belazzougui, Djamal
    ALGORITHMICA, 2015, 72 (03) : 791 - 817
  • [13] Error analysis of the crystal orientations obtained by the dictionary approach to EBSD indexing
    Ram, Farangis
    Wright, Stuart
    Singh, Saransh
    De Graef, Marc
    ULTRAMICROSCOPY, 2017, 181 : 17 - 26
  • [14] Online parameterized dictionary matching with one gap
    Levy, Avivit
    Shalom, B. Riva
    THEORETICAL COMPUTER SCIENCE, 2020, 845 : 208 - 229
  • [15] Parameterized dictionary matching and recognition with one gap
    Shalom, B. Riva
    THEORETICAL COMPUTER SCIENCE, 2021, 854 : 1 - 16
  • [16] Recognition and visual feature matching of text region in video for conceptual indexing
    Kurakake, S
    Kuwano, H
    Odaka, K
    STORAGE AND RETRIEVAL FOR IMAGE AND VIDEO DATABASES V, 1997, 3022 : 368 - 379
  • [17] TOKEN-BASED DICTIONARY PATTERN MATCHING FOR TEXT ANALYTICS
    Polig, Raphael
    Atasu, Kubilay
    Hagleitner, Christoph
    2013 23RD INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL 2013) PROCEEDINGS, 2013,
  • [18] Combining Text Compression and String Matching: The Miracle of Self-Indexing
    Navarro, Conzalo
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2009, 2009, : 1 - 1
  • [19] Dictionary look-up with one error
    Yao, AC
    Yao, FF
    JOURNAL OF ALGORITHMS, 1997, 25 (01) : 194 - 202
  • [20] Mind the Gap!Online Dictionary Matching with One Gap
    Amihood Amir
    Tsvi Kopelowitz
    Avivit Levy
    Seth Pettie
    Ely Porat
    B. Riva Shalom
    Algorithmica, 2019, 81 : 2123 - 2157