Skip to content

Commit

Permalink
release phonemizer-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Bernard committed Oct 10, 2019
1 parent 9ed2c35 commit 7d534b5
Showing 1 changed file with 38 additions and 37 deletions.
75 changes: 38 additions & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,60 +4,61 @@ Version numbers follow [semantic versioning](https://semver.org)

## phonemizer-2.0

* **incompatible change:** starting with ``phonemizer-2.0`` only python3 is
supported. **Compatibility with python2 is no more ensured nor tested.**
https://pythonclock.org.
* **incompatible change**

* **bugfix** new ``--language-switch`` option to use with ``espeak`` backend
to deals with language switching on phonemized output. In previous version
there was a bug in detection of the language switching flags (sometimes
removed, sometimes not). Now you can choose to keep the flags, to remove them,
or to delete the whole utterance.
Starting with ``phonemizer-2.0`` only python3 is supported. **Compatibility
with python2 is no more ensured nor tested.** https://pythonclock.org.

* new ``--with-stress`` option to use with ``espeak`` backend to not remove the
stresses on phonemized output. For instance:
* **bugfixes**

$ echo "hello world" | phonemize
həloʊ wɜːld
$ echo "hello world" | phonemize --with-stress
həlˈoʊ wˈɜːld
* new ``--language-switch`` option to use with ``espeak`` backend to deals
with language switching on phonemized output. In previous version there was
a bug in detection of the language switching flags (sometimes removed,
sometimes not). Now you can choose to keep the flags, to remove them, or to
delete the whole utterance.

* bugfix in a test with `espeak>=1.49.3`.

* improved logging: by default only warnings are displayed, use the new
``--quiet`` option to inhibate all log messages or ``--verbose`` to see all of
them. Log messages now display level name (debug/info/warning).
* bugfix using `NamedTemporaryFile` on windows, see
[#21](https://github.com/bootphon/phonemizer/issues/21).

* improved code organization:
* bugfix when calling *festival* or *espeak* subprocesses on Windows, see
[#17](https://github.com/bootphon/phonemizer/issues/17).

* backends are now implemented in the ``backend`` submodule
as separated source files.
* bugfix in detecting recent versions of *espeak-ng*, see
[#18](https://github.com/bootphon/phonemizer/issues/18).

* improved version string (displays uninstalled backends, moved outside of
main for use from Python).
* bugfix when using utf8 input on *espeak* backend (python2), see
[#19](https://github.com/bootphon/phonemizer/issues/19).

* improved logger implemented in its own module so as a call to phonemizer
from CLI or API yields the same log messages.

## phonemizer-1.1
* **new features and improvements**

* new `--sampa` option to output phonemes in SAMPA alphabet instead of IPA,
available for espeak-ng only.
* new `--sampa` option to output phonemes in SAMPA alphabet instead of IPA,
available for espeak-ng only.

* bugfix in a test with `espeak>=1.49.3`.
* new ``--with-stress`` option to use with ``espeak`` backend to not remove the
stresses on phonemized output. For instance:

* bugfix using `NamedTemporaryFile` on windows, see
[#21](https://github.com/bootphon/phonemizer/issues/21).
$ echo "hello world" | phonemize
həloʊ wɜːld
$ echo "hello world" | phonemize --with-stress
həlˈoʊ wˈɜːld

* improved logging: by default only warnings are displayed, use the new
``--quiet`` option to inhibate all log messages or ``--verbose`` to see all of
them. Log messages now display level name (debug/info/warning).

## phonemizer-1.0.1
* improved code organization:

* bugfix when calling *festival* or *espeak* subprocesses on Windows,
see [#17](https://github.com/bootphon/phonemizer/issues/17).
* backends are now implemented in the ``backend`` submodule
as separated source files.

* bugfix in detecting recent versions of *espeak-ng*, see
[#18](https://github.com/bootphon/phonemizer/issues/18).
* improved version string (displays uninstalled backends, moved outside of
main for use from Python).

* bugfix when using utf8 input on *espeak* backend (python2), see
[#19](https://github.com/bootphon/phonemizer/issues/19).
* improved logger implemented in its own module so as a call to phonemizer
from CLI or API yields the same log messages.


## phonemizer-1.0
Expand Down

0 comments on commit 7d534b5

Please sign in to comment.