|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
#include <sri.hh>
Public Member Functions | |
| Vocabulary () | |
| ~Vocabulary () | |
| WordIndex | Index (const StringPiece &str) const |
| WordIndex | Index (const std::string &str) const |
| WordIndex | Index (const char *str) const |
| const char * | Word (WordIndex index) const |
Private Member Functions | |
| void | FinishedLoading () |
Private Attributes | |
| std::auto_ptr< Vocab > | sri_ |
Friends | |
| class | Model |
Reimplemented from lm::base::Vocabulary.
| lm::sri::Vocabulary::~Vocabulary | ( | ) | [virtual] |
Reimplemented from lm::base::Vocabulary.
| void lm::sri::Vocabulary::FinishedLoading | ( | ) | [private] |
| WordIndex lm::sri::Vocabulary::Index | ( | const StringPiece & | str | ) | const [virtual] |
Implements lm::base::Vocabulary.
| WordIndex lm::sri::Vocabulary::Index | ( | const std::string & | str | ) | const [virtual] |
| WordIndex lm::sri::Vocabulary::Index | ( | const char * | str | ) | const [virtual] |
Reimplemented from lm::base::Vocabulary.
| const char * lm::sri::Vocabulary::Word | ( | WordIndex | index | ) | const |
friend class Model [friend] |
std::auto_ptr<Vocab> lm::sri::Vocabulary::sri_ [mutable, private] |