#include <sapt_pscore_unaligned.h>
Public Member Functions | |
PScoreUnaligned (std::string const spec) | |
bool | isLogVal (int i) const |
bool | isIntegerValued (int i) const |
void | operator() (Bitext< Token > const &bt, PhrasePair< Token > &pp, std::vector< float > *dest=NULL) const |
Definition at line 12 of file sapt_pscore_unaligned.h.
sapt::PScoreUnaligned< Token >::PScoreUnaligned | ( | std::string const | spec | ) | [inline] |
bool sapt::PScoreUnaligned< Token >::isIntegerValued | ( | int | i | ) | const [inline, virtual] |
Reimplemented from sapt::PhraseScorer< Token >.
Definition at line 36 of file sapt_pscore_unaligned.h.
bool sapt::PScoreUnaligned< Token >::isLogVal | ( | int | i | ) | const [inline, virtual] |
Reimplemented from sapt::PhraseScorer< Token >.
Definition at line 33 of file sapt_pscore_unaligned.h.
void sapt::PScoreUnaligned< Token >::operator() | ( | Bitext< Token > const & | bt, | |
PhrasePair< Token > & | pp, | |||
std::vector< float > * | dest = NULL | |||
) | const [inline, virtual] |
Implements sapt::PhraseScorer< Token >.
Definition at line 39 of file sapt_pscore_unaligned.h.
References sapt::PhrasePair< Token >::aln, sapt::PhrasePair< Token >::fvals, sapt::PhrasePair< Token >::len1, and sapt::PhrasePair< Token >::len2.