diff --git a/docs/changelog.rst b/docs/changelog.rst index abeadd7..bf2cc99 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,9 +1,13 @@ Change log ========== -v0.1.5 <2021-xx-xx> +v0.1.5 <2021-09-18> ------------------- +* `#25`_: FIx dict URL from unstable sourceforge to github release +* `#24`_: Fix travis CI + + v0.1.4 <2021-09-16> ------------------- @@ -64,3 +68,5 @@ Initial release with OpenJTalk's text processsing functionality .. _#20: https://github.com/r9y9/pyopenjtalk/issues/20 .. _#21: https://github.com/r9y9/pyopenjtalk/issues/21 .. _#22: https://github.com/r9y9/pyopenjtalk/pull/22 +.. _#24: https://github.com/r9y9/pyopenjtalk/pull/24 +.. _#25: https://github.com/r9y9/pyopenjtalk/pull/25 diff --git a/pyopenjtalk/__init__.py b/pyopenjtalk/__init__.py index 30f0c1f..a266104 100644 --- a/pyopenjtalk/__init__.py +++ b/pyopenjtalk/__init__.py @@ -26,9 +26,8 @@ "OPEN_JTALK_DICT_DIR", pkg_resources.resource_filename(__name__, "open_jtalk_dic_utf_8-1.11"), ).encode("utf-8") -_DICT_URL = ( - "https://downloads.sourceforge.net/open-jtalk/open_jtalk_dic_utf_8-1.11.tar.gz" -) +_dict_download_url = "https://github.com/r9y9/open_jtalk/releases/download/v1.11.1" +_DICT_URL = f"{_dict_download_url}/open_jtalk_dic_utf_8-1.11.tar.gz" # Default mei_normal.voice for HMM-based TTS DEFAULT_HTS_VOICE = pkg_resources.resource_filename(