lm::ngram::trie::SortedFiles Class Reference

#include <trie_sort.hh>

Collaboration diagram for lm::ngram::trie::SortedFiles:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 85 of file trie_sort.hh.


Constructor & Destructor Documentation

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 
)


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


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

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