public String labelDataforPredict(String predictData)
			throws NumberFormatException, IOException {
		String predict_out = predictData.substring(0, predictData.indexOf(".")) + "_labeled.txt";
		File fout = new File(predict_out);
		if (fout.exists()) {
			fout.delete();
		}

		BufferedWriter bw = new BufferedWriter(new FileWriter(fout));
		BufferedReader br = new BufferedReader(new InputStreamReader(
				new FileInputStream(predict_out), "GBK"));
		String line;
		String[] arr;
		String wline = null;
		int cnt = 0;

		HashMap<String, String> imap;

		while ((line = br.readLine()) != null && !"".equals(line)) {
			arr = line.split("(\t|,)");
			if (arr.length < 31)
				continue;

			// 去掉第一列和第二列
			wline = "";
			String code;
			for (int i = 2; i < 31; i++) {

				if (containsChinese(arr[i])) {
					imap = codemapLst.get(i);

					if (!imap.containsKey(arr[i])) {
						code = arr[i];
					} else {
						code = imap.get(arr[i]);
					}
					codemapLst.put(i+"", imap);

				} else {
					code = arr[i];
				}

				wline += code + ",";
			}

			// 添加后面
			for (int i = 32; i < arr.length; i++) {
				wline += arr[i] + ",";
			}
			
			bw.write(wline.substring(0, wline.length()-1) + "\r\n");
		}
		br.close();
		bw.close();

		System.out.println(cnt);

		return predict_out;
	}