lingscope.io
Class AnnotatedSentencesIO

java.lang.Object
  extended by lingscope.io.AnnotatedSentencesIO

public class AnnotatedSentencesIO
extends java.lang.Object

Reads and writes annotated sentences


Constructor Summary
AnnotatedSentencesIO()
           
 
Method Summary
static java.util.List<AnnotatedSentence> read(java.lang.String fileToRead)
          Reads and returns the list of AnnotatedSentence from the given file
static void write(java.lang.String fileToWrite, java.util.List<AnnotatedSentence> annotatedSentences)
          Writes the given list of annotated sentences to the given fileToWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedSentencesIO

public AnnotatedSentencesIO()
Method Detail

read

public static java.util.List<AnnotatedSentence> read(java.lang.String fileToRead)
Reads and returns the list of AnnotatedSentence from the given file

Parameters:
fileToRead -
Returns:

write

public static void write(java.lang.String fileToWrite,
                         java.util.List<AnnotatedSentence> annotatedSentences)
Writes the given list of annotated sentences to the given fileToWrite

Parameters:
fileToWrite -
annotatedSentences -