#include <trie_sort.hh>
Public Member Functions | |
SortedFiles (const Config &config, util::FilePiece &f, std::vector< uint64_t > &counts, std::size_t buffer, const std::string &file_prefix, SortedVocabulary &vocab) | |
int | StealUnigram () |
FILE * | Full (unsigned char order) |
FILE * | Context (unsigned char of_order) |
Definition at line 85 of file trie_sort.hh.
lm::ngram::trie::SortedFiles::SortedFiles | ( | const Config & | config, | |
util::FilePiece & | f, | |||
std::vector< uint64_t > & | counts, | |||
std::size_t | buffer, | |||
const std::string & | file_prefix, | |||
SortedVocabulary & | vocab | |||
) |
FILE* lm::ngram::trie::SortedFiles::Context | ( | unsigned char | of_order | ) | [inline] |
Definition at line 98 of file trie_sort.hh.
References util::scoped_base< T, Closer >::get().
Referenced by lm::ngram::trie::BuildTrie().
FILE* lm::ngram::trie::SortedFiles::Full | ( | unsigned char | order | ) | [inline] |
Definition at line 94 of file trie_sort.hh.
References util::scoped_base< T, Closer >::get().
Referenced by lm::ngram::trie::BuildTrie().
int lm::ngram::trie::SortedFiles::StealUnigram | ( | ) | [inline] |
Definition at line 90 of file trie_sort.hh.
References util::scoped_fd::release().
Referenced by lm::ngram::trie::BuildTrie().