lm::ContextFilter< FilterT > Class Template Reference

#include <wrapper.hh>

List of all members.

Public Types

typedef FilterT Filter

Public Member Functions

 ContextFilter (Filter &backend)
template<class Output >
void AddNGram (const StringPiece &ngram, const StringPiece &line, Output &output)
void Flush () const

Detailed Description

template<class FilterT>
class lm::ContextFilter< FilterT >

Definition at line 35 of file wrapper.hh.

Member Typedef Documentation

template<class FilterT >
typedef FilterT lm::ContextFilter< FilterT >::Filter

Definition at line 37 of file wrapper.hh.

Constructor & Destructor Documentation

template<class FilterT >
lm::ContextFilter< FilterT >::ContextFilter ( Filter backend  )  [inline, explicit]

Definition at line 39 of file wrapper.hh.

Member Function Documentation

template<class FilterT >
template<class Output >
void lm::ContextFilter< FilterT >::AddNGram ( const StringPiece ngram,
const StringPiece line,
Output &  output 
) [inline]

Definition at line 41 of file wrapper.hh.

References StringPiece::data(), and StringPiece::size().

Here is the call graph for this function:

template<class FilterT >
void lm::ContextFilter< FilterT >::Flush (  )  const [inline]

Definition at line 48 of file wrapper.hh.

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

Generated on Thu Jul 6 00:32:42 2017 for Moses by  doxygen 1.5.9