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


Field Summary
 
Fields inherited from class ipipan.spejd.readers.Reader
AUTO, PLAIN_TXT, UNKNOWN, XCES_ANA
 
Constructor Summary
MorphReader(java.io.File path)
           
 
Method Summary
 Entity loadToken()
          Get the next token from the input.
static void main(java.lang.String[] args)
           
 boolean nextSentence(java.io.PrintStream out)
          Move on to the next sentence.
 
Methods inherited from class ipipan.spejd.readers.Reader
getReader
 
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)
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

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException