Cambridge SMT System
|
Full multi-threaded Translation system. More...
#include <main-run.createssgrammar.hpp>
Public Member Functions | |
MultiThreadedCreateSentenceSpecificGrammarTask (const ucam::util::RegistryPO &rg) | |
Constructor. More... | |
bool | run (Data &original_data) |
Reads an input sentence, tokenizes and integer-maps. More... | |
bool | operator() () |
Run using its own internal data object. 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 () |
Full multi-threaded Translation system.
Definition at line 106 of file main-run.createssgrammar.hpp.
|
inline |
Constructor.
rg | pointer to ucam::util::RegistryPO object with all parsed parameters. |
Definition at line 125 of file main-run.createssgrammar.hpp.
|
inline |
Run using its own internal data object.
Definition at line 173 of file main-run.createssgrammar.hpp.
|
inlinevirtual |
Reads an input sentence, tokenizes and integer-maps.
original_data | : data object in which models, fsts, etc are stored and passed through to several tasks |
Implements ucam::util::TaskInterface< Data >.
Definition at line 137 of file main-run.createssgrammar.hpp.