Post-generator

From Apertium
Revision as of 09:58, 12 May 2013 by Unhammer (talk | contribs)
Jump to navigation Jump to search

Many languages use a post-generator FST to fix minor orthographical issues. This FST is in lttoolbox format and is run by lt-proc with the -p or --post-generation switch. An example of such an orthographical issue is the "a" vs "an" difference in English. The english generator will output ~a, and the post-generation FST changes that to a or an depending on the following word.