Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
lm::ngram::detail Namespace Reference

Packages

namespace  anonymous_namespace{model.cc}

Classes

class  GenericModel
struct  HashedSearch
class  TemplateHashedSearch
struct  IdentityHash
struct  ProbingHashedSearch

Functions

bool IsBinaryFormat (int fd)
void ReadHeader (int fd, Parameters &out)
void MatchCheck (ModelType model_type, const Parameters &params)
void SeekPastHeader (int fd, const Parameters &params)
uint8_t * SetupBinary (const Config &config, const Parameters &params, std::size_t memory_size, Backing &backing)
void ComplainAboutARPA (const Config &config, ModelType model_type)
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 
)

Here is the caller graph for this function:

void lm::ngram::detail::ComplainAboutARPA ( const Config &  config,
ModelType  model_type 
)

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t lm::ngram::detail::HashForVocab ( const StringPiece str)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void lm::ngram::detail::MatchCheck ( ModelType  model_type,
const Parameters &  params 
)

Here is the caller graph for this function:

void lm::ngram::detail::ReadHeader ( int  fd,
Parameters &  out 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void lm::ngram::detail::SeekPastHeader ( int  fd,
const Parameters &  params 
)

Here is the call graph for this function:

Here is the caller graph for this function:

uint8_t * lm::ngram::detail::SetupBinary ( const Config &  config,
const Parameters &  params,
std::size_t  memory_size,
Backing &  backing 
)

Here is the call graph for this function:

Here is the caller graph for this function: