|
Cambridge SMT System
|
Creates lattices using tropical tuple weight semiring – each arc containing separate feature weight contributions. Note that the semiring is tropical under dot product of all these features with its scales. More...
#include <task.sparseweightvectorlattices.hpp>


Public Member Functions | |
| SparseWeightVectorLatticesTask (const ucam::util::RegistryPO &rg, const std::string &alilatskey=HifstConstants::kSparseweightvectorlatticeLoadalilats, const std::string &ruleflowerlatticekey=HifstConstants::kRuleflowerlatticeStore, const std::string &sparseweightvectorlatticekey=HifstConstants::kSparseweightvectorlatticeStore) | |
| Constructor with registry object and keys to access/write lattices in data object. More... | |
| bool | run (Data &d) |
| Implements virtual method from ucam::util::TaskInterface. More... | |
| ~SparseWeightVectorLatticesTask () | |
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 () |
Creates lattices using tropical tuple weight semiring – each arc containing separate feature weight contributions. Note that the semiring is tropical under dot product of all these features with its scales.
Definition at line 34 of file task.sparseweightvectorlattices.hpp.
|
inline |
Constructor with registry object and keys to access/write lattices in data object.
Definition at line 57 of file task.sparseweightvectorlattices.hpp.

|
inline |
Definition at line 120 of file task.sparseweightvectorlattices.hpp.

|
inlinevirtual |
Implements virtual method from ucam::util::TaskInterface.
| d | Data object |
Implements ucam::util::TaskInterface< Data >.
Definition at line 85 of file task.sparseweightvectorlattices.hpp.