Cambridge SMT System
|
Full single-threaded Translation system. More...
#include <main-run.hifst.hpp>
Public Member Functions | |
SingleThreadedHifstTask (const ucam::util::RegistryPO &rg) | |
Constructor. More... | |
bool | run (Data &d) |
Translates an input sentence (single threaded) More... | |
bool | operator() () |
Runs using its own internal data object. More... | |
Public Member Functions inherited from ucam::util::TaskInterface< DataT< ArcT > > | |
TaskInterface () | |
Constructor. More... | |
virtual | ~TaskInterface () |
bool | chainrun (DataT< ArcT > &d) |
Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More... | |
bool | operator() (DataT< ArcT > &d) |
TaskInterface & | operator() (TaskInterface *t) |
TaskInterface & | appendTask (TaskInterface *t) |
Appends a task class. If there is no task, append here, otherwise delegate in next task. More... | |
TaskInterface * | getTask () |
Return appended task. More... | |
TaskInterface * | next () |
Full single-threaded Translation system.
Definition at line 38 of file main-run.hifst.hpp.
|
inline |
Constructor.
rg | pointer to RegistryPO object with all parsed parameters. |
Definition at line 71 of file main-run.hifst.hpp.
|
inline |
Runs using its own internal data object.
Definition at line 177 of file main-run.hifst.hpp.
|
inlinevirtual |
Translates an input sentence (single threaded)
d | Data object that communicates all the tasks. |
Implements ucam::util::TaskInterface< DataT< ArcT > >.
Definition at line 94 of file main-run.hifst.hpp.