@Override
    public boolean hasEnoughText() {
        return writer.size() >= getTextLimit();
    }
{@inheritDoc}

@return the detected list of languages
@throws IllegalStateException if no models have been loaded with
                              {@link #loadModels() } or {@link #loadModels(java.util.Set) }
tika-langdetect/tika-langdetect-optimaize/src/main/java/org/apache/tika/langdetect/optimaize/OptimaizeLangDetector.java