bug fix in arff generator (duplicate words). csv to arff function