PARALLEL PATTERN-MATCHING AND FGREP

被引:0
|
作者
ASHDOWN, I [1 ]
机构
[1] HEART SOFTWARE,N VANCOUVER V7P 2C6,BC,CANADA
来源
DR DOBBS JOURNAL | 1985年 / 10卷 / 09期
关键词
COMPUTER OPERATING SYSTEMS - COMPUTER PROGRAMMING - Algorithms - DATA PROCESSING - File Organization;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Algorithms are considered that recognize patterns while searching for them in a set of data. Among them the Aho-Corasick is described as a simple and efficient algorithm to locate all occurrences of any of a finite number of keywords in a string of text. Without modification to the algorithm, 'keyword' can be taken to mean any pattern and 'a string of text' to mean any sequence of symbols, be it ASCII text, digitized data obtained from a video camera, or whatever. Various uses and applications of this algorithm are illustrated. An application of a Unix utility based on the algorithm Fgrep is used to illustrate the speed of the Aho-Corasick algorithm. Typically, fgrep is five to ten times faster than grep in searching files for fixed string patterns.
引用
收藏
页码:46 / &
相关论文
共 50 条