// These are the two input documents
String[] tokens1 = "The quick brown fox jumps over the lazy dog".split(" ");
String[] tokens2 = "The quick brown dog jumps over the lazy fox".split(" ");
// Compute a trigram relatedness
TextSimilarityMeasure measure = new WordNGramContainmentMeasure(3);
double score = measure.getSimilarity(tokens1, tokens2);
System.out.println("Trigram similarity: " + score);
// Compute ESA relatedness on Wiktionary
/*VectorComparator esa = new VectorComparator(