sapt::PScoreLex1< Token > Class Template Reference

#include <sapt_pscore_lex1.h>

Inheritance diagram for sapt::PScoreLex1< Token >:

Inheritance graph
Collaboration diagram for sapt::PScoreLex1< Token >:

Collaboration graph

List of all members.

Public Member Functions

 PScoreLex1 (std::string const &alphaspec, std::string const &lexfile)
void load ()
void operator() (Bitext< Token > const &bt, PhrasePair< Token > &pp, std::vector< float > *dest=NULL) const

Public Attributes

sapt::LexicalPhraseScorer2< Tokenscorer

Detailed Description

template<typename Token>
class sapt::PScoreLex1< Token >

Definition at line 12 of file sapt_pscore_lex1.h.

Constructor & Destructor Documentation

template<typename Token >
sapt::PScoreLex1< Token >::PScoreLex1 ( std::string const &  alphaspec,
std::string const &  lexfile 
) [inline]

Definition at line 20 of file sapt_pscore_lex1.h.

Member Function Documentation

template<typename Token >
void sapt::PScoreLex1< Token >::load (  )  [inline, virtual]

Reimplemented from sapt::PhraseScorer< Token >.

Definition at line 32 of file sapt_pscore_lex1.h.

References sapt::LexicalPhraseScorer2< TKN >::open().

Here is the call graph for this function:

template<typename Token >
void sapt::PScoreLex1< Token >::operator() ( Bitext< Token > const &  bt,
PhrasePair< Token > &  pp,
std::vector< float > *  dest = NULL 
) const [inline, virtual]

Member Data Documentation

Definition at line 18 of file sapt_pscore_lex1.h.

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

Generated on Thu Jul 6 00:34:43 2017 for Moses by  doxygen 1.5.9