return features;
}
private static Feature createFeature(String featureClass, String scoringFunctionClass, Element element)
throws ClassNotFoundException {
ScoringFunction scoringFunction = null;
if(scoringFunctionClass.equals(BM25ScoringFunction.class.getName())) {
float k1 = Float.parseFloat(element.getAttribute("k1"));
float b = Float.parseFloat(element.getAttribute("b"));
scoringFunction = new BM25ScoringFunction(k1, b);