public class Postprocessor
extends java.lang.Object
Constructor and Description |
---|
Postprocessor()
Constructs a new postprocessor.
|
Modifier and Type | Method and Description |
---|---|
void |
postprocess(java.io.Reader in,
java.io.Writer out)
Postprocess the output of the main translator by replacing the fragments
translated in the EBMT preprocessing with their respective translations.
|
public void postprocess(java.io.Reader in, java.io.Writer out) throws javax.xml.stream.XMLStreamException, java.io.IOException
in
- the Reader
to read the input from.out
- the Writer
to write the output to.javax.xml.stream.XMLStreamException
- if some sort of error occurs while parsing the input XML.java.io.IOException
- if some sort of writing error occurs.