Text this: Construction of a finite state automaton for an intelligent navigation /