//for backward compatibility
// weightedVector = CLIRUtils.createTermDocVector(terms.length, term2Tf, eVocabSrc, eScoreFn, globalStatsMap, true, sLogger);
// don't count numbers for the min #terms constraint since Wikipedia has "sentences" full of numbers that doesn't make any sense
int numNonNumbers = 0;
for(String term : weightedVector.keySet()){
if (!term.matches("\\d+")) {
numNonNumbers++;
}
}
if(numNonNumbers < MinVectorTerms){