code: public List<Sentence> readString(String dataStr){
  		String [] lines = dataStr.split("\n");
  		List<Sentence> data = new ArrayList<Sentence>();
  		for (String line : lines){
  			Sentence sentence = new Sentence();
  			
  			if (line.startsWith("#"))
  				continue;
  			
  			StringTokenizer tk = new StringTokenizer(line, " ");	
  			while (tk.hasMoreTokens()){
  				String word = "", tag = null;
  				if (!isTrainReading){
  					String token = tk.nextToken();
  					word = token;
  					sentence.addTWord(word, tag);
  				}
  				else {
  					String token = tk.nextToken();
  					StringTokenizer sltk = new StringTokenizer(token, "/");
  					word = sltk.nextToken();
  					tag = sltk.nextToken();
  					sentence.addTWord(word, tag);
  				}
  			}	
  			data.add(sentence);
  		}
  		
  		return data;
  	}
docs: /* (non-Javadoc)
  @see jvntextpro.data.DataReader#readString(java.lang.String)