org.itc.irst.tcc.sre.data
Class SentenceSet

java.lang.Object
  extended by org.itc.irst.tcc.sre.data.ExampleSet
      extended by org.itc.irst.tcc.sre.data.SentenceSet
All Implemented Interfaces:
ExampleSetReader, ExampleSetWriter

public class SentenceSet
extends ExampleSet

TO DO

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Field Summary
(package private) static org.apache.log4j.Logger logger
          Define a static logger variable so that it references the Logger instance named SentenceSet.
 
Constructor Summary
SentenceSet()
           
 
Method Summary
 ExampleSet copy()
          Returns a shallow copy of this ExampleSet instance: the instances, ids and class labels themselves are not cloned.
static void main(java.lang.String[] args)
           
 void read(java.io.Reader in)
           
private  java.util.List tokenize(java.lang.String t)
           
 void write(java.io.Writer out)
           
 
Methods inherited from class org.itc.irst.tcc.sre.data.ExampleSet
add, addAll, classArray, classes, classFreq, clear, getClassCount, id, size, toString, x, y
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Define a static logger variable so that it references the Logger instance named SentenceSet.

Constructor Detail

SentenceSet

public SentenceSet()
Method Detail

write

public void write(java.io.Writer out)
           throws java.io.IOException
Throws:
java.io.IOException

read

public void read(java.io.Reader in)
          throws java.io.IOException
Throws:
java.io.IOException

tokenize

private java.util.List tokenize(java.lang.String t)

copy

public ExampleSet copy()
Returns a shallow copy of this ExampleSet instance: the instances, ids and class labels themselves are not cloned.

Specified by:
copy in class ExampleSet
Returns:
a shallow copy of this example set.

main

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