Difference between revisions of "Null flush"

From Apertium
Jump to navigation Jump to search
(Created page with ''''Null flush''' is an option (<code>-z</code>) to most Apertium programs (and programs compatible with Apertium stream format) that flushes the output buffer upon receiving …')
 
Line 1: Line 1:
 
'''Null flush''' is an option (<code>-z</code>) to most Apertium programs (and programs compatible with [[Apertium stream format]]) that flushes the output buffer upon receiving the <code>\0</code> 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.
 
'''Null flush''' is an option (<code>-z</code>) to most Apertium programs (and programs compatible with [[Apertium stream format]]) that flushes the output buffer upon receiving the <code>\0</code> 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]].
   
 
[[Category:Terminology]]
 
[[Category:Terminology]]

Revision as of 15:04, 15 January 2014

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.