maxWordCount, minOccurenceCount);
targetVocabulary = VocabularyUtil.createTruncatedVocabulary(
targetWidList, targetVocabulary,
maxWordCount, minOccurenceCount);
ModifyAlgorithm sourceAlgorithm =
new UnifyRareWordsCleanAlgorithm(sourceVocabulary);
ModifyAlgorithm targetAlgorithm =
new UnifyRareWordsCleanAlgorithm(targetVocabulary);
return new Pair<ModifyAlgorithm, ModifyAlgorithm>(
sourceAlgorithm, targetAlgorithm);
}