String matching in hypertext

被引:0
|
作者
Park, K
Kim, DK
机构
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we consider the string matching problem in hypertext, which is a nonlinear structure of text. We model the hypertext as a directed graph G = (V, E), where each node v is an element of V has text T-v associated with it and each link (v, w) is an element of E connects the end of text T-v to the start of text T-w. We define the string matching problem in hypertext as follows: Given a graph G modeling a hypertext and a pattern P, find all occurrences of the pattern in graph G. The pattern length is m and the sum of the lengths of all texts T-v in G is N. The main difficulty in the hypertext string matching problem is that the pattern may occur across links. There is a linear time algorithm for the case when graph G is a tree. In this paper we present a linear O(N + \E\) time algorithm when n(v) length (T-v) is larger than or equal to m for all v, and a more involved algorithm that takes O(N + \E\m) time when there exist some nodes v with n(v) < m. To obtain the results, we combine the notion of witnesses and duels with the suffix tree, which enables us to eliminate possible occurrences of any substring of the pattern.
引用
收藏
页码:318 / 329
页数:12
相关论文
共 50 条
  • [41] STRING MATCHING FOR STEREO VISION
    DAN, HZ
    DUBUISSON, B
    PATTERN RECOGNITION LETTERS, 1989, 9 (02) : 117 - 126
  • [42] Permuted and scaled string matching
    Butman, A
    Eres, R
    Landau, GM
    STRING PROCESSING AND INFORMATION RETRIEVAL, PROCEEDINGS, 2004, 3246 : 72 - 73
  • [43] A new string matching algorithm
    Ahmed, M
    Kaykobad, M
    Chowdhury, RA
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2003, 80 (07) : 825 - 834
  • [44] String matching with alphabet sampling
    Claude, Francisco
    Navarro, Gonzalo
    Peltola, Hannu
    Salmela, Leena
    Tarhio, Jorma
    JOURNAL OF DISCRETE ALGORITHMS, 2012, 11 : 37 - 50
  • [45] A quantum algorithm for string matching
    Niroula, Pradeep
    Nam, Yunseong
    NPJ QUANTUM INFORMATION, 2021, 7 (01)
  • [46] String-matching with OBDDs
    Choffrut, C
    Haddad, Y
    THEORETICAL COMPUTER SCIENCE, 2004, 320 (2-3) : 187 - 198
  • [47] Faster Approximate String Matching
    R. Baeza-Yates and G. Navarro
    Algorithmica, 1999, 23 : 127 - 158
  • [48] A VLSI SYSTEM FOR STRING MATCHING
    BERTOSSI, AA
    INTEGRATION-THE VLSI JOURNAL, 1990, 9 (02) : 129 - 139
  • [49] String matching with simple devices
    Petersen, Holger
    INFORMATION PROCESSING LETTERS, 2007, 105 (01) : 32 - 34
  • [50] FAST APPROXIMATE STRING MATCHING
    OWOLABI, O
    MCGREGOR, DR
    SOFTWARE-PRACTICE & EXPERIENCE, 1988, 18 (04): : 387 - 393