Cambridge SMT System
fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT > Struct Template Reference

#include <fstutils.applylmonthefly.hpp>

Public Member Functions

 Scorer (KenLMModelT &lmmodel, IdBridgeT const &idbridge, Scale< StateT > &nl, unsigned, std::vector< std::vector< unsigned > > const &)
 
void operator() (StateT const &current, float &w, float &wp, int ilabel, int olabel, StateT &next)
 

Public Attributes

IdBridgeT const & idbridge_
 
KenLMModelT & lmmodel_
 
HackScoreT< StateT > hs_
 
Scale< StateT > & natlog10_
 

Detailed Description

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
struct fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >

Definition at line 135 of file fstutils.applylmonthefly.hpp.

Constructor & Destructor Documentation

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::Scorer ( KenLMModelT &  lmmodel,
IdBridgeT const &  idbridge,
Scale< StateT > &  nl,
unsigned  ,
std::vector< std::vector< unsigned > > const &   
)
inlineexplicit

Definition at line 140 of file fstutils.applylmonthefly.hpp.

Member Function Documentation

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
void fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::operator() ( StateT const &  current,
float &  w,
float &  wp,
int  ilabel,
int  olabel,
StateT &  next 
)
inline

Definition at line 154 of file fstutils.applylmonthefly.hpp.

Member Data Documentation

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
HackScoreT<StateT> fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::hs_

Definition at line 138 of file fstutils.applylmonthefly.hpp.

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
IdBridgeT const& fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::idbridge_

Definition at line 136 of file fstutils.applylmonthefly.hpp.

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
KenLMModelT& fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::lmmodel_

Definition at line 137 of file fstutils.applylmonthefly.hpp.

template<class StateT, class KenLMModelT, class IdBridgeT, template< class > class HackScoreT>
Scale<StateT>& fst::Scorer< StateT, KenLMModelT, IdBridgeT, HackScoreT >::natlog10_

Definition at line 139 of file fstutils.applylmonthefly.hpp.


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