r/yasbd_lib•
Speedk4011

yasbd-lib v0.15.0 is out with opt-in language detection and OCR boundary fixes

Title: yasbd-lib v0.15.0 is out with opt-in language detection and OCR boundary fixes

Just shipped v0.15.0 of yasbd-lib with lazy language classification, OCR line-break handling, and smarter abbreviation rules.

What's new:

  • Language auto-detection is now opt-in: py3langid is no longer a core dependency and is imported lazily inside classify_language(), removing heavy dependencies like numpy for default usage
  • OCR line-break boundary preservation: StreamCleaner now converts newlines between word characters into spaces to prevent accidental word concatenation
  • Geopolitical abbreviation handling: expanded ORG_PROPER_NOUNS in English rules to prevent premature sentence splits after abbreviations like U.S. and U.K.

Shoutout to new contributor @ColumbusLabs for their PR in this release!

repo: https://github.com/speedyk-005/yasbd-lib

Posted Aug 13, 2026, 4:44 PM UTC

10
Loading comments…