Cambridge SMT System
|
Utilities for DisambigTask and related tasks. More...
Go to the source code of this file.
Namespaces | |
ucam | |
ucam::fsttools | |
Functions | |
template<class Arc > | |
void | ucam::fsttools::SetGsf (fst::VectorFst< Arc > *grmfst, const float gsf) |
template<> | |
void | ucam::fsttools::SetGsf (fst::VectorFst< TupleArc32 > *grmfst, const float gsf) |
template<class Arc > | |
void | ucam::fsttools::loadflowerfst (ucam::util::iszfstream &umf, fst::VectorFst< Arc > &flowerlattice) |
Loads flower fst from srilm disambig unigram input file. More... | |
template<class Arc > | |
void | ucam::fsttools::tagOOVs (fst::VectorFst< Arc > *myfst, unordered_set< std::string > &vcb) |
template<class Arc > | |
void | ucam::fsttools::recoverOOVs (fst::VectorFst< Arc > *myfst) |
Recover OOV original ids by projecting selectively. More... | |
Utilities for DisambigTask and related tasks.
Definition in file task.disambig.flowerfst.hpp.