lm::ngram::trie::Unigram Class Reference

#include <trie.hh>

Collaboration diagram for lm::ngram::trie::Unigram:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Unigram ()
void Init (void *start)
const ProbBackoffLookup (WordIndex index) const
ProbBackoffUnknown ()
UnigramValueRaw ()
UnigramPointer Find (WordIndex word, NodeRange &next) const

Static Public Member Functions

static uint64_t Size (uint64_t count)


Detailed Description

Definition at line 44 of file trie.hh.


Constructor & Destructor Documentation

lm::ngram::trie::Unigram::Unigram (  )  [inline]

Definition at line 46 of file trie.hh.


Member Function Documentation

UnigramPointer lm::ngram::trie::Unigram::Find ( WordIndex  word,
NodeRange next 
) const [inline]

void lm::ngram::trie::Unigram::Init ( void *  start  )  [inline]

Definition at line 48 of file trie.hh.

Referenced by lm::ngram::trie::TrieSearch< Quant, Bhiksha >::SetupMemory().

Here is the caller graph for this function:

const ProbBackoff& lm::ngram::trie::Unigram::Lookup ( WordIndex  index  )  const [inline]

Definition at line 57 of file trie.hh.

References lm::ngram::trie::UnigramValue::weights.

UnigramValue* lm::ngram::trie::Unigram::Raw (  )  [inline]

Definition at line 61 of file trie.hh.

Referenced by lm::ngram::trie::BuildTrie().

Here is the caller graph for this function:

static uint64_t lm::ngram::trie::Unigram::Size ( uint64_t  count  )  [inline, static]

ProbBackoff& lm::ngram::trie::Unigram::Unknown (  )  [inline]

Definition at line 59 of file trie.hh.

References lm::ngram::trie::UnigramValue::weights.

Referenced by lm::ngram::trie::TrieSearch< Quant, Bhiksha >::UnknownUnigram().

Here is the caller graph for this function:


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

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