org.maltparser.core.dataformat.reader
Class TabReader
java.lang.Object
org.maltparser.core.dataformat.reader.TabReader
- All Implemented Interfaces:
- DataReader
public class TabReader
- extends Object
- implements DataReader
- Since:
- 1.0
- Author:
- Johan Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabReader
public TabReader(Sentence sentence)
initialize
public void initialize(String fileName,
String charsetName)
throws MaltChainedException
- Specified by:
initialize
in interface DataReader
- Throws:
MaltChainedException
initialize
public void initialize(URL url)
throws MaltChainedException
- Specified by:
initialize
in interface DataReader
- Throws:
MaltChainedException
initialize
public void initialize(InputStreamReader isr)
throws MaltChainedException
- Specified by:
initialize
in interface DataReader
- Throws:
MaltChainedException
readEpilog
public void readEpilog()
- Specified by:
readEpilog
in interface DataReader
readSentence
public boolean readSentence()
throws MaltChainedException
- Specified by:
readSentence
in interface DataReader
- Throws:
MaltChainedException
readProlog
public void readProlog()
- Specified by:
readProlog
in interface DataReader
getReader
public BufferedReader getReader()
setReader
public void setReader(BufferedReader reader)
getSentence
public Sentence getSentence()
setSentence
public void setSentence(Sentence sentence)
getSentenceCount
public int getSentenceCount()
- Specified by:
getSentenceCount
in interface DataReader
setSentenceCount
public void setSentenceCount(int sentenceCount)
close
public void close()
throws MaltChainedException
- Specified by:
close
in interface DataReader
- Throws:
MaltChainedException
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.