Skip to content

Changelog

0.1.4 – 2026-09-07

  • Fix publish workflow: tomllib is 3.11+ only, use regex parse so 3.10 runner publishes correctly
  • Fix scripts/bump_patch.py to only bump when staged changes exist (avoid bump on pre-commit run)
  • Docs: sync index.md / api.md with split modules and 21.05 date format

0.1.3 – 2026-09-07

  • Chore: auto bump patch before commit (scripts/bump_patch.py + .pre-commit-config.yaml local hook + .git/hooks/pre-commit fallback, pre-commit install enabled)

0.1.2 – 2026-09-07

  • Docs: clean README (remove sparkles), add Architecture section

0.1.1 – 2026-09-04

  • Guard publish if version already on PyPI (publish.yml)

0.1.0 – 2026-09-03

  • Initial Polish port of Whisper english.py / basic.py (diacritics-aware)
  • Cardinal/ordinal with Morfeusz2 declensions, fractions, half, currency, percent, time, months (conditional)
  • Strict typing (py.typed, mypy), ruff, pre-commit, CI, MkDocs

Unreleased (refactor)

  • Split monolithic polish.py (1172 lines) into lemmatizer.py, utils.py, numbers.py, time.py, text.py with polish.py shim for compat
  • Fix diacritic-less ASR: trzysta czterdziesci osiem348 (was 300 czterdziesci 808 piec 7) – expand lexicons with utils.with_ascii_variants and build declined ASCII map via Morfeusz.generate
  • Handle wpol/polnoc/poludnie/pol/poltora and fractions/months via same map; time/text now delegate fully to PolishLemmatizer
  • Ellipsis (..., ) no longer leaks stray . tokens; punctuation separates numerals (10, 500, 9010 500 90) while valid composition (dwa tysiące dwadzieścia trzy2023) is kept
  • Expand year abbreviation r./rroku (w r. 1860w roku 1860); accept colloquial ośmnaście18
  • Drop trailing ordinal dots in PolishTextNormalizer output so piętnasty15.15 for WER
  • Time: already-digit godzina 20.1520:15, o godzinie 16.05o 16:05, o godzinie szesnastej piątejo 16:05