private static LabeledFeatureVector unigram(String s, String label,
			boolean pos) {
		TreeSet<Integer> ts = new TreeSet<Integer>();
		String[] split = s.split(" |\t");
		ArrayList<TaggedWord> tagged = new ArrayList<TaggedWord>();
		for (String temp : split) {
			if (temp.length() != 0)
				tagged.add(new TaggedWord(temp.trim()));
		}
		if (pos)
			tagged = mt.apply(tagged);
		for (TaggedWord temp : tagged) {
			if (pos) {
				if (!table.containsKey(temp.toString("_"))) 
					table.put(temp.toString("_"), feaNum++);
				ts.add(table.get(temp.toString("_")));
			} else {
				if (!table.containsKey(temp.word())) 
					table.put(temp.word(), feaNum++);
				ts.add(table.get(temp.word()));
			}
		}
		int[] fea = new int[ts.size()];
		double[] val = new double[ts.size()];
		int k = 0;
		for (int tempNum : ts) {
			fea[k] = tempNum;
			val[k++] = 1.0;
		}
		LabeledFeatureVector l = new LabeledFeatureVector(
				Double.valueOf(label), fea, val);
		return l;
	}