}
public TextRulerLearnerParameter[] getAlgorithmParameters() {
TextRulerLearnerParameter[] result = new TextRulerLearnerParameter[8];
result[0] = new TextRulerLearnerParameter(Rapier.COMPRESSION_FAIL_MAX_COUNT_KEY,
"Maximum Compression Fail Count", MLAlgorithmParamType.ML_INT_PARAM);
result[1] = new TextRulerLearnerParameter(Rapier.RULELIST_SIZE_KEY, "Internal Rules List Size",
MLAlgorithmParamType.ML_INT_PARAM);
result[2] = new TextRulerLearnerParameter(Rapier.PAIR_COUNT_KEY, "Rule Pairs for Generalizing",
MLAlgorithmParamType.ML_INT_PARAM);
result[3] = new TextRulerLearnerParameter(Rapier.LIM_NO_IMPROVEMENTS_KEY,
"Maximum 'No improvement' Count", MLAlgorithmParamType.ML_INT_PARAM);
result[4] = new TextRulerLearnerParameter(Rapier.NOISE_THESHOLD_KEY, "Maximum Noise Threshold",
MLAlgorithmParamType.ML_FLOAT_PARAM);
result[5] = new TextRulerLearnerParameter(Rapier.MIN_COVERED_POSITIVES_KEY,
"Minimum Covered Positives Per Rule", MLAlgorithmParamType.ML_INT_PARAM);
result[6] = new TextRulerLearnerParameter(Rapier.POSTAG_ROOTTYPE_KEY, "PosTag Root Type",
MLAlgorithmParamType.ML_STRING_PARAM);
result[7] = new TextRulerLearnerParameter(Rapier.USE_ALL_GENSETS_AT_SPECIALIZATION_KEY,
"Use All 3 GenSets at Specialization", MLAlgorithmParamType.ML_BOOL_PARAM);
return result;
}