fsa_build builds an automaton from a list of words. The list should be sorted. It is not important which LOCALE is used for sorting as long as the order is consistent.
The output is an automaton that can be used by fsa_spell, fsa_accent, fsa_morph, fsa_guess, fsa_hash, and fsa_pre_fix.