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

#include <trie.hh>

Collaboration diagram for lm::ngram::trie::Unigram:
[legend]

List of all members.

Public Member Functions

 Unigram ()
void Init (void *start)
const ProbBackoffLookup (WordIndex index) const
ProbBackoffUnknown ()
UnigramValueRaw ()
void LoadedBinary ()
void Find (WordIndex word, float &prob, float &backoff, NodeRange &next) const

Static Public Member Functions

static std::size_t Size (uint64_t count)

Private Attributes

UnigramValueunigram_

Constructor & Destructor Documentation


Member Function Documentation

void lm::ngram::trie::Unigram::Find ( WordIndex  word,
float &  prob,
float &  backoff,
NodeRange next 
) const

Here is the caller graph for this function:

void lm::ngram::trie::Unigram::Init ( void *  start)

Here is the caller graph for this function:

static std::size_t lm::ngram::trie::Unigram::Size ( uint64_t  count) [static]

Here is the caller graph for this function:


Member Data Documentation