Skip to content

Release v0.5.20211029

Choose a tag to compare

@github-actions github-actions released this 29 Oct 19:57

0.5.20211029 (2021-10-29)

Features

  • g2p generate-mapping --merge option (fixes #61) (55c1f08)
  • make the CLI command "g2p generate-mapping" more flexible (issue #61) (9ecec71)
  • config: add external config file option for cli (e4bccdc)

Bug Fixes

  • update travis CI URL (16275ef)
  • doctor: oops, that last PR broken "g2p doctor" with no argument (7483d48)
  • fra: fix fra->ipa to map all French characters (1483dea)
  • test: test local config last, since it has side effects (86d8220)
  • use is_ipa everywhere to detect IPA mappings, not .endswith("-ipa") (04d2b4b)
  • studio: fixed config table creation (33a8a58)

Performance Improvements

  • defer some expensive imports and initializations (2948537)
  • optimize Dockerfile to better use the Docker cache (9638e11)
  • optimize g2p generate-mapping by caching reused values, 8x faster (0e9ee3b)

Tests

  • fra: add some NFC test cases, to my existing NFD ones (7ac73c5)
  • fra: test the NFD cases to eng-ipa and eng-arpabet (e3902d3)
  • scan: re-enable test_scan_fra() now that fra is fixed (37fe1e1)

Continuous Integration

  • detect when g2p update is needed (d466c49)
  • detect when g2p update is needed, take 2 (3ba6127)

Code Refactoring

  • create_ipa_mapping.py - stay optimized, but easier to read (1135908)
  • delete unused p2p/init.py file/module (0d141b0)

Documentation

  • update README.md for new generate-mapping option (#61) (b52bc0c)

Styles

  • apply a few pylint recommendataions (b3489f2)
  • isort, black and pylint the files in the previous commit (ce0a4b1)