Cambridge SMT System
ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data > Class Template Reference

Full single-threaded Translation system. More...

#include <main-run.createssgrammar.hpp>

Inheritance diagram for ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data >:
Collaboration diagram for ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data >:

Public Member Functions

 SingleThreadedCreateSentenceSpecificGrammarTask (const ucam::util::RegistryPO &rg)
 Constructor. More...
 
bool run (Data &d)
 Reads an input sentence, tokenizes and integer-maps. More...
 
bool operator() ()
 
- 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)
 
TaskInterfaceappendTask (TaskInterface *t)
 Appends a task class. If there is no task, append here, otherwise delegate in next task. More...
 
TaskInterfaceoperator() (TaskInterface *t)
 
TaskInterfacegetTask ()
 Return appended task. More...
 
TaskInterfacenext ()
 

Detailed Description

template<class Data = HifstTaskData>
class ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data >

Full single-threaded Translation system.

Definition at line 37 of file main-run.createssgrammar.hpp.

Constructor & Destructor Documentation

Constructor.

Parameters
rgpointer to ucam::util::RegistryPO object with all parsed parameters.

Definition at line 56 of file main-run.createssgrammar.hpp.

Member Function Documentation

template<class Data = HifstTaskData>
bool ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data >::operator() ( )
inline

Definition at line 90 of file main-run.createssgrammar.hpp.

Here is the call graph for this function:

template<class Data = HifstTaskData>
bool ucam::hifst::SingleThreadedCreateSentenceSpecificGrammarTask< Data >::run ( Data &  d)
inlinevirtual

Reads an input sentence, tokenizes and integer-maps.

Parameters
d: data object in which models, fsts, etc are stored and passed through to several tasks

Implements ucam::util::TaskInterface< Data >.

Definition at line 67 of file main-run.createssgrammar.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: