Cambridge SMT System
bleu.hpp File Reference
#include <iostream>
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/thread/mutex.hpp>
#include <unordered_map>
#include <boost/functional/hash.hpp>
Include dependency graph for bleu.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ucam::fsttools::Bleu
 
class  ucam::fsttools::BleuStats
 
class  ucam::fsttools::LRUCache
 
class  ucam::fsttools::BleuScorer
 

Namespaces

 ucam
 
 ucam::fsttools
 

Typedefs

typedef boost::iostreams::stream_buffer< boost::iostreams::file_descriptor_sink > pipe_out
 
typedef boost::iostreams::stream_buffer< boost::iostreams::file_descriptor_source > pipe_in
 
typedef std::vector< float > ucam::fsttools::PARAMS32
 
typedef unsigned ucam::fsttools::Sid
 
typedef long long ucam::fsttools::Wid
 
typedef std::vector< Widucam::fsttools::SentenceIdx
 

Functions

std::ostream & ucam::fsttools::operator<< (std::ostream &o, const Bleu &b)
 
bool ucam::fsttools::operator> (Bleu &b1, Bleu &b2)
 
std::ostream & ucam::fsttools::operator<< (std::ostream &o, const BleuStats &b)
 
BleuStats ucam::fsttools::operator+ (const BleuStats &bs1, const BleuStats &bs2)
 
BleuStats ucam::fsttools::operator- (const BleuStats &bs1, const BleuStats &bs2)
 

Typedef Documentation

typedef boost::iostreams::stream_buffer<boost::iostreams::file_descriptor_source> pipe_in

Definition at line 12 of file bleu.hpp.

typedef boost::iostreams::stream_buffer<boost::iostreams::file_descriptor_sink> pipe_out

Definition at line 11 of file bleu.hpp.