getTermStates

fun getTermStates(vararg weights: SpanWeight): Map<Term, TermStates>

Build a map of terms to TermStates, for use in constructing SpanWeights.