@Test
public void testWordJacardDFIDF() throws Exception {

	String command = String.format(hadoopCommand,
			stemmedTweets.getAbsolutePath(),
			outputLocation.getAbsolutePath(), "JACARD_INDEX",
			resultsOutputLocation.getAbsolutePath(), "DFIDF",
			"analysis.stemmed");
	HadoopTwitterTokenTool.main(command.split(" "));
	LinkedHashMap<Long, JacardIndex> timejacardIndex = CumulativeTimeWord
			.readTimeCountLines(resultsOutputLocation.getAbsolutePath());
	String srsOut = resultsOutputLocation.getAbsolutePath() + "-srs";
	command = String.format(hadoopCommand, stemmedTweets.getAbsolutePath(),
			outputLocation.getAbsolutePath(), "JACARD_INDEX", srsOut,
			"DFIDF", "analysis.stemmed");
	command += " -rm";
	HadoopTwitterTokenTool.main(command.split(" "));
	LinkedHashMap<Long, JacardIndex> srstimejacardIndex = CumulativeTimeWord
			.readTimeCountLines(srsOut);
	for (Long key : srstimejacardIndex.keySet()) {
		assertTrue(srstimejacardIndex.get(key).equals(
				timejacardIndex.get(key)));
	}
}