Examples of TextRulerLearnerParameter


Examples of org.apache.uima.ruta.textruler.extension.TextRulerLearnerParameter

  }

  public TextRulerLearnerParameter[] getAlgorithmParameters() {
    TextRulerLearnerParameter[] result = new TextRulerLearnerParameter[5];

    result[0] = new TextRulerLearnerParameter(BasicLP2.WINDOW_SIZE_KEY,
            "Context Window Size (to the left and right)", MLAlgorithmParamType.ML_INT_PARAM);
    result[1] = new TextRulerLearnerParameter(BasicLP2.CURRENT_BEST_RULES_SIZE_KEY,
            "Best Rules List Size", MLAlgorithmParamType.ML_INT_PARAM);
    result[2] = new TextRulerLearnerParameter(BasicLP2.MIN_COVERED_POSITIVES_PER_RULE_KEY,
            "Minimum Covered Positives per Rule", MLAlgorithmParamType.ML_INT_PARAM);
    result[3] = new TextRulerLearnerParameter(BasicLP2.MAX_ERROR_THRESHOLD_KEY,
            "Maximum Error Threshold", MLAlgorithmParamType.ML_FLOAT_PARAM);
    result[4] = new TextRulerLearnerParameter(BasicLP2.CURRENT_CONTEXTUAL_RULES_SIZE_KEY,
            "Contextual Rules List Size", MLAlgorithmParamType.ML_INT_PARAM);

    return result;
  }
View Full Code Here

Examples of org.apache.uima.ruta.textruler.extension.TextRulerLearnerParameter

  }

  public TextRulerLearnerParameter[] getAlgorithmParameters() {
    TextRulerLearnerParameter[] result = new TextRulerLearnerParameter[5];

    result[0] = new TextRulerLearnerParameter(BasicLP2.WINDOW_SIZE_KEY,
            "Context Window Size (to the left and right)", MLAlgorithmParamType.ML_INT_PARAM);
    result[1] = new TextRulerLearnerParameter(BasicLP2.CURRENT_BEST_RULES_SIZE_KEY,
            "Best Rules List Size", MLAlgorithmParamType.ML_INT_PARAM);
    result[2] = new TextRulerLearnerParameter(BasicLP2.MIN_COVERED_POSITIVES_PER_RULE_KEY,
            "Minimum Covered Positives per Rule", MLAlgorithmParamType.ML_INT_PARAM);
    result[3] = new TextRulerLearnerParameter(BasicLP2.MAX_ERROR_THRESHOLD_KEY,
            "Maximum Error Threshold", MLAlgorithmParamType.ML_FLOAT_PARAM);
    result[4] = new TextRulerLearnerParameter(BasicLP2.CURRENT_CONTEXTUAL_RULES_SIZE_KEY,
            "Contextual Rules List Size", MLAlgorithmParamType.ML_INT_PARAM);

    return result;
  }
View Full Code Here

Examples of org.apache.uima.ruta.textruler.extension.TextRulerLearnerParameter

  }

  public TextRulerLearnerParameter[] getAlgorithmParameters() {
    TextRulerLearnerParameter[] result = new TextRulerLearnerParameter[3];

    result[0] = new TextRulerLearnerParameter(Whisk.WINDOSIZE_KEY, "Window Size",
            MLAlgorithmParamType.ML_INT_PARAM);
    result[1] = new TextRulerLearnerParameter(Whisk.ERROR_THRESHOLD_KEY, "Maximum Error Threshold",
            MLAlgorithmParamType.ML_FLOAT_PARAM);
    result[2] = new TextRulerLearnerParameter(Whisk.POSTAG_ROOTTYPE_KEY, "PosTag Root Type",
            MLAlgorithmParamType.ML_STRING_PARAM);

    return result;
  }
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.