public class JPOSApplication extends Object
| Constructor and Description |
|---|
JPOSApplication() |
| Modifier and Type | Method and Description |
|---|---|
static void |
evalXVal(File dataFile,
int n,
File featureConfigFile,
int number_iter,
boolean maxEnt)
performs a 'n'-fold-cross-validation on a list of sentence strings in
piped format, like "this|o is|o a|o NE|i"
The pred files lists token\tprediction\tgold\tPOS
|
static double |
getAverage(double[] values) |
static double |
getStandardDeviation(double[] values,
double avg) |
static void |
main(String[] args) |
static void |
printFeatureConfig(File modelFile)
prints out the feature configuration used in the model 'modelFile'
|
static void |
printTagset(File modelFile)
prints out the tagset used in the model 'modelFile'
|
public static void evalXVal(File dataFile, int n, File featureConfigFile, int number_iter, boolean maxEnt) throws IOException
IOExceptionpublic static double getStandardDeviation(double[] values,
double avg)
public static double getAverage(double[] values)
public static void printFeatureConfig(File modelFile) throws FileNotFoundException, ClassNotFoundException, IOException
public static void printTagset(File modelFile) throws FileNotFoundException, ClassNotFoundException, IOException
Copyright © 2018 JULIE Lab, Germany. All Rights Reserved.