Null flush

From Apertium
Revision as of 15:04, 15 January 2014 by Unhammer (talk | contribs)
Jump to navigation Jump to search

Null flush is an option (-z) to most Apertium programs (and programs compatible with Apertium stream format) that flushes the output buffer upon receiving the \0 character instead of on end-of-file. This allows programs which call Apertium externally to keep a translator online, meaning they can avoid startup time for every translation.

To see how to use this in practice, read Daemon.