#include <vocab.hh>
Public Types | |
typedef boost::unordered_set < std::string > | Words |
Public Member Functions | |
Single (const Words &vocab) | |
template<class Iterator > | |
bool | PassNGram (const Iterator &begin, const Iterator &end) |
Definition at line 37 of file vocab.hh.
typedef boost::unordered_set<std::string> lm::vocab::Single::Words |
lm::vocab::Single::Single | ( | const Words & | vocab | ) | [inline, explicit] |
bool lm::vocab::Single::PassNGram | ( | const Iterator & | begin, | |
const Iterator & | end | |||
) | [inline] |
Definition at line 43 of file vocab.hh.
References FindStringPiece(), and lm::vocab::IsTag().