Fix spliting text by languages for kokoro tts. (#1849)
This commit is contained in:
@@ -270,7 +270,8 @@ OfflineStream OfflineRecognizer::CreateStream() const {
|
||||
return OfflineStream{s};
|
||||
}
|
||||
|
||||
OfflineStream OfflineRecognizer::CreateStream(const std::string &hotwords) const {
|
||||
OfflineStream OfflineRecognizer::CreateStream(
|
||||
const std::string &hotwords) const {
|
||||
auto s = SherpaOnnxCreateOfflineStreamWithHotwords(p_, hotwords.c_str());
|
||||
return OfflineStream{s};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user