code: public void FeatureInit(String str, Map cpStr2Int, Map lbStr2Int) {
  	StringTokenizer strTok = new StringTokenizer(str, " \t\r\n");
  	// <label> <cp> <idx> <wgt>
  	
  	int len = strTok.countTokens();
  	if (len != 4) {
  	    return;
  	}
  	
  	String labelStr = strTok.nextToken();
  	String cpStr = strTok.nextToken();
  	int idx = Integer.parseInt(strTok.nextToken());
  	float val = 1;
  	double wgt = Double.parseDouble(strTok.nextToken());
  	
  	Integer labelInt = (Integer)lbStr2Int.get(labelStr);
  	Integer cpInt = (Integer)cpStr2Int.get(cpStr);
  	FeatureInit(labelInt.intValue(), cpInt.intValue());
  	
  	this.idx = idx;
  	this.val = val;
  	this.wgt = wgt;
      }
docs: Feature init.
  
  @param str the str
  @param cpStr2Int the cp str2 int
  @param lbStr2Int the lb str2 int