Package org.omegat.gui.align
Class Aligner
- java.lang.Object
-
- org.omegat.gui.align.Aligner
-
public class Aligner extends java.lang.Object
Class to drive alignment of input files. Responsible for filtering and performing automatic alignment with mALIGNa.- See Also:
- mALIGNa
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 CallsloadFiles()
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)
-
-
-
Method Detail
-
writePairsToTMX
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
- Throws:
java.lang.Exception
-
align
public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> align() throws java.lang.Exception
Align the input files according to the current settings to a list of pairs where- key = source text
- value = target text
loadFiles()
if it has not yet been called.- Returns:
- Throws:
java.lang.Exception
-
-