Class ModelTrainer


  • public class ModelTrainer
    extends Object
    Driver to train a model file. The training data will have to be provided.
    Author:
    shashank
    • Constructor Detail

      • ModelTrainer

        public ModelTrainer()
    • Method Detail

      • usage

        public static void usage()
        Prints the usage for the model trainer
      • main

        public static void main​(String[] args)
        Parameters:
        args - 0 - Annotator type ("cue" or "scope") 1 - Model type ("crf", "baseline" or "negex") 2 - File from which training data will be read 2 - File where the model will be saved