From 4e372cf72459af8589e282e38b780ab058798cb4 Mon Sep 17 00:00:00 2001 From: litagin02 Date: Sun, 25 Feb 2024 23:40:43 +0900 Subject: [PATCH] Improve licene --- README.md | 12 +++++++++++ text/user_dict/README.md | 29 ++++++++++++--------------- text/user_dict/part_of_speech_data.py | 6 ++++++ 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index edd5ba5..7be91a2 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,18 @@ In addition to the original reference (written below), I used the following repo [The pretrained model](https://huggingface.co/litagin/Style-Bert-VITS2-1.0-base) and [JP-Extra version](https://huggingface.co/litagin/Style-Bert-VITS2-2.0-base-JP-Extra) is essentially taken from [the original base model of Bert-VITS2 v2.1](https://huggingface.co/Garydesu/bert-vits2_base_model-2.1) and [JP-Extra pretrained model of Bert-VITS2](https://huggingface.co/Stardust-minus/Bert-VITS2-Japanese-Extra), so all the credits go to the original author ([Fish Audio](https://github.com/fishaudio)): +In addition, [text/user_dict/] module is based on the following repositories: +- [[voicevox_engine](https://github.com/VOICEVOX/voicevox_engine)] +and the license of this module is LGPL v3. + +## LICENSE + +This repository is licensed under the GNU Affero General Public License v3.0, the same as the original Bert-VITS2 repository. For more details, see [LICENSE](LICENSE). + +In addition, [text/user_dict/] module is licensed under the GNU Lesser General Public License v3.0, inherited from the original VOICEVOX engine repository. For more details, see [LGPL_LICENSE](text/user_dict/LGPL_LICENSE). + + + Below is the original README.md. --- diff --git a/text/user_dict/README.md b/text/user_dict/README.md index d09d80a..def5f71 100644 --- a/text/user_dict/README.md +++ b/text/user_dict/README.md @@ -1,19 +1,16 @@ -このフォルダのコードは、[voicevox_engine](https://github.com/VOICEVOX/voicevox_engine)のものを使わせていただいています。 +このフォルダに含まれるユーザー辞書関連のコードは、[VOICEVOX engine](https://github.com/VOICEVOX/voicevox_engine)プロジェクトのコードを改変したものを使用しています。VOICEVOXプロジェクトのチームに深く感謝し、その貢献を尊重します。 -引用元: +**元のコード**: +- [voicevox_engine/user_dict](https://github.com/VOICEVOX/voicevox_engine/tree/f181411ec69812296989d9cc583826c22eec87ae/voicevox_engine/user_dict) +- [voicevox_engine/model.py](https://github.com/VOICEVOX/voicevox_engine/blob/f181411ec69812296989d9cc583826c22eec87ae/voicevox_engine/model.py#L207) -https://github.com/VOICEVOX/voicevox_engine/tree/f181411ec69812296989d9cc583826c22eec87ae/voicevox_engine/user_dict +**改変の詳細**: +- ファイル名の書き換えおよびそれに伴うimport文の書き換え。 +- VOICEVOX固有の部分をコメントアウト。 +- mutexを使用している部分をコメントアウト。 +- 参照しているpyopenjtalkの違いによるメソッド名の書き換え。 +- UserDictWordのmora_countのデフォルト値をNoneに指定。 +- Pydanticのモデルで必要な箇所のみを抽出。 -https://github.com/VOICEVOX/voicevox_engine/blob/f181411ec69812296989d9cc583826c22eec87ae/voicevox_engine/model.py#L207 - -改変部分は以下のとおりです。 -- ファイル名の書き換え、それに伴うimport文の書き換え -- VOICEVOX固有の部分のコメントアウト -- mutexを使用している部分のコメントアウト -- 参照しているpyopenjtalkの違いによるメソッド名書き換え -- UserDictWordのmora_countのデフォルト値をNoneに指定 -- Pydanticのモデルは必要な箇所のみを抽出 - -ライセンス: LGPL - -[LGPL_LICENSE](LGPL_LICENSE)を参照してください。 +**ライセンス**: +元のVOICEVOX engineのリポジトリのコードは、LGPL v3 と、ソースコードの公開が不要な別ライセンスのデュアルライセンスの下で使用されています。当プロジェクトにおけるこのモジュールもLGPLライセンスの下にあります。詳細については、プロジェクトのルートディレクトリにある[LGPL_LICENSE](LGPL_LICENSE)ファイルをご参照ください。また、元のVOICEVOX engineプロジェクトのライセンスについては、[こちら](https://github.com/VOICEVOX/voicevox_engine/blob/master/LICENSE)をご覧ください。 diff --git a/text/user_dict/part_of_speech_data.py b/text/user_dict/part_of_speech_data.py index 3e80115..db7f839 100644 --- a/text/user_dict/part_of_speech_data.py +++ b/text/user_dict/part_of_speech_data.py @@ -1,3 +1,9 @@ +# このファイルは、VOICEVOXプロジェクトのVOICEVOX engineからお借りしています。 +# 引用元: +# https://github.com/VOICEVOX/voicevox_engine/blob/f181411ec69812296989d9cc583826c22eec87ae/voicevox_engine/model.py#L207 +# ライセンス: LGPL-3.0 +# 詳しくは、このファイルの場所にあるREADME.mdを参照してください + from typing import Dict from .word_model import (