Cambridge SMT System
|
Translation Server. More...
#include <main-run.hifst.hpp>
Public Member Functions | |
HifstServerTask (const ucam::util::RegistryPO &rg) | |
Constructor. More... | |
void | load () |
bool | operator() () |
Loads and starts translation system using internal data object containing pointers to loaded models. 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 () |
Translation Server.
Definition at line 365 of file main-run.hifst.hpp.
|
inline |
Constructor.
rg | RegistryPO object with all parsed parameters. |
Definition at line 485 of file main-run.hifst.hpp.
|
inline |
Loads all full models once (grammar, language models, wordmap files). Pointers to these models will be stored in internal data object d_.
Definition at line 492 of file main-run.hifst.hpp.
|
inline |
Loads and starts translation system using internal data object containing pointers to loaded models.
Definition at line 525 of file main-run.hifst.hpp.