public class Aligner
extends java.lang.Object
Constructor and Description |
---|
Aligner(java.lang.String srcFile,
Language srcLang,
java.lang.String trgFile,
Language trgLang) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> |
align()
Align the input files according to the current settings to a list of pairs where
key = source text
value = target text
Calls
loadFiles() if it has not yet been called. |
void |
writePairsToTMX(java.io.File outFile,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> pairs) |
public void writePairsToTMX(java.io.File outFile, java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> pairs) throws java.lang.Exception
java.lang.Exception
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> align() throws java.lang.Exception
loadFiles()
if it has not yet been called.java.lang.Exception