On some applications of finite-state automata theory to natural language processing | Synapse