//////////////////////
// Frequent Phrases //
//////////////////////
if (usePrecomputedFrequentPhrases) {
logger.info("Reading precomputed frequent phrases from disk");
FrequentPhrases frequentPhrases = new FrequentPhrases(sourceSuffixArray, frequentPhrasesFileName);
frequentPhrases.cacheInvertedIndices();
}
logger.info("Constructing grammar factory from parallel corpus");
ParallelCorpusGrammarFactory parallelCorpus;