/** * Returns all the trigram backoff weights * * @return all the trigram backoff weights */ public float[] getTrigramBackoffWeights() { return getNGramBackoffWeights(3); }
ngramBackoffTable[i - 1] = loader.getNGramBackoffWeights(i); ngramSegmentTable[i - 1] = loader.getNGramSegments(i);
/** * Returns all the trigram backoff weights * * @return all the trigram backoff weights */ public float[] getTrigramBackoffWeights() { return getNGramBackoffWeights(3); }
ngramBackoffTable[i - 1] = loader.getNGramBackoffWeights(i); ngramSegmentTable[i - 1] = loader.getNGramSegments(i);