MaltParser 1.0.1

org.maltparser.core.dataformat.reader
Class TabReader

java.lang.Object
  extended by org.maltparser.core.dataformat.reader.TabReader
All Implemented Interfaces:
DataReader

public class TabReader
extends Object
implements DataReader

Since:
1.0
Author:
Johan Hall

Constructor Summary
TabReader(Sentence sentence)
           
 
Method Summary
 void close()
           
 BufferedReader getReader()
           
 Sentence getSentence()
           
 int getSentenceCount()
           
 void initialize(InputStreamReader isr)
           
 void initialize(String fileName, String charsetName)
           
 void initialize(URL url)
           
 void readEpilog()
           
 void readProlog()
           
 boolean readSentence()
           
 void setReader(BufferedReader reader)
           
 void setSentence(Sentence sentence)
           
 void setSentenceCount(int sentenceCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabReader

public TabReader(Sentence sentence)
Method Detail

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

MaltParser 1.0.1

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.