logProbs.setCount(tag, Double.NEGATIVE_INFINITY);
}
}
return;
}
Datum datum = new BasicDatum(featExtractor.makeFeatures(wordIndex.get(word)));
logProbs = scorer.logProbabilityOf(datum);
if (subtractTagScore) {
Set<String> tagSet = logProbs.keySet();
for (String tag : tagSet) {
logProbs.incrementCount(tag, -Math.log(tagDist.probabilityOf(tag)));