public float[] evaluate(String inputFileName){
  JavaRDD<String> lines=jsc.textFile(inputFileName);
  DataFrame dataset=createDataFrame(lines.collect());
  return evaluate(dataset);
}

public float [ ] evaluate ( String inputFileName ) { JavaRDD < String > lines = jsc . textFile ( inputFileName ) ; DataFrame dataset = createDataFrame ( lines . collect ( ) ) ; return evaluate ( dataset ) ; }
evaluates the tagger on a manually tagged data file .
