sawich
Committed by GitHub

Rename maxNumStences to maxNumSentences (#1625)

@@ -14,7 +14,7 @@ function createOfflineTts() { @@ -14,7 +14,7 @@ function createOfflineTts() {
14 numThreads: 1, 14 numThreads: 1,
15 provider: 'cpu', 15 provider: 'cpu',
16 }, 16 },
17 - maxNumStences: 1, 17 + maxNumSentences: 1,
18 }; 18 };
19 return new sherpa_onnx.OfflineTts(config); 19 return new sherpa_onnx.OfflineTts(config);
20 } 20 }
@@ -15,7 +15,7 @@ function createOfflineTts() { @@ -15,7 +15,7 @@ function createOfflineTts() {
15 numThreads: 1, 15 numThreads: 1,
16 provider: 'cpu', 16 provider: 'cpu',
17 }, 17 },
18 - maxNumStences: 1, 18 + maxNumSentences: 1,
19 }; 19 };
20 return new sherpa_onnx.OfflineTts(config); 20 return new sherpa_onnx.OfflineTts(config);
21 } 21 }
@@ -15,7 +15,7 @@ function createOfflineTts() { @@ -15,7 +15,7 @@ function createOfflineTts() {
15 numThreads: 1, 15 numThreads: 1,
16 provider: 'cpu', 16 provider: 'cpu',
17 }, 17 },
18 - maxNumStences: 1, 18 + maxNumSentences: 1,
19 ruleFsts: 19 ruleFsts:
20 './vits-icefall-zh-aishell3/date.fst,./vits-icefall-zh-aishell3/phone.fst,./vits-icefall-zh-aishell3/number.fst,./vits-icefall-zh-aishell3/new_heteronym.fst', 20 './vits-icefall-zh-aishell3/date.fst,./vits-icefall-zh-aishell3/phone.fst,./vits-icefall-zh-aishell3/number.fst,./vits-icefall-zh-aishell3/new_heteronym.fst',
21 ruleFars: './vits-icefall-zh-aishell3/rule.far', 21 ruleFars: './vits-icefall-zh-aishell3/rule.far',
@@ -16,7 +16,7 @@ function createOfflineTts() { @@ -16,7 +16,7 @@ function createOfflineTts() {
16 numThreads: 1, 16 numThreads: 1,
17 provider: 'cpu', 17 provider: 'cpu',
18 }, 18 },
19 - maxNumStences: 1, 19 + maxNumSentences: 1,
20 ruleFsts: 20 ruleFsts:
21 './sherpa-onnx-vits-zh-ll/date.fst,./sherpa-onnx-vits-zh-ll/phone.fst,./sherpa-onnx-vits-zh-ll/number.fst', 21 './sherpa-onnx-vits-zh-ll/date.fst,./sherpa-onnx-vits-zh-ll/phone.fst,./sherpa-onnx-vits-zh-ll/number.fst',
22 }; 22 };