The Transactions of the Korea Information Processing Society (한국정보처리학회논문지)
- Volume 6 Issue 3
- /
- Pages.812-820
- /
- 1999
- /
- 1226-9190(pISSN)
A Practical Algorithm for Two-Dimensional Dictionary Matching
2차원 사전 정합을 위한 실용적인 알고리즘
Abstract
In two-dimensional dictionary matching problem, we are given a two-dimensional text T and a dictionary D={P\ulcorner, ...., P\ulcorner} as a set of two-dimensional patterns. We seek the locations of all the dictionary patterns that appear in T. We present a new two-dimensional pattern matching algorithm that can handle just a single pattern, and then show how to extend it into two-dimensional dictionary matching algorithm. The suggested algorithm is practical in the sense that it can deal that it uses a small extra space proportional to the size of the dictionary, and that it is quite simple to be implemented without depending on complicated data structures.
Keywords