public class DefaultTransitionMatrix extends TransitionMatrix
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
transitionMatrixPath
Resource path for default transition matrix.
|
BIGRAM, bigramCountMap, bigramProbMap, bigramWeights, debug, haveProbabilities, logger, totalNGrams, totalWords, TRIGRAM, trigramCountMap, trigramProbMap, trigramWeights, UNIGRAM, unigramCountMap, unigramProbMap, uniqueNGrams
Constructor and Description |
---|
DefaultTransitionMatrix()
Create default transition matrix.
|
calculateProbabilities, columnKeySet, computeBigramWeights, computeTrigramWeights, displayNGramCounts, getBigramWeights, getCount, getCount, getCount, getLogger, getProbability, getProbability, getProbability, getTotalWordCount, getTrigramWeights, incrementCount, incrementCount, incrementCount, loadTransitionMatrix, loadTransitionMatrix, loadTransitionMatrix, rowKeySet, safelyDivideCount, safelyDivideSmoothedCount, saveTransitionMatrix, saveTransitionMatrix, setLogger, sliceKeySet
close
protected static final java.lang.String transitionMatrixPath