Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
If a user calls LanguageDetector's detect(String txt) or addText(String txt), the full string is passed on to the subclasses and there is no check on "hasEnoughText()". For large strings, LanguageDetector should break the string into smaller parts and check for hasEnoughText().
Attachments
Issue Links
- relates to
-
TIKA-3450 CSV parsing consumes an exorbitant amount of memory/heap space when using server JSON endpoint
- Resolved