Package org.maltparserx.parser

Examples of org.maltparserx.parser.DependencyParserConfig


    }
    if (fv == null) {
      fv = featureModel.getMainFeatureVector();
    }
   
    DependencyParserConfig c = guide.getConfiguration();
   
    if (c.getOptionValue("guide", "data_split_column").toString().length() == 0) {
      instanceModel = new AtomicModel(-1, fv, this);
    } else {
      instanceModel = new FeatureDivideModel(fv, this);
    }
  }
View Full Code Here


      fv = featureModel.getFeatureVector(subModelName);
    }
    if (fv == null) {
      fv = featureModel.getMainFeatureVector();
    }
    final DependencyParserConfig c = guide.getConfiguration();
    if (c.getOptionValue("guide", "data_split_column").toString().length() == 0) {
      instanceModel = new AtomicModel(-1, fv, this);
    } else {
      instanceModel = new FeatureDivideModel(fv, this);
    }
  }
View Full Code Here

    }
    if (fv == null) {
      fv = featureModel.getMainFeatureVector();
    }
   
    DependencyParserConfig c = guide.getConfiguration();
   
//    if (c.getOptionValue("guide", "tree_automatic_split_order").toString().equals("yes") ||
//        (c.getOptionValue("guide", "tree_split_columns")!=null &&
//      c.getOptionValue("guide", "tree_split_columns").toString().length() > 0) ||
//      (c.getOptionValue("guide", "tree_split_structures")!=null &&
//      c.getOptionValue("guide", "tree_split_structures").toString().length() > 0)) {
//      instanceModel = new DecisionTreeModel(fv, this);
//    }else
    if (c.getOptionValue("guide", "data_split_column").toString().length() == 0) {
      instanceModel = new AtomicModel(-1, fv, this);
    } else {
      instanceModel = new FeatureDivideModel(fv, this);
    }
  }
View Full Code Here

TOP

Related Classes of org.maltparserx.parser.DependencyParserConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.