}
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;
}