#include <vocab.hh>
Public Types | |
typedef boost::unordered_map < std::string, std::vector < unsigned int > > | Words |
Public Member Functions | |
Union (const Words &vocabs) | |
template<class Iterator > | |
bool | PassNGram (const Iterator &begin, const Iterator &end) |
Definition at line 55 of file vocab.hh.
typedef boost::unordered_map<std::string, std::vector<unsigned int> > lm::vocab::Union::Words |
lm::vocab::Union::Union | ( | const Words & | vocabs | ) | [inline, explicit] |
bool lm::vocab::Union::PassNGram | ( | const Iterator & | begin, | |
const Iterator & | end | |||
) | [inline] |
Definition at line 61 of file vocab.hh.
References FindStringPiece(), util::FirstIntersection(), and lm::vocab::IsTag().