public void setChunkSize(int chunkSize) {
        this.chunkSize = chunkSize;
    }
Size in codepoints at which to chunk the
text for detection.

@param chunkSize
tika-langdetect/tika-langdetect-opennlp/src/main/java/org/apache/tika/langdetect/opennlp/ProbingLanguageDetector.java