Cambridge SMT System
|
#include <task.lmbr.computeposteriors.hpp>
Public Member Functions | |
ComputePosteriors (const std::vector< NGramList > &ng) | |
Initialize from list of ngrams. More... | |
void | setOrders (uint minorder, uint maxorder) |
Set order. More... | |
void | operator() (const fst::VectorFst< fst::StdArc > *fstlat) |
Compute posteriors. More... | |
NGramToPosteriorsMapper & | getPosteriors () |
Retrieve reference to posteriors. More... | |
void | WritePosteriors (const std::string &filename) |
Write posteriors to file. More... | |
void | WritePosteriors (ucam::util::oszfstream &ofs) |
Write posteriors to a szfstream. More... | |
Definition at line 29 of file task.lmbr.computeposteriors.hpp.
|
inline |
Initialize from list of ngrams.
Definition at line 44 of file task.lmbr.computeposteriors.hpp.
|
inline |
Retrieve reference to posteriors.
Definition at line 61 of file task.lmbr.computeposteriors.hpp.
|
inline |
Compute posteriors.
Definition at line 55 of file task.lmbr.computeposteriors.hpp.
|
inline |
Set order.
Definition at line 49 of file task.lmbr.computeposteriors.hpp.
|
inline |
Write posteriors to file.
Definition at line 66 of file task.lmbr.computeposteriors.hpp.
|
inline |
Write posteriors to a szfstream.
Definition at line 74 of file task.lmbr.computeposteriors.hpp.