#include <wrapper.hh>
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 |
Definition at line 35 of file wrapper.hh.
typedef FilterT lm::ContextFilter< FilterT >::Filter |
Definition at line 37 of file wrapper.hh.
lm::ContextFilter< FilterT >::ContextFilter | ( | Filter & | backend | ) | [inline, explicit] |
Definition at line 39 of file wrapper.hh.
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().
void lm::ContextFilter< FilterT >::Flush | ( | ) | const [inline] |
Definition at line 48 of file wrapper.hh.