|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <vocab.hh>
Public Member Functions | |
| WriteWordsWrapper (EnumerateVocab *inner) | |
| ~WriteWordsWrapper () | |
| void | Add (WordIndex index, const StringPiece &str) |
| void | Write (int fd) |
Private Attributes | |
| EnumerateVocab * | inner_ |
| std::string | buffer_ |
| void lm::ngram::WriteWordsWrapper::Add | ( | WordIndex | index, |
| const StringPiece & | str | ||
| ) | [virtual] |
| void lm::ngram::WriteWordsWrapper::Write | ( | int | fd | ) |
std::string lm::ngram::WriteWordsWrapper::buffer_ [private] |