optimaize/language-detector

CommonTextObjectFactories.forDetectingOnLargeText() not working

Opened this issue · 2 comments

The detector cannot even detect English text (large enough), wasted time. Just returning Optional.absent() . And working slow

+1

detect() method returns a language only when its confidence is greater than minimalConfidence (99.99% by default). You could try using getProbabilities instead, it returns all languages that have probability larger than probabilityThreshold (10% default).