G2p

Latest version: v2.1.1

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.1.1

:sparkles: New Features
- [`966a057`](https://github.com/roedoejet/g2p/commit/966a057a08d550a22bb151b3cf5bce16bbe86e94) - allow panphon 0.21 where possible *(commit by joanise)*
- [`aa9de1c`](https://github.com/roedoejet/g2p/commit/aa9de1c79d167d2a849a3af00fb2a338f3bcd038) - g2p show-mappings to display language names too *(commit by joanise)*
- [`c70f30f`](https://github.com/roedoejet/g2p/commit/c70f30fa845547c8bf9adf7cf24de6fe2ea00845) - network_lite with minimal DiGraph class *(commit by joanise)*
- [`123e27b`](https://github.com/roedoejet/g2p/commit/123e27b12eb19e0a57818fefa2b3c3ad2166c5fc) - add full type signatures to DiGraph *(commit by dhdaines)*
- [`6eb29ac`](https://github.com/roedoejet/g2p/commit/6eb29ac0571cb18a72265d327706842921255438) - revamp schema versioning and update-schema *(commit by joanise)*

:bug: Bug Fixes
- [`8929608`](https://github.com/roedoejet/g2p/commit/892960863de31edf4d54ce41d6e1930108f3e15b) - add [tool.setuptools_scm] in pyproject.toml to please the build system *(commit by joanise)*
- [`208a8e0`](https://github.com/roedoejet/g2p/commit/208a8e0e695550e20b92eed8b7f032de9e26e213) - **deps**: pydantic 2.9 changes our schemas, so block it *(commit by joanise)*
- [`16668b2`](https://github.com/roedoejet/g2p/commit/16668b25d46c22eead0639cda1b4d9a25dc72482) - enable type-checking and fix things *(commit by dhdaines)*
- [`6ab8545`](https://github.com/roedoejet/g2p/commit/6ab85450730c36fa99237c5c8420b6d0e84c9394) - make sure self.rules is always the type we say it is *(commit by dhdaines)*
- [`3eee1a6`](https://github.com/roedoejet/g2p/commit/3eee1a6fd5b29319eb3b292a84dc0c974fabae70) - seeing match_pattern or intermediate_form is an error *(commit by dhdaines)*
- [`bbcd1e8`](https://github.com/roedoejet/g2p/commit/bbcd1e87c2735c263c0dcb11d5a02563c55c2c6a) - avoid unnecessarily requiring a schema update *(commit by joanise)*

:zap: Performance Improvements
- [`e605ae5`](https://github.com/roedoejet/g2p/commit/e605ae58b68590d1cc7b61e7c3270c32112bc13a) - compact lexicon entries to take less RAM *(commit by joanise)*
- [`96abff3`](https://github.com/roedoejet/g2p/commit/96abff372b09e3cdb70c7094e0e2b86cf9af8a47) - replace networkx by network_lite throughout reduces memory footprint and load time *(commit by joanise)*

:recycle: Refactors
- [`d1b3437`](https://github.com/roedoejet/g2p/commit/d1b3437bf5bab25e548520b024fb72d6deb726f9) - simplify shortest_path code *(commit by dhdaines)*
- [`e2def43`](https://github.com/roedoejet/g2p/commit/e2def437f9d69a01dc1ba312d9180de95cda415a) - only declare the SCM pretend version in one place *(commit by joanise)*

:white_check_mark: Tests
- [`d03aabb`](https://github.com/roedoejet/g2p/commit/d03aabb7fd5024d9557af8bb6683bd3ead61d09c) - carefully cover compact lexicon corner cases *(commit by joanise)*

:wrench: Chores
- [`0523ba9`](https://github.com/roedoejet/g2p/commit/0523ba9f673711398c4bcbe9bae3afc4b54e9cd3) - g2p update *(commit by dhdaines)*
- [`72e761d`](https://github.com/roedoejet/g2p/commit/72e761d037af308642d5b9a08d9d38239ce2e63d) - g2p update, to get compacted lexicon *(commit by joanise)*

2.1.0

:boom: BREAKING CHANGES
- due to [`74e6172`](https://github.com/roedoejet/g2p/commit/74e6172a914b0abf8e4c5e0d853349728082b2df) - reimplement v1 API with FastAPI *(commit by dhdaines)*:

/api/v1 error status code for validation errors is always 422, no longer 400 or 404

:sparkles: Major New Features
- [`74e6172`](https://github.com/roedoejet/g2p/commit/74e6172a914b0abf8e4c5e0d853349728082b2df) - reimplement v1 API with FastAPI *(commit by dhdaines)*
- [`605ccd3`](https://github.com/roedoejet/g2p/commit/605ccd331492091e003d8acbc610656c4fcc4ed9) - reimplement Studio app with FastAPI *(commit by dhdaines)*
- [`c214c6f`](https://github.com/roedoejet/g2p/commit/c214c6fd8d95e350d9dab76e54012acb89dc0509) - add /api/v2 to studio but also make it standaloneable *(commit by dhdaines)*

:sparkles: New Features
- [`36e4dcc`](https://github.com/roedoejet/g2p/commit/36e4dcc162ce67c1602d7d14f0b4186450c103b4) - switch to hatch and dynamic versioning *(commit by dhdaines)*
- [`e0a0219`](https://github.com/roedoejet/g2p/commit/e0a021962f36ee05685f2e07f7a022f5508a1c15) - **build**: autogenerate requirements.txt with hatch-pip-compile *(commit by dhdaines)*
- [`1fe3385`](https://github.com/roedoejet/g2p/commit/1fe3385fd7edafad8da6c6a009864a9868904b6d) - add a G2P_LOGLEVEL environment variable *(commit by dhdaines)*
- [`bd33314`](https://github.com/roedoejet/g2p/commit/bd33314b897d082346c4bcc20fd049ca96b9af58) - add redirections for backward compatibility *(commit by dhdaines)*
- [`74c5c47`](https://github.com/roedoejet/g2p/commit/74c5c47e5b16e780ea07c8e18b503982848e266f) - new API supporting textual alignments *(commit by dhdaines)*
- [`7909e6e`](https://github.com/roedoejet/g2p/commit/7909e6ea07816d54b39519ab033b154a55bf6e6a) - Add sal-apa generic mapping for APA-based Salish writing systems *(commit by joanise)*
- [`077afc2`](https://github.com/roedoejet/g2p/commit/077afc204169f7d388da551ac1ad80cc976775b4) - add logic to auto-delete as_is support in g2p 3 *(commit by joanise)*
- [`d4bffad`](https://github.com/roedoejet/g2p/commit/d4bffaddc36e0404148fab392dd00f10e3caf81c) - g2p convert accepts - for stdin and linux /dev/ pipes *(commit by joanise)*
- [`f0cf073`](https://github.com/roedoejet/g2p/commit/f0cf073d8e6b3a953577eedb381a9bb13290b312) - g2p convert now accepts --file option to read a file *(commit by joanise)*
- [`a938917`](https://github.com/roedoejet/g2p/commit/a938917eaa8c027f25c95be912c5ad2a3749b8a2) - bump the current major.minor version to 2.1 *(commit by joanise)*

:bug: Bug Fixes
- [`1cc2afe`](https://github.com/roedoejet/g2p/commit/1cc2afe113c326196a10fcbb9e6d743a02053d82) - **ci**: eventlet 0.36.0 considered harmful *(commit by dhdaines)*
- [`d6004f9`](https://github.com/roedoejet/g2p/commit/d6004f97748ea03f2ff48d812659801b9ef37e78) - **style**: bump black to 24.3.0 to fix black's first CVE *(commit by joanise)*
- [`05f51f9`](https://github.com/roedoejet/g2p/commit/05f51f92d70d332e31901b2c868d4049d74bf854) - do not try to send whole lexicon over the wire *(commit by dhdaines)*
- [`49ad2ff`](https://github.com/roedoejet/g2p/commit/49ad2ff39b6187e1cb21018880402d927e616fbf) - port 5000 is used by MacOS on external interfaces *(commit by dhdaines)*
- [`629209b`](https://github.com/roedoejet/g2p/commit/629209b78248835c59bc391f82f036017cc68b8c) - **test**: use 127.0.0.1 explicitly to avoid ipv6 confusion *(commit by dhdaines)*
- [`d105e5f`](https://github.com/roedoejet/g2p/commit/d105e5f1c00109b0866c264ce01ed3427a9b4b47) - allow other mapping arguments, use on-disk alignments *(commit by dhdaines)*
- [`b29b23f`](https://github.com/roedoejet/g2p/commit/b29b23fee5e8ddf4bef764fd7d000cfd8f94add4) - **ci**: eventlet 0.36.0 considered harmful *(commit by dhdaines)*
- [`baef8fd`](https://github.com/roedoejet/g2p/commit/baef8fd95bb7f5fb3904afad9df9e6d3fc927b00) - **ci**: remove bogus sleep *(commit by dhdaines)*
- [`52b3bfd`](https://github.com/roedoejet/g2p/commit/52b3bfd2aa51fcd7775487745a81abc25c71a5ff) - needed apply-longest-first for atj (since the beginning *(commit by dhdaines)*
- [`d9a07e5`](https://github.com/roedoejet/g2p/commit/d9a07e5a09e50a9371f8b3a952fee0aa841e5ab3) - do not copy the input mapping filename when generating *(commit by dhdaines)*
- [`ea04262`](https://github.com/roedoejet/g2p/commit/ea042628b9419eb3844b67b63d68cc8875723542) - do not try to generate mappings for empty outputs *(commit by dhdaines)*
- [`f50768e`](https://github.com/roedoejet/g2p/commit/f50768ed039d92540f3aa8faae5a07357f28dd45) - g2p convert should not add newline when input is a file *(commit by joanise)*
- [`561817c`](https://github.com/roedoejet/g2p/commit/561817c6711707b17bdefdf0761f6f519d2c38c6) - **deps**: specific anti-dependency on broken coloredlogs version *(commit by dhdaines)*
- [`9f92f65`](https://github.com/roedoejet/g2p/commit/9f92f65dd16dc91eb3bd8e442e55415bd8fe2ad1) - **deps**: use optional dependencies correctly (for docs too) *(commit by dhdaines)*
- [`c8cba5f`](https://github.com/roedoejet/g2p/commit/c8cba5ff6783ca89cf3b417fedeeb3df0fdd901f) - **test**: no longer require flask needlessly for some tests *(commit by dhdaines)*
- [`1a602ca`](https://github.com/roedoejet/g2p/commit/1a602ca2e66ac1b275cd6372d85cf47ec58f9023) - **build**: various build fixes *(commit by dhdaines)*
- [`9543c96`](https://github.com/roedoejet/g2p/commit/9543c96c168fa0a360db2022df7266b2993448a9) - **deps**: old versions of eventlet are also broken *(commit by dhdaines)*
- [`4e6c3ab`](https://github.com/roedoejet/g2p/commit/4e6c3aba4c78c86e9ed7af1bb7f410ddbf99fafc) - **docs**: add install link for hatch *(commit by dhdaines)*
- [`656f07a`](https://github.com/roedoejet/g2p/commit/656f07a257c319f91ba390bbf87a806b03096b47) - **ci**: ensure version matches schema *(commit by dhdaines)*
- [`4e23d76`](https://github.com/roedoejet/g2p/commit/4e23d76b630c54fc8df3a3f4c33efafed7f407f7) - **docs**: mention conda *(commit by dhdaines)*
- [`38d5290`](https://github.com/roedoejet/g2p/commit/38d5290ea7352d7a01ddc4ed5f92d8d456d68b2d) - **build**: add a hook to make sure we have g2p/_version.py on heroku *(commit by dhdaines)*
- [`1bba827`](https://github.com/roedoejet/g2p/commit/1bba827aa03857874b09b909ca37d26f150ebc36) - update API for newer FastAPI *(commit by dhdaines)*
- [`5922f6f`](https://github.com/roedoejet/g2p/commit/5922f6f2ca96035658dd0f8a651931222e811b4c) - get Studio working with FastAPI *(commit by dhdaines)*
- [`98a07f1`](https://github.com/roedoejet/g2p/commit/98a07f17c2acfe5cbb2fd0e652b14b8135909c4a) - restore compatible 404 response and enable api tests *(commit by dhdaines)*
- [`89bd9b3`](https://github.com/roedoejet/g2p/commit/89bd9b3062a2dcd56d728d81c61aaadb4645bb06) - **deps**: fix deps for api *(commit by dhdaines)*
- [`cfc50c6`](https://github.com/roedoejet/g2p/commit/cfc50c6ef197bbdd1fbee660cd38245967e55c71) - update prod environment and workflow *(commit by dhdaines)*
- [`ebc16ff`](https://github.com/roedoejet/g2p/commit/ebc16ff21ca2a51e1382d8a5b1533781db5ccd6c) - now need python 3.8 on windows *(commit by dhdaines)*
- [`0a7c78b`](https://github.com/roedoejet/g2p/commit/0a7c78bf91adb1a00c4fcaa2bd88bc5cf6d12827) - not sure why we need to disable sendfile *(commit by dhdaines)*
- [`4bcd948`](https://github.com/roedoejet/g2p/commit/4bcd948e84e1a9eb3d279558db2011d2124aefe1) - remove fastapi-socketio *(commit by dhdaines)*
- [`d5d2086`](https://github.com/roedoejet/g2p/commit/d5d20864dbf7534600b4063842577846749c01c4) - make the g2p library tests still run on Python 3.7 *(commit by joanise)*
- [`f55e6bb`](https://github.com/roedoejet/g2p/commit/f55e6bb46a09c2ae9309925bb0e042ca43efa410) - **ci**: make coverage work again *(commit by dhdaines)*
- [`9bc3855`](https://github.com/roedoejet/g2p/commit/9bc3855cca068bcc080ca30915a928c977c21531) - **test**: fix coverage *(commit by dhdaines)*
- [`ff6c92d`](https://github.com/roedoejet/g2p/commit/ff6c92d717941c247d557a81330c83f038ef018a) - more specific dependency to avoid gnashing of teeth *(commit by dhdaines)*
- [`2d68577`](https://github.com/roedoejet/g2p/commit/2d6857776b0dd4bd0d2d8dd995c780ab60ea34fb) - **deps**: correct the gunicorn dependency... again *(commit by dhdaines)*
- [`5e3c0f1`](https://github.com/roedoejet/g2p/commit/5e3c0f197e05bf968f4dbae5f69c73ff65a9e64e) - split /langs and /nodes as they are not the same thing *(commit by dhdaines)*
- [`a88df6a`](https://github.com/roedoejet/g2p/commit/a88df6a415d77392c82e289fdf20487123385e74) - **build**: depend on gitlint-core, not gitlint *(commit by joanise)*
- [`f126e1d`](https://github.com/roedoejet/g2p/commit/f126e1d5bd6474408f5f97dbb46b885894d11dc9) - **studio**: studio is same-origin so no CORS, also add debug option *(commit by dhdaines)*
- [`9f88fbf`](https://github.com/roedoejet/g2p/commit/9f88fbf4eebd3d018ea8400173e37ff8f553b4b4) - **studio**: make deleting entire input work right *(commit by dhdaines)*
- [`2a18cdd`](https://github.com/roedoejet/g2p/commit/2a18cddcb8f636f0d9c15c2157ed68f5af4fe936) - **ci**: enable G2P_STUDIO_DEBUG to satisfy coverage *(commit by dhdaines)*
- [`30b572a`](https://github.com/roedoejet/g2p/commit/30b572a97b37146d93710f67bee815a7b6d9f312) - normalize ó in mohawk *(commit by MENGZHEGENG)*
- [`e6a1280`](https://github.com/roedoejet/g2p/commit/e6a12801b100075a22ea071302a7aad4379f9f82) - **app**: do not rely on running at the g2p root dir *(commit by joanise)*
- [`627ca2e`](https://github.com/roedoejet/g2p/commit/627ca2ed8180928475ecc0a55699bab9c5ff1a7f) - **tests**: silence the logs in test_api_resources tests *(commit by joanise)*
- [`54fc772`](https://github.com/roedoejet/g2p/commit/54fc772fd5c4e228139833055bd6de9e2551000d) - **deps**: pin panphon to 0.19-0.20 as 0.21 breaks many things *(commit by dhdaines)*
- [`3323eb4`](https://github.com/roedoejet/g2p/commit/3323eb46b5d1730c9c94835b379484934ee1df13) - **ci**: remove stale job dependency in pythonpublish workflow *(commit by joanise)*
- [`f0c744b`](https://github.com/roedoejet/g2p/commit/f0c744bf1899c9644dcd311588abf280c2b463b7) - **ci**: remove broken fetch-tags from test workflow *(commit by joanise)*
- [`80b55a2`](https://github.com/roedoejet/g2p/commit/80b55a2a1a6e7d7480594f724c87204af8cf1324) - **ci**: drop python 3.7 unsupported EOL from matrix testing *(commit by joanise)*
- [`95a773e`](https://github.com/roedoejet/g2p/commit/95a773e169d91ff44950e64967cc158295dd2857) - **test**: remove expired deprecation test *(commit by joanise)*
- [`6843fd8`](https://github.com/roedoejet/g2p/commit/6843fd8b41b5352dec5e73c99ea890b16bde427d) - **ci**: update stale actions in python publish script *(commit by joanise)*

:zap: Performance Improvements
- [`b772bd6`](https://github.com/roedoejet/g2p/commit/b772bd618d92f0c0178658c03d82f65f8bc0bce9) - make g2p convert line-oriented when processing a file *(commit by joanise)*
- [`e6c006d`](https://github.com/roedoejet/g2p/commit/e6c006da1e46eac95e3b6015b562d388110b9d0d) - read files as you process them, not up front *(commit by joanise)*

:recycle: Refactors
- [`13b2f81`](https://github.com/roedoejet/g2p/commit/13b2f81e59337844de4f2df71b97561e05bc9527) - simplify and clarify the failure output of test_langs.py *(commit by joanise)*
- [`5351133`](https://github.com/roedoejet/g2p/commit/5351133c2ba9fd4c2a75baa6f74f74308b158fce) - rename types->shared_types to avoid collision *(commit by joanise)*

:white_check_mark: Tests
- [`55a8694`](https://github.com/roedoejet/g2p/commit/55a8694e0c973d9f1412a3cb31955a4c338ec390) - **studio**: make sure we test one lexicon mapping *(commit by joanise)*
- [`b971231`](https://github.com/roedoejet/g2p/commit/b97123193704bb7aa59f0e8f0c1fb893f22fc454) - add coverage for xsampa mapping *(commit by dhdaines)*
- [`0e4dc75`](https://github.com/roedoejet/g2p/commit/0e4dc75065c3d343b9337173c9796ecf89b669f9) - fix tests (and put api2 in a separate env) *(commit by dhdaines)*
- [`a0aa8c5`](https://github.com/roedoejet/g2p/commit/a0aa8c5bc53fa0de0a07d18d32fcd24075a7fce6) - exercise g2p-studio switching output langs *(commit by joanise)*
- [`fc43dbd`](https://github.com/roedoejet/g2p/commit/fc43dbd8a7ebcbf4bad8a488e9eb3632408ffe31) - **moh**: add moh tests for ó normalization *(commit by roedoejet)*
- [`3405626`](https://github.com/roedoejet/g2p/commit/34056261643a0edc3c12a5a695dd241685d7c0bc) - add a (near) pep440 unit test *(commit by joanise)*

:wrench: Chores
- [`9826ceb`](https://github.com/roedoejet/g2p/commit/9826cebbe802609f8acab41f853047cd439f6f4c) - g2p update *(commit by dhdaines)*
- [`ff7de51`](https://github.com/roedoejet/g2p/commit/ff7de51fab15783c73f79f024819f88f100d3528) - add ignores for untyped modules *(commit by dhdaines)*
- [`24ada71`](https://github.com/roedoejet/g2p/commit/24ada71c178e79b8e57b2ce65575c8a07bc5867f) - **deps**: remove dependencies that were never used directly *(commit by dhdaines)*
- [`fdacd74`](https://github.com/roedoejet/g2p/commit/fdacd74afc889c9665e5dfafc30a2713fd3b3849) - delete deprecated code *(commit by joanise)*
- [`f4683a9`](https://github.com/roedoejet/g2p/commit/f4683a990405ff61d45c9ab7dfc98cd682c32732) - **deps**: update pyproject and requirements *(commit by dhdaines)*
- [`a6aeb2f`](https://github.com/roedoejet/g2p/commit/a6aeb2f9f4505daa0ec1a331e99786a2d8fd1410) - g2p update *(commit by joanise)*
- [`8dafbeb`](https://github.com/roedoejet/g2p/commit/8dafbeb1eb1f652895c5dc143cbcac8e85e62107) - run g2p update *(commit by roedoejet)*

2.0.0

:boom: BREAKING CHANGES
- Mapping configuration files have changed, and the programmatic API has changed.
Please visit the [migration guide](https://roedoejet.github.io/g2p/latest/migration-2/) for information on how to update 1.x mappings to g2p 2.x and other changes.

- due to [`1d8e4fb`](https://github.com/roedoejet/g2p/commit/1d8e4fb665a6d3c066b1d8b0ac635390887d025a) - switch to pydantic 2 *(commit by roedoejet)*:
Requires python 3.7 (dropped support for Python 3.6).

:sparkles: New Features
- [`fd33a26`](https://github.com/roedoejet/g2p/commit/fd33a26023e6038660858fe8699d181fc3c42390) - **cli**: add update-schema command *(commit by roedoejet)*
- [`f85c4f2`](https://github.com/roedoejet/g2p/commit/f85c4f283c19c44dad4fd51f166e15dc21802cd2) - use json for network as well *(commit by dhdaines)*
- [`b01ec23`](https://github.com/roedoejet/g2p/commit/b01ec234e86f067647c5f57412c0f426a9b5655b) - upgrade networkx now that we can *(commit by dhdaines)*
- [`9fe200d`](https://github.com/roedoejet/g2p/commit/9fe200d83dd6ea433b10f5348e605ce3a97ae729) - **schema**: update schema generation to include dialect spec by default *(commit by roedoejet)*
- [`a04aeff`](https://github.com/roedoejet/g2p/commit/a04aeff3918eaac05b37ffc70ba8b518d13b7955) - add case preservation option to mappings *(commit by roedoejet)*
- [`c31c66b`](https://github.com/roedoejet/g2p/commit/c31c66bd4632182856490c5186ad3374fae950c5) - g2p-studio also needs to support preserve_case *(commit by joanise)*
- [`7447fe6`](https://github.com/roedoejet/g2p/commit/7447fe656a5b6877b3f50f8116bbf0acbc8101f5) - make x caron equiv to x dot below in clm *(commit by joanise)*
- [`d4fdc8c`](https://github.com/roedoejet/g2p/commit/d4fdc8caa40fbb3e5dd849f9963b826130715931) - **str**: accept space+comb-cedilla or space+comb-comma as equiv to cedilla *(commit by joanise)*

:bug: Bug Fixes
- [`20e3bcb`](https://github.com/roedoejet/g2p/commit/20e3bcbae840c821fb6f5bf348522b4c0c7897f8) - **pkl**: remove generated default date *(commit by roedoejet)*
- [`22644e7`](https://github.com/roedoejet/g2p/commit/22644e7cf5fb0fbf6ad07086c23eb86095b0f9e5) - **studio**: refactor to 'rules' instead of 'mapping' key *(commit by roedoejet)*
- [`30dc282`](https://github.com/roedoejet/g2p/commit/30dc282bd26180372af9f36e10ad300b7b97866c) - **ci**: require 3.8 for windows ci *(commit by roedoejet)*
- [`1df2dfd`](https://github.com/roedoejet/g2p/commit/1df2dfd8256485ec7301d0d52324bc011a2ba962) - add miscellaneous style fixes and typos *(commit by roedoejet)*
- [`5ccd595`](https://github.com/roedoejet/g2p/commit/5ccd5950754d4dcd89e4c4954eeba404a59c8625) - **update**: prevent loading all the mappings multiple times *(commit by roedoejet)*
- [`45d5ecf`](https://github.com/roedoejet/g2p/commit/45d5ecf26eaeefc33af6f62b19ba22a6e9061aa6) - **tests**: fix studio tests *(commit by roedoejet)*
- [`16e4869`](https://github.com/roedoejet/g2p/commit/16e4869ae9bd60370fc7267b3e95c7a4ecb15e75) - restore Python 3.7 compatibility *(commit by joanise)*
- [`060a8aa`](https://github.com/roedoejet/g2p/commit/060a8aa77b9eff8c911ab04ec6d593dc00890f5b) - use more generic variable names *(commit by dhdaines)*
- [`ac2d42d`](https://github.com/roedoejet/g2p/commit/ac2d42dc6c665f1b55fe58cb394b5d5496008e53) - **deps**: back off networkx dep for python 3.7 *(commit by dhdaines)*
- [`fa27730`](https://github.com/roedoejet/g2p/commit/fa27730399f631bdafc40a7127b091cbd009e632) - **crg**: fix various rule feeding and ordering bugs for Michif *(commit by joanise)*
- [`007aef5`](https://github.com/roedoejet/g2p/commit/007aef5b28afceb15d448c3bae019fd555ef9485) - **crg**: manually clean up crg-ipa -> eng-ipa *(commit by joanise)*
- [`0e9271a`](https://github.com/roedoejet/g2p/commit/0e9271af789c976682dcfcec10f85fcef2c52f37) - **test**: fix failure in test failure *(commit by dhdaines)*
- [`15d5b64`](https://github.com/roedoejet/g2p/commit/15d5b64a91cc6f69a3067de85da952c1c144a409) - test file could have arbitrary extra fields *(commit by dhdaines)*
- [`25f4713`](https://github.com/roedoejet/g2p/commit/25f4713dddb4a848b5af3060f654ab814ad44ae2) - output a compatible config-g2p.yaml though some filenames change *(commit by dhdaines)*
- [`32fe87c`](https://github.com/roedoejet/g2p/commit/32fe87c6dbe18366fb7183ab8ae91bd165765905) - add config_only option to export_to_dict *(commit by dhdaines)*
- [`b5f9747`](https://github.com/roedoejet/g2p/commit/b5f974745b850f00761af6d77df76fb47a0de3b9) - um, yes, model_dump() exists *(commit by dhdaines)*
- [`2e5e560`](https://github.com/roedoejet/g2p/commit/2e5e5607020bad2050b9c5defee16b843850e925) - do not exclude defaults, just inappropriate keys for config *(commit by dhdaines)*
- [`9975100`](https://github.com/roedoejet/g2p/commit/9975100a5d9c775edf2ddc49661fd8ad625454cd) - add missing double vowel vowels to crg *(commit by dhdaines)*
- [`83b6c1c`](https://github.com/roedoejet/g2p/commit/83b6c1c0cb7f9b7ca2d8a95f79aa4e8adcc98559) - cursèd unicode g strikes again *(commit by dhdaines)*
- [`f766a66`](https://github.com/roedoejet/g2p/commit/f766a66ba313d30708dcfee4773273ddecb7c7bd) - remove werkzeug lock since it is no longer necessary *(commit by joanise)*
- [`1c7792f`](https://github.com/roedoejet/g2p/commit/1c7792f170db87376b7a4cad993b2253a0f51f2c) - correct the unit testing output for g2p mapping errors *(commit by joanise)*
- [`996a060`](https://github.com/roedoejet/g2p/commit/996a060bef49ba2bb9be1c85850491c77d01663e) - remove unused kwargs in transducer call *(commit by roedoejet)*
- [`d1aa6dd`](https://github.com/roedoejet/g2p/commit/d1aa6dd02aa496aab121d6848bc6dd43b03b0b1e) - sort rules without explicit indices *(commit by roedoejet)*
- [`d768d74`](https://github.com/roedoejet/g2p/commit/d768d749fc227ca70279c2e1725b42305c6b2ba0) - detect incompatible case_sensitive+preserve_case instances *(commit by joanise)*
- [`35868bb`](https://github.com/roedoejet/g2p/commit/35868bb8a3250bf52452740759244bff86beaca9) - preserve indices through prevent-feeding intermediate form *(commit by joanise)*
- [`01ff75e`](https://github.com/roedoejet/g2p/commit/01ff75e1c34aab1c679df8c9c32b6c334c40330f) - fix coverage issues and grepping for slow imports *(commit by joanise)*
- [`251739a`](https://github.com/roedoejet/g2p/commit/251739a5f614714c698662700e0aa3502f68c4d9) - **deps**: lock numpy<2 because 2.0.0 is coming and has breaking changes *(commit by joanise)*
- [`27d0d2d`](https://github.com/roedoejet/g2p/commit/27d0d2d5cc12849a51c9e0bb10b69f36558c53c1) - rename crj and crl "East Cree, Nor/Southern" so they sort nicely *(commit by joanise)*
- [`17519d8`](https://github.com/roedoejet/g2p/commit/17519d811ee96c035ee0ba888e6348960c5fc2a4) - y in oka should go to /j/, palatal glide, not /y/ *(commit by joanise)*
- [`b52a819`](https://github.com/roedoejet/g2p/commit/b52a819ef3551d3523a95706cf7c9ed97820426d) - issue a fatal error when reading an empty mapping *(commit by joanise)*
- [`95bf4be`](https://github.com/roedoejet/g2p/commit/95bf4be192cbeb24d9c78da4318ff050f46dedcf) - **app**: errors in mappings should just trigger console warnings *(commit by joanise)*
- [`5993242`](https://github.com/roedoejet/g2p/commit/5993242788e636ccedda9f1216f6b05c461057ff) - **str**: cedilla is now the default glottal stop character *(commit by joanise)*
- [`d18d17a`](https://github.com/roedoejet/g2p/commit/d18d17a33c3fc02d6e9125daff7a0897317c9487) - publish schemas only for major.minor, ignoring .patch *(commit by joanise)*
- [`f2a7563`](https://github.com/roedoejet/g2p/commit/f2a7563a03ff62eca40579ddf268e25f96bfef96) - assertEquals is removed from Python 3.12 *(commit by joanise)*
- [`5592659`](https://github.com/roedoejet/g2p/commit/55926592686c19a3c4a06df495ff50407fca4b8b) - close xlsx workbook after reading *(commit by joanise)*
- [`7f34057`](https://github.com/roedoejet/g2p/commit/7f3405766fe34a04d5c99adf47fe85c3fe42b25d) - loading xlsx workbooks should not fail on empty cells *(commit by joanise)*

:zap: Performance Improvements
- [`a5f51b7`](https://github.com/roedoejet/g2p/commit/a5f51b7114e3b7a9fd7cd7738fefec5997f97b10) - only create APP when it is really needed *(commit by joanise)*
- [`0b8d773`](https://github.com/roedoejet/g2p/commit/0b8d773282f4c1ae6f7b4ba6b348ea1717842673) - defer a whole bunch of expensive imports from the CLI *(commit by joanise)*
- [`978153b`](https://github.com/roedoejet/g2p/commit/978153b8155a224db9d6778c914aa16bd20cc1d6) - remove the app from the cli to make the CLI faster *(commit by joanise)*

:recycle: Refactors
- [`eec8e82`](https://github.com/roedoejet/g2p/commit/eec8e82d33f268c91b8abb66345574962644e84d) - massive refactor to pydantic *(commit by roedoejet)*
- [`1d8e4fb`](https://github.com/roedoejet/g2p/commit/1d8e4fb665a6d3c066b1d8b0ac635390887d025a) - switch to pydantic 2 *(commit by roedoejet)*
- [`a753e07`](https://github.com/roedoejet/g2p/commit/a753e07c31ab129b711bead45574c204927abb3d) - **config**: require a 'mappings' key *(commit by roedoejet)*
- [`006d370`](https://github.com/roedoejet/g2p/commit/006d370a85aeff56d89cb5439a1b6f5944622509) - in_char and out_char to rule_input and rule_output *(commit by roedoejet)*
- [`b448523`](https://github.com/roedoejet/g2p/commit/b4485230718ab72b094ddb9ae1842187649ff184) - change to config-g2p.yaml *(commit by roedoejet)*
- [`5a67040`](https://github.com/roedoejet/g2p/commit/5a670408721b5a433a97102e6e0a5605adb34a67) - change langs.pkl to langs.json *(commit by roedoejet)*
- [`5b259ff`](https://github.com/roedoejet/g2p/commit/5b259ffeaab38251335c50e73ec7d2136eee7b41) - separate data and path for rules, abbreviations, and alignments *(commit by roedoejet)*
- [`ddefe77`](https://github.com/roedoejet/g2p/commit/ddefe77f55eedc630cb9f1e0c23ed2cc66b9f634) - make mapping.rules the only way to get to the rules *(commit by joanise)*
- [`090145e`](https://github.com/roedoejet/g2p/commit/090145eff53470e8a23b789384445d15aba71a6d) - **docs**: change docs to mkdocs *(commit by roedoejet)*
- [`3c8f51a`](https://github.com/roedoejet/g2p/commit/3c8f51ad848fe8c3c8fec65b218118e8bf1539ea) - **docs**: add nav footer and move python example *(commit by roedoejet)*
- [`df0b61e`](https://github.com/roedoejet/g2p/commit/df0b61ed99f38a276e4db4240663bb5a261df158) - move strip_index_notation function to general utils module *(commit by roedoejet)*
- [`8363cfa`](https://github.com/roedoejet/g2p/commit/8363cfa8c3dcba1171d027d5130710b896e2af41) - move strip_index_notation to mappings/utils.py *(commit by joanise)*
- [`5d2e3bb`](https://github.com/roedoejet/g2p/commit/5d2e3bb0be0b1a0e18e4edb6d2d59f775b28fa5d) - use ABCs to keep typing despite deferring imports *(commit by joanise)*
- [`c9c7c1e`](https://github.com/roedoejet/g2p/commit/c9c7c1e46cd2c0c4545d7912427f9cffafec2be3) - put types in types.py for more clarity *(commit by joanise)*
- [`2379fe4`](https://github.com/roedoejet/g2p/commit/2379fe459a19316c621d645853731d25dad3f4d9) - remove dead code, create_app was only needed for the cli *(commit by joanise)*
- [`b79480f`](https://github.com/roedoejet/g2p/commit/b79480f66696c20dae7b294fd27c5193ddf6bc6e) - replace deprecated pydantic v1 validator by v2 equivalents *(commit by joanise)*
- [`91e03a0`](https://github.com/roedoejet/g2p/commit/91e03a03fe1794608a81a8a2631de3f03182d88e) - make test runners DRYer and let dev be default *(commit by joanise)*
- [`414c812`](https://github.com/roedoejet/g2p/commit/414c812efc36ed7ebe107c0bf2a59b5f21b9c2d6) - version numbers are now PEP 440 compliant, not date based *(commit by joanise)*

:white_check_mark: Tests
- [`482fbc6`](https://github.com/roedoejet/g2p/commit/482fbc6a6d2288f054ccfecf9211e12e32f43a83) - add a test case for generate-mapping --ipa *(commit by joanise)*
- [`3811a9e`](https://github.com/roedoejet/g2p/commit/3811a9e77d4a98676a4339c8c537eecd2f8a2470) - **kwk**: minimally exercice kwk BOAS->Umist case preservation *(commit by joanise)*
- [`4c3e102`](https://github.com/roedoejet/g2p/commit/4c3e1024e00cb89e32930078e31d4a959f2a7919) - exercise index preservation through prevent-feeding *(commit by joanise)*
- [`2156be8`](https://github.com/roedoejet/g2p/commit/2156be8044d82046b70d2ab3f78bffc9657422c9) - exercise create_app() in unit testing *(commit by joanise)*

1.1.20230822

[1.1.20230822](https://github.com/roedoejet/g2p/compare/v1.1.20230511...v1.1.20230822) (2023-08-22)


Features

* **deps:** make dependencies dependant on the Python version ([6e68140](https://github.com/roedoejet/g2p/commit/6e6814045b6f04e8eae5e0e9d2281cad5e9f60e9))
* clm (Klallam) mapping to g2p ([882925a](https://github.com/roedoejet/g2p/commit/882925ab7caa5110b0353edc223f6bf398df945b))
* **moh:** update moh mappings ([14e8bc6](https://github.com/roedoejet/g2p/commit/14e8bc61909e332e8ad8cc6bc96ea0c7bd622442))


Bug Fixes

* bisect_left does not accept key before Python 3.10 ([cbb9fb2](https://github.com/roedoejet/g2p/commit/cbb9fb2c3d977ea1e4b8051e30e7c9b3649eb906))
* updating flask means updating socketio means updating socket.io.js ([785f668](https://github.com/roedoejet/g2p/commit/785f668222f361d78b0fcaa99e0dce895d6b2f9d))
* **deps:** make sure engineio and socketio are all compatible ([600b2ec](https://github.com/roedoejet/g2p/commit/600b2ec59ee62b0d37156bca130fbf0e3bfbb197))
* have generate-mapping create files that pass pre-commit hooks ([f6494a9](https://github.com/roedoejet/g2p/commit/f6494a91cd8111d0984a71b4eeb616ffceabcc85))
* the egg syntax is deprecated, use the at syntax instead ([697abcb](https://github.com/roedoejet/g2p/commit/697abcb76e848ae9bf13cd61bc613931c7192c39))
* **deps:** lock dnspython to compatible 2.3.0 ([e4eaa96](https://github.com/roedoejet/g2p/commit/e4eaa961d759e66d3d43e690f32680cbee9cf940))
* ^ and $ are null-length so require separate sorting for creating fixed-width lookbehind ([1ef573b](https://github.com/roedoejet/g2p/commit/1ef573b6d242460710b1a934fb097e91ee057ef6))
* error with missing apostrophe ([8e55e44](https://github.com/roedoejet/g2p/commit/8e55e446bcd4f2070454641f822a948b23f6447c))
* **mapping:** fix bug in haa mapping and add test suite lookbehind construction ([a9e5e69](https://github.com/roedoejet/g2p/commit/a9e5e690d39bf7a3824cfc46277c114b0152e0f5))
* **moh:** change name of language to Kanien'kéha ([e3ab8c3](https://github.com/roedoejet/g2p/commit/e3ab8c372eb4d5753924e3abbab1da091f9b9e08))
* **studio:** pin hands on table to 12.4 ([b7df593](https://github.com/roedoejet/g2p/commit/b7df593aa3cc61c38ecd3bf98ed1079e3b66f91c))


Performance Improvements

* build only in_seq or mappings as needed for alignments ([4e6de3b](https://github.com/roedoejet/g2p/commit/4e6de3b8c1f8828721ef849f864a605590d2b574))
* store lexicon alignments as strings to save memory ([6543214](https://github.com/roedoejet/g2p/commit/65432147014bbb677b5242c34605ba6b080f5ce4))
* store lexicon k:v entries as joined strings, even less RAM ([b984c42](https://github.com/roedoejet/g2p/commit/b984c42b19a2eaa415292a1ae20de265a7765486))


Tests

* add unit test case mimicking [130](https://github.com/roedoejet/g2p/issues/130) to confirm it works on Windows ([b413089](https://github.com/roedoejet/g2p/commit/b413089f3145e355daf536773dab8e21b1c3579a))
* exercise the short -h option in unit testing ([40db7fc](https://github.com/roedoejet/g2p/commit/40db7fc9c7a4262c354276169b4717336c2c5d15))


Build Systems

* bump gunicorn to latest version, just published ([01234c7](https://github.com/roedoejet/g2p/commit/01234c79652a0cfe0b0bc3fc184de2ec9d64e672))
* bump Heroku runtime to 3.10.12 as per Heroku warning ([7f249d9](https://github.com/roedoejet/g2p/commit/7f249d9ef33f92cd02ca0d9851ba72abb670fca8))
* force Heroku to bump python to 3.10.11, and docs ([a0b9c03](https://github.com/roedoejet/g2p/commit/a0b9c0312965afc872f94f82fa6831dcd8b8f5e4))


Continuous Integration

* only run the full matrix test on release ([f02f1ff](https://github.com/roedoejet/g2p/commit/f02f1ff68c32a8211fe6eeeb0e9ff586310e8696))
* reorganize CI test suites ([c04c660](https://github.com/roedoejet/g2p/commit/c04c6607d8122c0e52aff4b86411025dfec74b67))
* run matrix tests on push to main too since that gets deployed ([2622913](https://github.com/roedoejet/g2p/commit/2622913d7f402d782e9be1729384ed94f077666c))


Documentation

* tell the user they need python 3.7 if they try to run studio with older ([50852d8](https://github.com/roedoejet/g2p/commit/50852d8259bf47b6a6ca2a64b9e605ebe121ecdc))
* update phoneset ([5eb14b1](https://github.com/roedoejet/g2p/commit/5eb14b14a61ee752b0fd23f3c9459e8c33cf9bbc))


Code Refactoring

* apply dhd feedback to remove dead code and unflatten the alignment ([324e1a2](https://github.com/roedoejet/g2p/commit/324e1a2bfa251b5bd29393306d1afc022ca8d0bd))

1.1.20230511

[1.1.20230511](https://github.com/roedoejet/g2p/compare/v1.0.20230417...v1.1.20230511) (2023-05-11)


⚠ BREAKING CHANGES

* make_g2p(in, out) used to *not* tokenize, now it does, and its tok_lang argument is deprecated
* g2p convert now tokenizes by default

Features

* expose the tokenize option to api/v1/g2p ([3f572c4](https://github.com/roedoejet/g2p/commit/3f572c4bcdb080ff1faebee5fb0dbc7cab2ea39d))
* g2p convert now tokenizes by default ([4d67902](https://github.com/roedoejet/g2p/commit/4d679027be8bd6bf0ca7599cddd3e5ab18a1641a))
* make_g2p now tokenizes by default and has new signature ([ecfe2ca](https://github.com/roedoejet/g2p/commit/ecfe2ca903c512114da75d9d41f036165baec3b3))


Bug Fixes

* adjust all calls to make_g2p to its new signature ([bea7cec](https://github.com/roedoejet/g2p/commit/bea7ceceff88784c877a23aef15532ce9363cda6))
* g2p needs to update both generated .pkl and .json files ([2be51f8](https://github.com/roedoejet/g2p/commit/2be51f89a38506ed9ecd5da172232961ac550c6b)), closes [#237](https://github.com/roedoejet/g2p/issues/237)
* remove --path option to g2p convert, which does not work anyway ([f99774f](https://github.com/roedoejet/g2p/commit/f99774fa0f02a26c0cbb69077402791547a83cd3))
* use the more canonical DeprecationWarning to flag deprecation ([e8a8a4d](https://github.com/roedoejet/g2p/commit/e8a8a4d85fa8597eea343aedd1655f602065e2af))
* **mappings:** output should not be escaped ([5bd3250](https://github.com/roedoejet/g2p/commit/5bd3250efe039095e267bc9c30b89eefa5dc5c03))


Documentation

* add tokenize arg for api/v1/g2p to swagger.json ([d2f226f](https://github.com/roedoejet/g2p/commit/d2f226ffc5eae8e445debed2371fe2abc4cd2c24))


Continuous Integration

* make test_studio.py fast enough to run on each push ([5fa2a01](https://github.com/roedoejet/g2p/commit/5fa2a010cd371be2e74327e3cdaa0ebe8141c1a7))
* remove unused coveralls, make our omit compat with coverage 7.x ([3f9d2df](https://github.com/roedoejet/g2p/commit/3f9d2dfa317923983aef9c90a534d1e1b883e1fb))


Tests

* execise api/v1/g2p with and without tokenize ([c64322f](https://github.com/roedoejet/g2p/commit/c64322fc9dad8fb6c4fb484a1899404f1b87c7fa))
* improve coverage of error situations in CLI ([0b3f5ee](https://github.com/roedoejet/g2p/commit/0b3f5ee18212d25289b5ff4ae07d1d9023a09c55))


Code Refactoring

* make Tokenizer the base class name, and declare to return types ([7c8e8f1](https://github.com/roedoejet/g2p/commit/7c8e8f1fbb9bc0f1c80fd2d63a5fe1b00a81981e))
* move deprecation and version checking code to their own file ([e61daa4](https://github.com/roedoejet/g2p/commit/e61daa44ca1450206fc7e8f122bec21722ff25dc))
* remove dead code in app.py, increase test cov and speed up tests ([07e87d6](https://github.com/roedoejet/g2p/commit/07e87d640eb468e712eccf726197e5f4468344cb))

1.0.20230417

[1.0.20230417](https://github.com/roedoejet/g2p/compare/v1.0.20230412...v1.0.20230417) (2023-04-17)


Bug Fixes

* eng is already in the langs now, no need to hardcode ([b038ad2](https://github.com/roedoejet/g2p/commit/b038ad2769e2f7b90d81489444b7a693d139d287))
* import g2p should not alter sys.stdout/err globally ([80e0d1b](https://github.com/roedoejet/g2p/commit/80e0d1b87915ddbc96370c7ed3df107dedb5d01b))
* the CLI (and only the CLI) needs to ensure utf8 output on Windows ([cbeff1f](https://github.com/roedoejet/g2p/commit/cbeff1f6151bda8b1972b33e48d2910b7c171e7c))


Code Refactoring

* move get_langs from Studio/readalongs to g2p ([c06ae5d](https://github.com/roedoejet/g2p/commit/c06ae5d2b5d6799323139560584f77610839c2c3))
* rename get_langs->get_arpabet_langs to make purpose clearer ([7c5222e](https://github.com/roedoejet/g2p/commit/7c5222e72727364acabc8bd6d2c61293b030dacb))


Continuous Integration

* annotate version tags ([99b1747](https://github.com/roedoejet/g2p/commit/99b17470bcaf3f00651634a7116d3cd5511accb0))
* make sure the CLI outputs utf8 on Windows ([2612a1a](https://github.com/roedoejet/g2p/commit/2612a1a16efddbf9424b00461b005749d161d0e7))
* tell codecov to ignore the utf8 patch for Windows ([4339009](https://github.com/roedoejet/g2p/commit/4339009e4b9ed13e7b8f6b653f790ed87575a3fe))

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.