travis-ci
12710 of 12946 relevant lines covered (98.18%)
1.44 hits per line
1 |
import htsengine |
1 only TOX_ENV=HTS整合試驗 ✔ |
2 |
from 臺灣言語工具.語音辨識.聲音檔 import 聲音檔 |
1 only TOX_ENV=HTS整合試驗 ✔ |
3 |
|
|
4 |
|
|
5 |
class HTS合成模型: |
1 only TOX_ENV=HTS整合試驗 ✔ |
6 |
|
|
7 |
def __init__(self, 模型所在): |
1 only TOX_ENV=HTS整合試驗 ✔ |
8 |
self._模型所在 = 模型所在
|
1 only TOX_ENV=HTS整合試驗 ✔ |
9 |
|
|
10 |
def 合成(self, 愛合成標仔): |
1 only TOX_ENV=HTS整合試驗 ✔ |
11 |
return 聲音檔.對參數轉(*htsengine.synthesize(self._模型所在, 愛合成標仔)) |
1 only TOX_ENV=HTS整合試驗 ✔ |