|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <trie.hh>
Public Member Functions | |
| Unigram () | |
| void | Init (void *start) |
| const ProbBackoff & | Lookup (WordIndex index) const |
| ProbBackoff & | Unknown () |
| UnigramValue * | Raw () |
| 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 | |
| UnigramValue * | unigram_ |
| void lm::ngram::trie::Unigram::Find | ( | WordIndex | word, |
| float & | prob, | ||
| float & | backoff, | ||
| NodeRange & | next | ||
| ) | const |
| void lm::ngram::trie::Unigram::Init | ( | void * | start | ) |
| const ProbBackoff& lm::ngram::trie::Unigram::Lookup | ( | WordIndex | index | ) | const |
| static std::size_t lm::ngram::trie::Unigram::Size | ( | uint64_t | count | ) | [static] |
UnigramValue* lm::ngram::trie::Unigram::unigram_ [private] |