public static Matrix getkDimCCADict(Options opt, HashMap<String, Integer> corpusInt) throws ClassNotFoundException{
		
		
		
		//String eigDict=opt.eigenWordCCAFile;
		File fEig= new File(opt.eigenWordCCAFile);
		
		
		Matrix eigDictMat=new Matrix(opt.n+1,opt.p);
		HashMap<Integer,Integer> wordsDict=new HashMap<Integer,Integer>();
		
		try{
			
			BufferedReader reader = new BufferedReader(new FileReader(fEig));
			String line = null;
			int i=0;
			while ((line = reader.readLine()) != null) {
			
			String[] words= line.split("\\s");
			
			if(corpusInt.get(words[0])!=null)
				wordsDict.put(corpusInt.get(words[0]),i);
			
			for(int j=0;j<words.length-1;j++){
				eigDictMat.set(i, j, Double.parseDouble(words[j+1]));
			}
			i++;	
			}
			
			System.out.println("=======Loaded the k-dim CCA Dictionary=======");
			//For words not in dict use OOV
			for(int l=0; l <opt.vocabSize+1;l++)
			{
				if(wordsDict.get(l)==null){
					wordsDict.put(l,0);
				}
			}
			
			setwordDict(wordsDict);
		}
		catch (IOException ioe){
			System.out.println(ioe.getMessage());
		}
		
		return eigDictMat;
		
	}