Out.puts(tdm.terms().sortedCounts());
LatentSemanticIndex lsi = tdm.createIndex();
Out.puts(first(10, lsi.rankDocumentsByTerm("bag")));
Out.puts(first(10, lsi.rankTermsByTerm("bag")));
Out.puts(first(10, lsi.rankDocumentsByTerm("codemap")));
Out.puts(first(10, lsi.rankDocumentsByQuery("split string by lower- and upper-case")));
}