Searched refs:unigram (Results 1 - 1 of 1) sorted by relevance

/external/openfst/src/include/fst/extensions/ngram/
H A Dngram-fst.h301 // Find the unigram state by starting from the start state, following
303 StateId unigram = fst.Start(); local
305 if (unigram == kNoStateId) {
306 FSTERROR() << "Could not identify unigram state.";
310 ArcIterator<Fst<A> > aiter(fst, unigram);
312 LOG(WARNING) << "Unigram state " << unigram << " has no arcs.";
316 unigram = aiter.Value().nextstate;
320 // unigram state.
325 for (ArcIterator<Fst<A> > aiter(fst, unigram);
349 // unigram whic
[all...]

Completed in 75 milliseconds