lm::ngram::detail Namespace Reference


Classes

class  GenericModel
struct  ProbEntry
class  LongestPointer
class  HashedSearch
struct  ProbingVocabularyHeader

Functions

uint64_t CombineWordHash (uint64_t current, const WordIndex next)
uint64_t HashForVocab (const char *str, std::size_t len)
uint64_t HashForVocab (const StringPiece &str)

Function Documentation

uint64_t lm::ngram::detail::CombineWordHash ( uint64_t  current,
const WordIndex  next 
) [inline]

uint64_t lm::ngram::detail::HashForVocab ( const StringPiece str  )  [inline]

Definition at line 27 of file vocab.hh.

References StringPiece::data(), HashForVocab(), and StringPiece::length().

Here is the call graph for this function:

uint64_t lm::ngram::detail::HashForVocab ( const char *  str,
std::size_t  len 
)


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