code: private void run() throws IOException
  	{
  		PrintWriter pw = new PrintWriter(new FileWriter(outputFile));
  		LineNumberReader lr = new LineNumberReader(new FileReader(inputFile));
  		String line = null;
  		int j  = 0;
  		//String t = null;
  		while ((line = lr.readLine()) != null)
  		{
  			logger.info(j + " " + line);
  			pw.print("1");
  			pw.print("\t");
  			pw.print(++j);
  			pw.print(".tease\t");
  			String[] s = line.split(" ");
  			for (int i=0;i<s.length - 1;i++)
  			{
  
  				String[] t = s[i].split("/");
  				if (i != 0)
  					pw.print(" ");
  
  				pw.print(i);
  				pw.print("&&");
  				pw.print(t[0]); // form
  				pw.print("&&");
  				pw.print(t[1]); // lemma
  				pw.print("&&");
  				pw.print(t[2]); // pos
  				pw.print("&&");
  				pw.print(t[3]); // NE  | O
  				pw.print("&&");
  				pw.print(t[4]); // target | O
  
  			}
  			pw.print("\n");
  		} // end while
  		lr.close();
  		pw.flush();
  		pw.close();
  	}
docs: read the data set