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 条
  • [21] Multiple approximate string matching
    BaezaYates, R
    Navarro, G
    ALGORITHMS AND DATA STRUCTURES, 1997, 1272 : 174 - 184
  • [22] ANOMALY MATCHING FOR THE QCD STRING
    BALAKRISHNA, BS
    PHYSICAL REVIEW D, 1993, 48 (12) : R5471 - R5474
  • [23] Scaled and permuted string matching
    Butman, A
    Eres, R
    Landau, GM
    INFORMATION PROCESSING LETTERS, 2004, 92 (06) : 293 - 297
  • [24] A quantum algorithm for string matching
    Pradeep Niroula
    Yunseong Nam
    npj Quantum Information, 7
  • [25] A Method for Fuzzy String Matching
    Wu, Wen-Yen
    2016 INTERNATIONAL COMPUTER SYMPOSIUM (ICS), 2016, : 380 - 383
  • [26] Parallel string matching with scaling
    Mongelli, H
    Song, SW
    PDPTA'2001: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, 2001, : 605 - 609
  • [27] String matching in the DNA alphabet
    Tarhio, J
    Peltola, H
    SOFTWARE-PRACTICE & EXPERIENCE, 1997, 27 (07): : 851 - 861
  • [28] Transposition invariant string matching
    Mäkinen, V
    Navarro, G
    Ukkonen, E
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2005, 56 (02): : 124 - 153
  • [29] STRING MATCHING WITH WEIGHTED ERRORS
    BERTOSSI, AA
    LUCCIO, F
    LODI, E
    PAGLI, L
    THEORETICAL COMPUTER SCIENCE, 1990, 73 (03) : 319 - 328
  • [30] EFFICIENT SYSTOLIC STRING MATCHING
    MEGSON, GM
    ELECTRONICS LETTERS, 1990, 26 (24) : 2040 - 2042