TY - GEN

T1 - Sparse compact directed acyclic word graphs

AU - Inenaga, Shunsuke

AU - Takeda, Masayuki

PY - 2006

Y1 - 2006

N2 - The suffix tree of string w represents all suffixes of w, and thus it supports full indexing of w for exact pattern matching. On the other hand, a sparse suffix tree of w represents only a subset of the suffixes of w, and therefore it supports sparse indexing of w. There has been a wide range of applications of sparse suffix trees, e.g., natural language processing and biological sequence analysis. Word suffix trees are a variant of sparse suffix trees that are defined for strings that contain a special word delimiter #. Namely, the word suffix tree of string w = w 1w 2 · · ·w k, consisting of k words each ending with #, represents only the k suffixes of w of the form w i · · ·w k. Recently, we presented an algorithm which builds word suffix trees in O(n) time with O(k) space, where n is the length of w. In addition, we proposed sparse directed acyclic word graphs (SDAWGs) and an on-line algorithm for constructing them, working in O(n) time and space. As a further achievement of this research direction, this paper introduces yet a new text indexing structure named sparse compact directed acyclic word graphs (SCDAWGs). We show that the size of SCDAWGs is smaller than that of word suffix trees and SDAWGs, and present an SCDAWG construction algorithm that works in O(n) time with O(k) space and in an on-line manner.

AB - The suffix tree of string w represents all suffixes of w, and thus it supports full indexing of w for exact pattern matching. On the other hand, a sparse suffix tree of w represents only a subset of the suffixes of w, and therefore it supports sparse indexing of w. There has been a wide range of applications of sparse suffix trees, e.g., natural language processing and biological sequence analysis. Word suffix trees are a variant of sparse suffix trees that are defined for strings that contain a special word delimiter #. Namely, the word suffix tree of string w = w 1w 2 · · ·w k, consisting of k words each ending with #, represents only the k suffixes of w of the form w i · · ·w k. Recently, we presented an algorithm which builds word suffix trees in O(n) time with O(k) space, where n is the length of w. In addition, we proposed sparse directed acyclic word graphs (SDAWGs) and an on-line algorithm for constructing them, working in O(n) time and space. As a further achievement of this research direction, this paper introduces yet a new text indexing structure named sparse compact directed acyclic word graphs (SCDAWGs). We show that the size of SCDAWGs is smaller than that of word suffix trees and SDAWGs, and present an SCDAWG construction algorithm that works in O(n) time with O(k) space and in an on-line manner.

UR - http://www.scopus.com/inward/record.url?scp=37849020017&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=37849020017&partnerID=8YFLogxK

M3 - Conference contribution

AN - SCOPUS:37849020017

SN - 8001035336

SN - 9788001035337

T3 - Proceedings of the Prague Stringology Conference '06

SP - 197

EP - 211

BT - Proceedings of the Prague Stringology Conference '06

T2 - Prague Stringology Conference '06, PSC 2006

Y2 - 28 August 2006 through 30 August 2006

ER -