diff --git a/runtime/examples/text_lm/local/mmseg.py b/runtime/examples/text_lm/local/mmseg.py index d812db155..4d72afd39 100755 --- a/runtime/examples/text_lm/local/mmseg.py +++ b/runtime/examples/text_lm/local/mmseg.py @@ -253,7 +253,6 @@ class Analysis: # print(word3.length, word3.text) if word3.length == -1: chunk = Chunk(word1, word2) - # print("True") else: chunk = Chunk(word1, word2, word3) chunks.append(chunk) diff --git a/runtime/patch/openfst/src/include/fst/flags.h b/runtime/patch/openfst/src/include/fst/flags.h index 79a81a848..54dd30cc2 100644 --- a/runtime/patch/openfst/src/include/fst/flags.h +++ b/runtime/patch/openfst/src/include/fst/flags.h @@ -181,8 +181,8 @@ template class FlagRegisterer { public: FlagRegisterer(const string &name, const FlagDescription &desc) { - auto register = FlagRegister::GetRegister(); - register->SetDescription(name, desc); + auto r = FlagRegister::GetRegister(); + r->SetDescription(name, desc); } private: