public static List<LabeledFeatureVector> readFeaVec(File file) throws Exception
	{
		Vector<LabeledFeatureVector> v=new Vector<LabeledFeatureVector>();
		BufferedReader in= new BufferedReader(new FileReader(file));
		String temp="";
		while((temp=in.readLine())!=null)
		{
			String[] split=temp.split(ConstantClass.delimiter);
			if(split.length!=2)
				continue;
			String vec=split[1];
			String[] vecSplit=vec.split(" ");
			int[] fea = new int[vecSplit.length-1];
			double[] val = new double[vecSplit.length-1];
			int k = 0;
			for (int i=1;i<vecSplit.length;i++) {
				String[] tempNum=null;
				try {
					tempNum = vecSplit[i].split(":");
					fea[k] = Integer.valueOf(tempNum[0]);
					val[k++] = Double.valueOf(tempNum[1]);
				} catch (Exception e) {
					System.out.println(temp);	
					System.exit(0);
				}
			}
			LabeledFeatureVector l = new LabeledFeatureVector(
					Double.valueOf(vecSplit[0]), fea, val);
			v.add(l);
		}
			in.close();
			return v;
		
	}