public marks

PUBLIC MARKS from parmentierf with tags c & algorithme

15 September 2006 06:45

Knuth-Morris-Pratt Algorithm

by 1 other
The problem: given a (short) pattern and a (long) text, both strings, determine whether the pattern appears somewhere in the text. Last time we saw how to do this with finite automata. This time we'll go through the Knuth-Morris-Pratt (KMP) algorithm, which can be thought of as an efficient way to build these automata. I also have some working C source code which might help you understand the algorithm better.

parmentierf's TAGS related to tag c

algorithme +   api +   bot +   chatterbot +   collaboratif +   dev +   ector +   firefox +   français +   free +   gnu/gpl +   google +   gratuit +   ia +   image +   irc +   java +   jeu +   lemmatisation +   levenshtein +   licence +   linux +   logiciel +   mac +   microsoft +   moteur de recherche +   mysql +   perl +   photo +   php +   python +   rpc +   ruby +   search +   sql +   standard +   string matching +   tcl +   test +   text/processing +   unix +   wiki +   windows +   xml +