PATTERN MATCHING MACHINES FOR REPLACING SEVERAL CHARACTER STRINGS
PATTERN MATCHING MACHINES FOR REPLACING SEVERAL CHARACTER STRINGS
复制标题
用于替换多个字符串的模式匹配机
DOI:
10.5109/13361
复制
发表时间:
1984
期刊:
影响因子:
--
通讯作者:
S. Shiraishi
中科院分区:
文献类型:
--
作者:
S. Arikawa;S. Shiraishi
This paper presents a pattern matching machine which detects all occurrences of the longest possible keywords in a text and replaces them with the corresponding keywords. The pattern matching machine of this type is a generalized sequential machine and is constructed in nearly the same way as AhoCorasick's pattern matching machine to locate all occurrences of keywords. We show algorithms to construct our pattern matching machine and to make the machine run on a given text string, and show the validities of them. We also consider the time complexity of the algorithms and evaluate the running time of the algorithms. Finally we discuss some applications of our pattern matching machines.