Cambridge SMT System
fst::ApplyLanguageModelOnTheFlyInterface< ArcT > Struct Template Referenceabstract

Interface for language model application Provides different run methods to do composition with a (bilingual) model. More...

#include <fstutils.applylmonthefly.hpp>

Public Member Functions

virtual VectorFst< ArcT > * run (VectorFst< ArcT > const &fst)=0
 
virtual VectorFst< ArcT > * run (VectorFst< ArcT > const &fst, unordered_set< typename ArcT::Label > const &epsilons)=0
 
virtual VectorFst< ArcT > * run (const VectorFst< ArcT > &fst, unsigned srcSize, std::vector< std::vector< unsigned > > &srcWindows)=0
 
virtual ~ApplyLanguageModelOnTheFlyInterface ()
 

Detailed Description

template<class ArcT>
struct fst::ApplyLanguageModelOnTheFlyInterface< ArcT >

Interface for language model application Provides different run methods to do composition with a (bilingual) model.

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

Constructor & Destructor Documentation

template<class ArcT>
virtual fst::ApplyLanguageModelOnTheFlyInterface< ArcT >::~ApplyLanguageModelOnTheFlyInterface ( )
inlinevirtual

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

Member Function Documentation

template<class ArcT>
virtual VectorFst<ArcT>* fst::ApplyLanguageModelOnTheFlyInterface< ArcT >::run ( VectorFst< ArcT > const &  fst)
pure virtual
template<class ArcT>
virtual VectorFst<ArcT>* fst::ApplyLanguageModelOnTheFlyInterface< ArcT >::run ( VectorFst< ArcT > const &  fst,
unordered_set< typename ArcT::Label > const &  epsilons 
)
pure virtual
template<class ArcT>
virtual VectorFst<ArcT>* fst::ApplyLanguageModelOnTheFlyInterface< ArcT >::run ( const VectorFst< ArcT > &  fst,
unsigned  srcSize,
std::vector< std::vector< unsigned > > &  srcWindows 
)
pure virtual

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