#include <bleu.hpp>
Definition at line 165 of file bleu.hpp.
ucam::fsttools::BleuScorer::BleuScorer |
( |
std::string const & |
refFiles, |
|
|
std::string const & |
extTokCmd, |
|
|
unsigned int const & |
cacheSize, |
|
|
bool const & |
intRefs, |
|
|
std::string const & |
wordMapFile |
|
) |
| |
|
inline |
string ucam::fsttools::BleuScorer::CacheStats |
( |
| ) |
|
|
inline |
unsigned int ucam::fsttools::BleuScorer::ClosestReferenceLength |
( |
Sid |
sid, |
|
|
const unsigned int |
hypLength |
|
) |
| const |
|
inline |
Bleu ucam::fsttools::BleuScorer::ComputeBleu |
( |
const BleuStats & |
bs | ) |
|
|
inline |
Bleu ucam::fsttools::BleuScorer::ComputeSBleu |
( |
const BleuStats & |
bs | ) |
|
|
inline |
void ucam::fsttools::BleuScorer::LoadReferences |
( |
std::string const & |
refFiles | ) |
|
|
inline |
NGram ucam::fsttools::BleuScorer::SubStr |
( |
const SentenceIdx & |
s, |
|
|
const unsigned int |
n, |
|
|
const unsigned int |
l |
|
) |
| const |
|
inline |
std::vector< std::vector<unsigned int> > ucam::fsttools::BleuScorer::refLengths |
The documentation for this class was generated from the following file: