Skip to content

yasbd v0.1.1 - Bugfix release

Choose a tag to compare

@speedyk-005 speedyk-005 released this 01 Jun 21:41
· 146 commits to main since this release

dialog, ellipsis, initialism, and list marker improvements.

pip install --upgrade yasbd-lib

Fixed

  • Single-quote dialog: No longer splits before the dialogue tag (e.g., 'Is this great?' she said.).
  • Ellipsis mid-thought: Three-dot ellipsis (...) no longer splits mid-sentence. Only four dots are sentence boundaries.
  • Initialism detection: Pronoun I no longer triggers false splits in names like Albert I. Jones.
  • N° reference: Added to reference abbreviations to prevent split in N°. 1026.253.553.

Changed

  • HORIZONTAL_LIST_FINDER: Switched to re2 for lookbehind support. Uses \b + negative lookbehind for capitalized words instead of requiring a terminator prefix. Supports other scripts via \p{Ll}.