Class JNETApplication


  • public class JNETApplication
    extends java.lang.Object
    Command line application
    • Constructor Summary

      Constructors 
      Constructor Description
      JNETApplication()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void evalXVal​(java.util.List<java.lang.String> ppdData, java.io.File tagsFile, int n, java.io.File predictionOutFile, java.io.File performanceOutFile, java.io.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​(java.lang.String[] args)  
      static void printFeatureConfig​(java.io.File modelFile)
      prints out the feature configuration used in the model 'modelFile'
      static void printOutputAlphabet​(java.io.File modelFile)
      prints out the tagset used in the model 'modelFile'
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JNETApplication

        public JNETApplication()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args -
      • evalXVal

        public static void evalXVal​(java.util.List<java.lang.String> ppdData,
                                    java.io.File tagsFile,
                                    int n,
                                    java.io.File predictionOutFile,
                                    java.io.File performanceOutFile,
                                    java.io.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
      • getStandardDeviation

        public static double getStandardDeviation​(double[] values,
                                                  double avg)
      • getAverage

        public static double getAverage​(double[] values)
      • printFeatureConfig

        public static void printFeatureConfig​(java.io.File modelFile)
        prints out the feature configuration used in the model 'modelFile'
      • printOutputAlphabet

        public static void printOutputAlphabet​(java.io.File modelFile)
        prints out the tagset used in the model 'modelFile'