Package org.languagetool.bitext
Class WordFastTMReader
java.lang.Object
org.languagetool.bitext.TabBitextReader
org.languagetool.bitext.WordFastTMReader
- All Implemented Interfaces:
Iterable<StringPair>
,BitextReader
Reader of WordFast Translation Memory text files.
They are simple tab-delimited text files.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.languagetool.bitext.TabBitextReader
in, nextLine, nextPair, sentencePos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioniterator()
final @Nullable StringPair
tab2StringPair
(String line) Methods inherited from class org.languagetool.bitext.TabBitextReader
getColumnCount, getCurrentLine, getLineCount, getSentencePosition, getTargetColumnCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WordFastTMReader
- Throws:
IOException
-
-
Method Details
-
tab2StringPair
- Overrides:
tab2StringPair
in classTabBitextReader
-
iterator
- Specified by:
iterator
in interfaceIterable<StringPair>
- Overrides:
iterator
in classTabBitextReader
-