Fix style issues for online punctuation source files (#1225)

This commit is contained in:
Fangjun Kuang
2024-08-06 17:43:24 +08:00
committed by GitHub
parent 1414e4dc61
commit 375c055ff8
10 changed files with 137 additions and 123 deletions

View File

@@ -20,7 +20,9 @@ std::unique_ptr<OnlinePunctuationImpl> OnlinePunctuationImpl::Create(
return std::make_unique<OnlinePunctuationCNNBiLSTMImpl>(config);
}
SHERPA_ONNX_LOGE("Please specify a punctuation model and bpe vocab! Return a null pointer");
SHERPA_ONNX_LOGE(
"Please specify a punctuation model and bpe vocab! Return a null "
"pointer");
return nullptr;
}
@@ -31,7 +33,9 @@ std::unique_ptr<OnlinePunctuationImpl> OnlinePunctuationImpl::Create(
return std::make_unique<OnlinePunctuationCNNBiLSTMImpl>(mgr, config);
}
SHERPA_ONNX_LOGE("Please specify a punctuation model and bpe vocab! Return a null pointer");
SHERPA_ONNX_LOGE(
"Please specify a punctuation model and bpe vocab! Return a null "
"pointer");
return nullptr;
}
#endif