public Matrix sentenceSimMatrix(String s1, String s2){
    	List<String> lemma1 = this.lemmatize(s1);
    	List<String> lemma2 = this.lemmatize(s2);
    	
    	List<String> pos1 = this.partOfSpeech(s1);
    	List<String> pos2 = this.partOfSpeech(s2);
    	
    	double[][] simmat = new double[lemma1.size()][lemma2.size()];
    	
    	for(int i=0;i<lemma1.size();i++){
    		for(int j=0;j<lemma2.size();j++){
   			
    			if(pos1.get(i).startsWith(".")&&pos2.get(j).startsWith(".")){}
    			else if(lemma1.get(i).equals(lemma2.get(j))){
    				simmat[i][j] = 1;
    			}else if(pos1.get(i).startsWith("NN")&&pos2.get(j).startsWith("NN")){
    				WordSimilarity ws = new WordSimilarity();
    				simmat[i][j] = ws.getSimilarity(lemma1.get(i), lemma2.get(j), "n", "n");
    			}else if(pos1.get(i).startsWith("VB")&&pos2.get(j).startsWith("VB")){
    				WordSimilarity ws = new WordSimilarity();
    				simmat[i][j] = ws.getSimilarity(lemma1.get(i), lemma2.get(j), "v", "v");
    			} 
    			else{
    				simmat[i][j] = 0;
    			}
    		}
    	}
    	
    	return new Matrix(simmat);
    }