diff --git a/demos/TTSCppFrontend/src/front/front_interface.cpp b/demos/TTSCppFrontend/src/front/front_interface.cpp index f07361bb2..d52fa526a 100644 --- a/demos/TTSCppFrontend/src/front/front_interface.cpp +++ b/demos/TTSCppFrontend/src/front/front_interface.cpp @@ -260,7 +260,8 @@ int FrontEngineInterface::GetWordsIds( if (std::find(_punc.begin(), _punc.end(), word) == _punc.end()) { // 文字 // 获取字词的声母韵母列表 - if (0 != GetInitialsFinals(word, &word_initials, &word_finals)) { + if (0 != + GetInitialsFinals(word, &word_initials, &word_finals)) { LOG(ERROR) << "Genarate the word_initials and word_finals of " << word << " failed"; diff --git a/demos/TTSCppFrontend/src/front/front_interface.h b/demos/TTSCppFrontend/src/front/front_interface.h index 3ea0de4e3..87cbba0fd 100644 --- a/demos/TTSCppFrontend/src/front/front_interface.h +++ b/demos/TTSCppFrontend/src/front/front_interface.h @@ -194,5 +194,5 @@ class FrontEngineInterface : public TextNormalizer { std::vector must_not_neural_tone_words; std::vector must_neural_tone_words; }; -} +} // namespace ppspeech #endif \ No newline at end of file