Skip to content

v0.4.2 — Bundled assets

Choose a tag to compare

@ChuprinaDaria ChuprinaDaria released this 05 May 19:27
· 5 commits to main since this release

What's new

All assets are now bundled in the pip package (29MB wheel):

  • lexicon.db (12MB) — 47K lexicon entries
  • expr_seq2seq.pt (28MB) — GRU seq2seq model
  • expr_vocab_src.json, expr_vocab_tgt.json, expr_config.json — vocab + config

Changes

  • No more lazy downloadspip install dormouse-ua works out of the box
  • assets.py now checks importlib.resources (bundled package data) before falling back to cache/download
  • Removed src/dormouse/models/ — all files moved to src/dormouse/data/
pip install dormouse-ua==0.4.2