Revert "code style CI"

This reverts commit 076134a4f6.
pull/4005/head
rich04lin 6 months ago
parent a7133fd89b
commit 7fd60efe09

@ -916,11 +916,11 @@ int FrontEngineInterface::NeuralSandhi(const std::string &word,
if (find(must_neural_tone_words.begin(), if (find(must_neural_tone_words.begin(),
must_neural_tone_words.end(), must_neural_tone_words.end(),
word) != must_neural_tone_words.end() || word) != must_neural_tone_words.end() ||
(word_num >= 2 && find(must_neural_tone_words.begin(), (word_num >= 2 &&
find(must_neural_tone_words.begin(),
must_neural_tone_words.end(), must_neural_tone_words.end(),
ppspeech::wstring2utf8string( ppspeech::wstring2utf8string(word_wstr.substr(
word_wstr.substr(word_num - 2))) != word_num - 2))) != must_neural_tone_words.end())) {
must_neural_tone_words.end())) {
(*finals).back() = (*finals).back() =
(*finals).back().replace((*finals).back().length() - 1, 1, "5"); (*finals).back().replace((*finals).back().length() - 1, 1, "5");
} }

Loading…
Cancel
Save