Cambridge SMT System
|
Lattice MBR task. More...
#include <task.lmbr.hpp>
Public Member Functions | |
LmbrTask (const ucam::util::RegistryPO &rg, const std::string &evidencespacekey=HifstConstants::kLmbrLoadEvidencespace, const std::string &hypothesesspacekey=HifstConstants::kLmbrLoadHypothesesspace, const std::string &lmbroutputkey=HifstConstants::kLmbrWritedecoder, const std::string &writeonebestkey=HifstConstants::kLmbrWriteonebest, const std::string &alphakey=HifstConstants::kLmbrAlpha, const std::string &wpskey=HifstConstants::kLmbrWps, const std::string &minorder=HifstConstants::kLmbrMinorder, const std::string &maxorder=HifstConstants::kLmbrMaxorder, const std::string &unigramprecisionkey=HifstConstants::kLmbrP, const std::string &precisionratiokey=HifstConstants::kLmbrR, const std::string &numberunigramtokenskey=HifstConstants::kLmbrT, const std::string &preprunekey=HifstConstants::kLmbrPreprune, const std::string &lexstdarckey=HifstConstants::kLmbrLexstdarc) | |
Constructor using multiple keys that can be arranged so to use different parameter names. More... | |
bool | run (Data &d) |
Run method inherited from TaskInterface. More... | |
Public Member Functions inherited from ucam::util::TaskInterface< Data > | |
TaskInterface () | |
Constructor. More... | |
virtual | ~TaskInterface () |
bool | chainrun (Data &d) |
Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More... | |
bool | operator() (Data &d) |
TaskInterface & | appendTask (TaskInterface *t) |
Appends a task class. If there is no task, append here, otherwise delegate in next task. More... | |
TaskInterface & | operator() (TaskInterface *t) |
TaskInterface * | getTask () |
Return appended task. More... | |
TaskInterface * | next () |
Lattice MBR task.
Definition at line 33 of file task.lmbr.hpp.
|
inline |
Constructor using multiple keys that can be arranged so to use different parameter names.
Definition at line 69 of file task.lmbr.hpp.
|
inlinevirtual |
Run method inherited from TaskInterface.
Implements ucam::util::TaskInterface< Data >.
Definition at line 119 of file task.lmbr.hpp.