false);
// Map to hold the idf values
Map<String, Double> idfValues = new HashMap<String, Double>();
CharacterNGramMeasure measure = new CharacterNGramMeasure(n, new HashMap<String, Double>());
// Get n-gram representations of texts
List<Set<String>> docs = new ArrayList<Set<String>>();
for (File file : files)
{
Set<String> ngrams = measure.getNGrams(FileUtils.readFileToString(file));
docs.add(ngrams);
}
// Get all ngrams