ACFindDoc.tioga
Dave Rumph, September 30, 1985 5:32:48 pm PDT
ACFind - Finding multiple keywords in a single pass
CEDAR 6.0 — FOR INTERNAL XEROX USE ONLY
ACFind
Finding multiple keywords in a single pass
Dave Rumph
© Copyright 1985 Xerox Corporation. All rights reserved.
Abstract: ACFind implements the Aho-Corasick algorithm for finding multiple keywords in a section of text in a single pass. The implementation builds and then uses a deterministic finite automaton (DFA), and so is quite fast, especially for many keywords or repeated searches for the same keywords. A client-supplied ActionProc is called for each instance of each keyword found. Keywords are supplied as a LIST OF ROPE, and the target text is in the form of a ROPE. The documentation may be found in the interface.
Created by: Dave Rumph
Maintained by: Dave <Rumph.pasa>, Intelnet 844-2818
Keywords: find, search, pattern, keyword
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
For Internal Xerox Use Only