CrossTable
public CrossTable(java.util.Map<Term,com.google.common.util.concurrent.AtomicDouble> aPlusB,
java.util.Map<Term,com.google.common.util.concurrent.AtomicDouble> aPlusC,
int totalCoOccurrences)
Constructs this cross table with a term index and inits the table
with all co-occurrences of the term index's terms. This init process is
based on terms' context vectors, which must be computed before
invoking this constructor.
- Throws:
java.lang.NullPointerException
- if terms' context vectors are not already computed
java.lang.NullPointerException
- when the context vectors of term index terms are not
- See Also:
Term#getContextVector()