Releases: ryanjgallagher/shifterator
Releases · ryanjgallagher/shifterator
v0.5.0
What's new
Features
- #11:
get_weighted_score()now accepts a lexicon name string (e.g.'labMT_English') in addition to a dict - #26:
WeightedAvgShiftaccepts atype2scoreconvenience parameter for setting the same score dictionary for both corpora - #38: New
font_familyparameter onget_shift_graph()for Unicode/CJK font support (e.g.font_family='Noto Sans CJK SC')
Documentation
- #25: Full documentation of all ~40 plot parameters in
docs/plotting.rst
Testing & CI
- Added GitHub Actions CI running on Python 3.9–3.12
- 76 tests covering all shift types, core math, preprocessing, plotting, and the new features
Install
pip install git+https://github.com/ryanjgallagher/shifterator.gitv0.4.0
What's changed
- Install from GitHub, not PyPI — the PyPI release (0.3.0) is stale and we cannot currently publish updates there
- README updated to direct users to install from GitHub:
pip install git+https://github.com/ryanjgallagher/shifterator.git - Removed references to the stale ReadTheDocs site; documentation is now in the docs/ folder
- Bumped
python_requiresto>=3.8
Initial release
Initial release of Shifterator