Cambridge SMT System
ucam::hifst::MakeWeightHifst< TupleArc32 > Struct Template Reference

#include <task.hifst.makeweights.hpp>

Public Types

typedef TupleArc32 Arc
 
typedef Arc::Weight Weight
 

Public Member Functions

 MakeWeightHifst (const ucam::util::RegistryPO &rg)
 
Weight operator() (float const weight) const
 
Weight operator() (float const weight, unsigned spi) const
 
Weight operator() (Weight const &weight) const
 
void update ()
 

Public Attributes

bool addRuleFeature_
 
unsigned k_
 

Detailed Description

template<>
struct ucam::hifst::MakeWeightHifst< TupleArc32 >

Definition at line 53 of file task.hifst.makeweights.hpp.

Member Typedef Documentation

Definition at line 55 of file task.hifst.makeweights.hpp.

Constructor & Destructor Documentation

Member Function Documentation

Weight ucam::hifst::MakeWeightHifst< TupleArc32 >::operator() ( float const  weight) const
inline

Definition at line 70 of file task.hifst.makeweights.hpp.

Weight ucam::hifst::MakeWeightHifst< TupleArc32 >::operator() ( float const  weight,
unsigned  spi 
) const
inline

Definition at line 76 of file task.hifst.makeweights.hpp.

Weight ucam::hifst::MakeWeightHifst< TupleArc32 >::operator() ( Weight const &  weight) const
inline

Definition at line 84 of file task.hifst.makeweights.hpp.

void ucam::hifst::MakeWeightHifst< TupleArc32 >::update ( )
inline

Definition at line 88 of file task.hifst.makeweights.hpp.

Member Data Documentation

bool ucam::hifst::MakeWeightHifst< TupleArc32 >::addRuleFeature_

Definition at line 57 of file task.hifst.makeweights.hpp.

Definition at line 60 of file task.hifst.makeweights.hpp.


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