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

#include <vocab.hh>

Inheritance diagram for lm::ngram::WriteWordsWrapper:
[legend]
Collaboration diagram for lm::ngram::WriteWordsWrapper:
[legend]

List of all members.

Public Member Functions

 WriteWordsWrapper (EnumerateVocab *inner)
 ~WriteWordsWrapper ()
void Add (WordIndex index, const StringPiece &str)
void Write (int fd)

Private Attributes

EnumerateVocabinner_
std::string buffer_

Constructor & Destructor Documentation


Member Function Documentation

void lm::ngram::WriteWordsWrapper::Add ( WordIndex  index,
const StringPiece str 
) [virtual]

Implements lm::ngram::EnumerateVocab.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation