ipipan.spejd.readers
Class MorphReader

java.lang.Object
  extended by ipipan.spejd.readers.Reader
      extended by ipipan.spejd.readers.MorphReader

public class MorphReader
extends Reader


Constructor Summary
MorphReader(java.io.File path, Config conf)
           
 
Method Summary
 Entity loadToken()
          Get the next token from the input.
 boolean nextSentence(java.io.PrintStream out)
          Move on to the next sentence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphReader

public MorphReader(java.io.File path,
                   Config conf)
Method Detail

loadToken

public Entity loadToken()
Description copied from class: Reader
Get the next token from the input.

Specified by:
loadToken in class Reader
Returns:
segment or no space, null if end of sentence or file

nextSentence

public boolean nextSentence(java.io.PrintStream out)
Description copied from class: Reader
Move on to the next sentence.

Specified by:
nextSentence in class Reader
Parameters:
out -
Returns:
true if there exists a next sentence