}
// NOTE: because we are using a GeneratorMap, this call will create
// a new index vector for the word if it didn't exist prior.
TernaryVector indexVector =
wordToIndexVector.get(occ.relativeWord());
if (usePermutations) {
indexVector =
permutationFunc.permute(indexVector, occ.getDistance());
}