Flag diacritics

From Apertium
Revision as of 06:47, 20 October 2014 by Unhammer (talk | contribs)
Jump to navigation Jump to search

Flag diacritics are a tool that let you express morphological dependencies as constraints between states in an FST, where constraints are checked at run-time instead of at compile-time. This lets you have fewer states in your FST (at the cost of some run-time overhead).

The concept originally comes from Xerox Finite State Toolkit, but has been reimplemented in HFST (as well as an experimental mode in lttoolbox-java/Flag diacritics).

Some consider flag diacritics harmful. Nevertheless, there is a GsoC idea to implement them in lttoolbox.