Text parser and ARFF builder