Examples of AdjectiveFeature


Examples of cz.zcu.fav.liks.ml.featuresel.features.pos.AdjectiveFeature

      features.add(new POSTagFeature(0, 5));
      cv.multiValidate(features, trainer, 10, data, null, 0);

      print("Adjective");
      features.clear();
      features.add(new AdjectiveFeature(0));
      cv.multiValidate(features, trainer, 10, data, null, 0);

      print("Verb");
      features.clear();
      features.add(new VerbFeature(0));
View Full Code Here

Examples of cz.zcu.fav.liks.ml.featuresel.features.pos.AdjectiveFeature

      features.add(new WordPairFeature(10));
      cv.multiValidate(features, trainer, 10, data, null, 0);

      print("Adjective + verb");
      features.clear();
      features.add(new AdjectiveFeature(0));
      features.add(new VerbFeature(0));
      cv.multiValidate(features, trainer, 10, data, null, 0);

      print("Adjective + verb + statementcount");
      features.clear();
      features.add(new AdjectiveFeature(0));
      features.add(new VerbFeature(0));
      features.add(new StatementCountFeature());
      cv.multiValidate(features, trainer, 10, data, null, 0);

      print("SpecificBigram + verb + adjectice + statementcount");
      features.clear();
      features.add(new SpecificBigramFeature(0));
      features.add(new VerbFeature(0));
      features.add(new AdjectiveFeature(0));
      features.add(new StatementCountFeature());
      cv.multiValidate(features, trainer, 10, data, null, 0);

    } catch (SQLException e) {
      e.printStackTrace();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.