Parser of csv to generate a script file and weka file