org.maltparser.core.dataformat.reader
Interface DataReader
- All Known Implementing Classes:
- TabReader
public interface DataReader
- Since:
- 1.0
- Author:
- Johan Hall
initialize
void initialize(String fileName,
String charsetName)
throws MaltChainedException
- Throws:
MaltChainedException
initialize
void initialize(URL url)
throws MaltChainedException
- Throws:
MaltChainedException
initialize
void initialize(InputStreamReader isr)
throws MaltChainedException
- Throws:
MaltChainedException
readProlog
void readProlog()
throws MaltChainedException
- Throws:
MaltChainedException
readSentence
boolean readSentence()
throws MaltChainedException
- Throws:
MaltChainedException
readEpilog
void readEpilog()
throws MaltChainedException
- Throws:
MaltChainedException
getSentenceCount
int getSentenceCount()
throws MaltChainedException
- Throws:
MaltChainedException
close
void close()
throws MaltChainedException
- Throws:
MaltChainedException
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.