travis-ci
12297 of 12504 relevant lines covered (98.34%)
2.82 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整合試驗 ✔ |