--- src/onlinebin/online-audio-server-decode-faster.cc | 2 +- src/onlinebin/online-gmm-decode-faster.cc | 4 ++-- src/onlinebin/online-server-gmm-decode-faster.cc | 4 ++-- src/onlinebin/online-wav-gmm-decode-faster.cc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/onlinebin/online-audio-server-decode-faster.cc b/src/onlinebin/online-audio-server-decode-faster.cc index ca4bfeb88..e5faf9530 100644 --- a/src/onlinebin/online-audio-server-decode-faster.cc +++ b/src/onlinebin/online-audio-server-decode-faster.cc @@ -308,7 +308,7 @@ int32 main(int argc, char *argv[]) { } else { std::vector word_ids; if (decoder.PartialTraceback(&out_fst)) { - GetLinearSymbolSequence(out_fst, static_cast *>(0), + GetLinearSymbolSequence(out_fst, static_cast *>(0), &word_ids, static_cast(0)); for (size_t i = 0; i < word_ids.size(); i++) { diff --git a/src/onlinebin/online-gmm-decode-faster.cc b/src/onlinebin/online-gmm-decode-faster.cc index 46904dbc5..74f381658 100644 --- a/src/onlinebin/online-gmm-decode-faster.cc +++ b/src/onlinebin/online-gmm-decode-faster.cc @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) { std::vector word_ids; decoder.FinishTraceBack(&out_fst); fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size()); @@ -181,7 +181,7 @@ int main(int argc, char *argv[]) { std::vector word_ids; if (decoder.PartialTraceback(&out_fst)) { fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); PrintPartialResult(word_ids, word_syms, false); diff --git a/src/onlinebin/online-server-gmm-decode-faster.cc b/src/onlinebin/online-server-gmm-decode-faster.cc index 80973bf07..9840c0f88 100644 --- a/src/onlinebin/online-server-gmm-decode-faster.cc +++ b/src/onlinebin/online-server-gmm-decode-faster.cc @@ -179,7 +179,7 @@ int main(int argc, char *argv[]) { if (dstate & (decoder.kEndFeats | decoder.kEndUtt)) { decoder.FinishTraceBack(&out_fst); fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); SendPartialResult(word_ids, word_syms, partial_res || word_ids.size(), @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) { } else { if (decoder.PartialTraceback(&out_fst)) { fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); SendPartialResult(word_ids, word_syms, false, diff --git a/src/onlinebin/online-wav-gmm-decode-faster.cc b/src/onlinebin/online-wav-gmm-decode-faster.cc index fe7c6d6b9..ca482934d 100644 --- a/src/onlinebin/online-wav-gmm-decode-faster.cc +++ b/src/onlinebin/online-wav-gmm-decode-faster.cc @@ -196,7 +196,7 @@ int main(int argc, char *argv[]) { std::vector word_ids; decoder.FinishTraceBack(&out_fst); fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size()); @@ -220,7 +220,7 @@ int main(int argc, char *argv[]) { std::vector word_ids; if (decoder.PartialTraceback(&out_fst)) { fst::GetLinearSymbolSequence(out_fst, - static_cast *>(0), + static_cast *>(0), &word_ids, static_cast(0)); PrintPartialResult(word_ids, word_syms, false); -- 2.30.2