com.pawjaw.classification.crf.lmcbt.readers
Class LabeledSequenceDataReader

java.lang.Object
  extended by com.pawjaw.classification.crf.lmcbt.readers.LabeledSequenceDataReader
Direct Known Subclasses:
CoNLL2000LabeledSequenceDataReader, TreeCRFLabeledSequenceDataReader

public abstract class LabeledSequenceDataReader
extends java.lang.Object


Constructor Summary
LabeledSequenceDataReader()
           
 
Method Summary
abstract  int getLabelCount()
           
abstract  int getPointFeatureCount()
           
 void readFile(java.util.List<Point[]> pointss, java.util.List<int[]> true_labelss, java.io.File f)
           
abstract  void readPoints(java.util.List<Point[]> pointss, java.util.List<int[]> true_labelss, java.io.BufferedReader br)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabeledSequenceDataReader

public LabeledSequenceDataReader()
Method Detail

readPoints

public abstract void readPoints(java.util.List<Point[]> pointss,
                                java.util.List<int[]> true_labelss,
                                java.io.BufferedReader br)
                         throws java.io.IOException
Throws:
java.io.IOException

getPointFeatureCount

public abstract int getPointFeatureCount()

getLabelCount

public abstract int getLabelCount()

readFile

public void readFile(java.util.List<Point[]> pointss,
                     java.util.List<int[]> true_labelss,
                     java.io.File f)
              throws java.io.IOException
Throws:
java.io.IOException