Cambridge SMT System
|
Classes | |
class | ApplyPosteriors |
Functor that applies posteriors to any hypothesis space. Initializes with previously calculated posteriors. More... | |
class | ComputePosteriors |
class | LmbrTask |
Lattice MBR task. More... | |
class | LmbrTaskData |
struct | lmbrtunedata |
class | MultiThreadedLmbrTask |
Not implemented yet! More... | |
class | SingleThreadedLmbrTask |
Full single-threaded Alignment lattices to Sparse lattices. More... | |
class | Theta |
Functor handling LMBR theta parameters. More... | |
Typedefs | |
typedef unordered_set< fst::WordId > | Wlist |
typedef Wlist::iterator | WlistIt |
typedef double | Posterior |
typedef unordered_map< fst::NGram, fst::StdArc::StateId, ucam::util::hashfvecuint, ucam::util::hasheqvecuint > | NGramToStateMapper |
typedef unordered_map< fst::NGram, std::vector< std::vector< Posterior > >, ucam::util::hashfvecuint, ucam::util::hasheqvecuint > | NGramToPosteriorsMapper |
Functions | |
template<class Arc > | |
uint | extractNGrams (fst::VectorFst< Arc > myfst, std::vector< fst::NGramList > &ngramlist, uint minorder=1, uint maxorder=4) |
Interfaces with extractNGrams and generates information in the right format for lmbr classes. More... | |
Variables | |
const unsigned | kEpsLabel = 0 |
typedef unordered_map< fst::NGram, std::vector< std::vector<Posterior> >, ucam::util::hashfvecuint, ucam::util::hasheqvecuint> ucam::lmbr::NGramToPosteriorsMapper |
Definition at line 35 of file data.lmbr.hpp.
typedef unordered_map< fst::NGram, fst::StdArc::StateId, ucam::util::hashfvecuint, ucam::util::hasheqvecuint> ucam::lmbr::NGramToStateMapper |
Definition at line 31 of file data.lmbr.hpp.
typedef double ucam::lmbr::Posterior |
Definition at line 27 of file data.lmbr.hpp.
typedef unordered_set<fst::WordId> ucam::lmbr::Wlist |
Definition at line 25 of file data.lmbr.hpp.
typedef Wlist::iterator ucam::lmbr::WlistIt |
Definition at line 26 of file data.lmbr.hpp.
|
inline |
Interfaces with extractNGrams and generates information in the right format for lmbr classes.
Definition at line 30 of file task.lmbr.common.hpp.
const unsigned ucam::lmbr::kEpsLabel = 0 |
Definition at line 23 of file data.lmbr.hpp.