@@ -63,7 +63,7 @@ class DenominatorGraph {
63
63
DenominatorGraph ();
64
64
65
65
// Initialize from epsilon-free acceptor FST with pdf-ids plus one as the
66
- // labels. 'num_pdfs' is only needeed for checking.
66
+ // labels. 'num_pdfs' is only needed for checking.
67
67
DenominatorGraph (const fst::StdVectorFst &fst,
68
68
int32 num_pdfs);
69
69
@@ -88,7 +88,7 @@ class DenominatorGraph {
88
88
// Note: we renormalize each HMM-state to sum to one before doing this.
89
89
const CuVector<BaseFloat> &InitialProbs () const ;
90
90
91
- // This function outputs a modifified version of the FST that was used to
91
+ // This function outputs a modified version of the FST that was used to
92
92
// build this object, that has an initial-state with epsilon transitions to
93
93
// each state, with weight determined by initial_probs_; and has each original
94
94
// state being final with probability one (note: we remove epsilons). This is
@@ -124,7 +124,7 @@ class DenominatorGraph {
124
124
CuArray<Int32Pair> forward_transitions_;
125
125
// backward_transitions_ is an array, indexed by hmm-state index,
126
126
// of start and end indexes into the transition_ array, which
127
- // give us the set of transitions out of this state.
127
+ // give us the set of transitions into this state.
128
128
CuArray<Int32Pair> backward_transitions_;
129
129
// This stores the actual transitions.
130
130
CuArray<DenominatorGraphTransition> transitions_;
@@ -153,7 +153,7 @@ void MapFstToPdfIdsPlusOne(const TransitionModel &trans_model,
153
153
fst::StdVectorFst *fst);
154
154
155
155
// Starting from an acceptor on phones that represents some kind of compiled
156
- // language model (with no disambiguation symbols), this funtion creates the
156
+ // language model (with no disambiguation symbols), this function creates the
157
157
// denominator-graph. Note: there is similar code in chain-supervision.cc, when
158
158
// creating the supervision graph.
159
159
void CreateDenominatorFst (const ContextDependency &ctx_dep,
0 commit comments