if (mode == CROSS_LINGUAL_F) {
// Translate term doc vectors into English.
exitCode = new BuildTranslatedTermDocVectors(conf).run();
} else {
// Build weighted term doc vectors.
exitCode = new BuildWeightedTermDocVectors(conf).run();
}
if (exitCode >= 0) {
LOG.info("Job BuildTranslated/WeightedTermDocVectors finished in " + (System.currentTimeMillis() - startTime) / 1000.0 + " seconds");
}else {
LOG.info("Error: BuildTranslated/WeightedTermDocVectors. Terminating...");