lm::vocab::Single Class Reference

#include <vocab.hh>

List of all members.

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)


Detailed Description

Definition at line 37 of file vocab.hh.


Member Typedef Documentation

typedef boost::unordered_set<std::string> lm::vocab::Single::Words

Definition at line 39 of file vocab.hh.


Constructor & Destructor Documentation

lm::vocab::Single::Single ( const Words vocab  )  [inline, explicit]

Definition at line 41 of file vocab.hh.


Member Function Documentation

template<class Iterator >
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().

Here is the call graph for this function:


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

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