Searched refs:checkLength (Results 1 – 1 of 1) sorted by relevance
665 final int checkLength = NUM_CHARS_TO_GET_BEFORE_CURSOR - 1; in getNgramContextFromNthPreviousWord() local666 final String reference = prev.length() <= checkLength ? prev.toString() in getNgramContextFromNthPreviousWord()667 : prev.subSequence(prev.length() - checkLength, prev.length()).toString(); in getNgramContextFromNthPreviousWord()673 if (internal.length() > checkLength) { in getNgramContextFromNthPreviousWord()674 internal.delete(0, internal.length() - checkLength); in getNgramContextFromNthPreviousWord()