@@ -0,0 +1,910 @@
+import java.io.BufferedReader;%0Aimport java.io.DataInputStream;%0Aimport java.io.File;%0Aimport java.io.FileInputStream;%0Aimport java.io.FileWriter;%0Aimport java.io.InputStreamReader;%0A%0Apublic class TSVprocessor %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09try %7B%0A%09%09%09File file = new File(%22input.txt%22);%0A%09%09%09file.createNewFile();%0A%09%09%09FileWriter writer = new FileWriter(file);%0A%09%09%09FileInputStream fstream = new FileInputStream(args%5B0%5D);%0A%09%09%09DataInputStream in = new DataInputStream(fstream);%0A%09%09%09BufferedReader br = new BufferedReader(new InputStreamReader(in));%0A%09%09%09String strLine = null;%0A%09%09%09while ((strLine = br.readLine()) != null) %7B%0A%09%09%09%09if (!strLine.startsWith(%22#%22)) %7B%0A%09%09%09%09%09String%5B%5D token = strLine.split(%22 %22);%0A%09%09%09%09%09writer.write(token%5B0%5D + %22 %22 + token%5B1%5D + %22 1.0%22 + %22%5Cn%22);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09in.close();%0A%09%09%09writer.flush();%0A%09%09%09writer.close();%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09System.err.println(%22Error: %22 + e.getMessage());%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create convert.java