Optimal Factor Transducers

Amons strins-matchins alsorithms the two most efficient methoos of Knuth-Morris-Pratt [KMP 77] and Weiner [We 73] are usually considered as opposite of each others, In this paper we show that automata theory unifies the two approaches and sives a simple and efficient alsorithm to construct the structure, a sequential transducer, underlyins Weiner’s method.