1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
| | ---
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<int32> word_ids;
if (decoder.PartialTraceback(&out_fst)) {
- GetLinearSymbolSequence(out_fst, static_cast<vector<int32> *>(0),
+ GetLinearSymbolSequence(out_fst, static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(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<int32> word_ids;
decoder.FinishTraceBack(&out_fst);
fst::GetLinearSymbolSequence(out_fst,
- static_cast<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(0));
PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size());
@@ -181,7 +181,7 @@ int main(int argc, char *argv[]) {
std::vector<int32> word_ids;
if (decoder.PartialTraceback(&out_fst)) {
fst::GetLinearSymbolSequence(out_fst,
- static_cast<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(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<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(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<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(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<int32> word_ids;
decoder.FinishTraceBack(&out_fst);
fst::GetLinearSymbolSequence(out_fst,
- static_cast<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(0));
PrintPartialResult(word_ids, word_syms, partial_res || word_ids.size());
@@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
std::vector<int32> word_ids;
if (decoder.PartialTraceback(&out_fst)) {
fst::GetLinearSymbolSequence(out_fst,
- static_cast<vector<int32> *>(0),
+ static_cast<std::vector<int32> *>(0),
&word_ids,
static_cast<LatticeArc::Weight*>(0));
PrintPartialResult(word_ids, word_syms, false);
--
2.30.2
|