Cambridge SMT System
|
Full single-threaded Translation system. More...
#include <main-run.hifst-client.hpp>
Public Member Functions | |
SingleThreadedHifstClientTask (const ucam::util::RegistryPO &rg) | |
Constructor. More... | |
bool | operator() () |
Sends request, retrieves server reply, prints translation to file. 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 single-threaded Translation system.
Definition at line 37 of file main-run.hifst-client.hpp.
|
inline |
Constructor.
rg | pointer to ucam::util::RegistryPO object with all parsed parameters. |
Definition at line 60 of file main-run.hifst-client.hpp.
|
inline |
Sends request, retrieves server reply, prints translation to file.
Do actual translation!
Definition at line 70 of file main-run.hifst-client.hpp.