edu.stanford.nlp.tagger.maxent
Class TestClassifier

java.lang.Object
  |
  +--edu.stanford.nlp.tagger.maxent.TestClassifier

public class TestClassifier
extends Object


Constructor Summary
TestClassifier(String filename1, String saveRoot)
           
 
Method Summary
static void expandModel(String filename, String oldModelFile, int iters)
           
static void iterate(String filename)
           
static void save_param(String filename)
          This saves the parameters in a file like for the Improved Iterative.
static void saveModel(String filename1, String savePath, int iterations, String[] args_output, boolean cg)
          Reads in the training corpus from a filename and trains the tagger
 void test(int format, String saveRoot)
           
 void test(String saveRoot)
          Test on a file containing correct tags already
static void testModel(String filename, String fileModel, String savePath, String[] args_output)
          Test this file with the model saved in fileModel.holder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClassifier

public TestClassifier(String filename1,
                      String saveRoot)
Method Detail

test

public void test(int format,
                 String saveRoot)

test

public void test(String saveRoot)
Test on a file containing correct tags already


iterate

public static void iterate(String filename)

saveModel

public static void saveModel(String filename1,
                             String savePath,
                             int iterations,
                             String[] args_output,
                             boolean cg)
Reads in the training corpus from a filename and trains the tagger


save_param

public static void save_param(String filename)
This saves the parameters in a file like for the Improved Iterative. This calculates the model from a filename, with the specified parameters for the history and saves the result in files filename.holder.


expandModel

public static void expandModel(String filename,
                               String oldModelFile,
                               int iters)

testModel

public static void testModel(String filename,
                             String fileModel,
                             String savePath,
                             String[] args_output)
Test this file with the model saved in fileModel.holder.



Stanford NLP Group