Improve licene

This commit is contained in:
litagin02
2024-02-25 23:40:43 +09:00
parent f749950be2
commit 4e372cf724
3 changed files with 31 additions and 16 deletions

View File

@@ -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.
---

View File

@@ -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)をご覧ください。

View File

@@ -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 (