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