docs: public static void processFile(String infile, String outfile,String delimer,int tagnum) throws IOException {
  		BufferedReader in = new BufferedReader(new UnicodeReader(new FileInputStream(infile), "utf8"));
  		BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(
  				outfile), "utf8"));
  		String line = null;
  		while ((line = in.readLine()) != null) {
  			line = line.trim();
  			String newline;			
  			newline= genSegSequence(line,delimer,tagnum);
  			out.write(newline);
  			//			out.newLine();
  		}
  		in.close();
  		out.close();
  
  	}