Encyclopedia > Aho-Corasick algorithm

  Article Content

Aho-Corasick algorithm

The string searching algorithm invented by Alfred V. Aho and Margaret J. Corasick[?] searches the text for an element of finite set of patterns.

Informally, the algorithm constructs a search engine first and then uses it on raw text. In many cases, where the set of patterns is given in advance (e.g. computer virus database), the construction step could be performed only once and the compiled engine stored for later use.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Quadratic formula

... parabola intersects the x-axis in two points.) If the discriminant is negative, then there are two different solutions x, both of which are complex numbers. The tw ...

 
 
 
This page was created in 21.1 ms