|
Cambridge SMT System
|
Disambig Task tool. Given a search space, applies a unigram transduction model (generating alternatives) and an ngram model over alternatives. More...
#include <task.disambig.hpp>


Public Member Functions | |
| DisambigTask (const ucam::util::RegistryPO &rg, const std::string &inputkey=HifstConstants::kRecaserInput, const std::string &outputkey=HifstConstants::kRecaserOutput, const std::string &lmkey=HifstConstants::kRecaserLmLoad, const std::string &unimapkey=HifstConstants::kRecaserUnimapLoad, bool forceloading=false) | |
| Constructor with registry objects and several keys to access either ucam::util::RegistryPO program options or the data object itself. More... | |
| bool | run (Data &d) |
| Method inherited from TaskInterface, reads input lattice from data object, disambiguates and then stores lattice in data object. More... | |
| virtual | ~DisambigTask () |
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 () |
Disambig Task tool. Given a search space, applies a unigram transduction model (generating alternatives) and an ngram model over alternatives.
Definition at line 36 of file task.disambig.hpp.
|
inline |
Constructor with registry objects and several keys to access either ucam::util::RegistryPO program options or the data object itself.
Definition at line 72 of file task.disambig.hpp.

|
inlinevirtual |
|
inlinevirtual |
Method inherited from TaskInterface, reads input lattice from data object, disambiguates and then stores lattice in data object.
Implements ucam::util::TaskInterface< Data >.
Definition at line 111 of file task.disambig.hpp.
