public float getPrecision(String[] manualSummaries, String[] generatedSummaries){
		String manualSummary,generatedSummary;
		int matchCount = 0;
		int generatedSummaryCount=0;
		String[] manualOneGram = null,generatedOneGram = null;
		if(manualSummaries==null || generatedSummaries==null || manualSummaries.length!=generatedSummaries.length){
			return 0.00f;
		}
		for(int i=0;i<manualSummaries.length;i++){
			manualSummary = manualSummaries[i];
			generatedSummary = generatedSummaries[i];
			manualOneGram = manualSummary.split("[^\\p{L}\\p{Nd}]");
			generatedOneGram = generatedSummary.split("[^\\p{L}\\p{Nd}]");
			
			
			for (String generatedWord: generatedOneGram){
				for (String manualWord: manualOneGram){
					if(generatedWord.equalsIgnoreCase(manualWord)){
						matchCount++;
					}
				}
			}
			generatedSummaryCount+=generatedOneGram.length;
		}
		return ((float)matchCount/(float)generatedSummaryCount);
	}