|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectTabBitextReader
public class TabBitextReader
Reader of simple tab-delimited bilingual files.
| Constructor Summary | |
|---|---|
TabBitextReader(String filename,
String encoding)
|
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Get the current column number in the file. |
String |
getCurrentLine()
Get the current line of the bitext input. |
int |
getLineCount()
Get the current line number in the file. |
int |
getSentencePosition()
Get the current target sentence position in the file. |
int |
getTargetColumnCount()
Get the current target column number in the file. |
Iterator<StringPair> |
iterator()
|
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabBitextReader(String filename,
String encoding)
| Method Detail |
|---|
public Iterator<StringPair> iterator()
iterator in interface Iterable<StringPair>public int getColumnCount()
BitextReader
getColumnCount in interface BitextReaderpublic int getTargetColumnCount()
BitextReader
getTargetColumnCount in interface BitextReaderpublic int getLineCount()
BitextReader
getLineCount in interface BitextReaderpublic int getSentencePosition()
BitextReader
getSentencePosition in interface BitextReaderpublic String getCurrentLine()
BitextReader
getCurrentLine in interface BitextReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||