#include <LVoc.h>
Public Types | |
| typedef V::const_iterator | const_iterator |
Public Member Functions | |
| LVoc () | |
| bool | isKnown (const Key &k) const |
| LabelId | index (const Key &k) const |
| LabelId | add (const Key &k) |
| Key const & | symbol (LabelId i) const |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | Write (const std::string &fname) const |
| void | Write (std::ostream &out) const |
| void | Read (const std::string &fname) |
| void | Read (std::istream &in) |
Definition at line 19 of file LVoc.h.
| typedef V::const_iterator LVoc< A, B >::const_iterator |
| LabelId LVoc< A, B >::add | ( | const Key & | k | ) | [inline] |
Definition at line 36 of file LVoc.h.
References CHECK.
Referenced by Moses::PhraseDictionaryTree::Create().

| const_iterator LVoc< A, B >::begin | ( | ) | const [inline] |
| const_iterator LVoc< A, B >::end | ( | ) | const [inline] |
| LabelId LVoc< A, B >::index | ( | const Key & | k | ) | const [inline] |
Definition at line 32 of file LVoc.h.
References InvalidLabelId.
Referenced by Moses::PhraseDictionaryTree::GetTargetCandidates(), and Moses::PhraseDictionaryTree::PrintTargetCandidates().

| bool LVoc< A, B >::isKnown | ( | const Key & | k | ) | const [inline] |
| void LVoc< A, B >::Read | ( | std::istream & | in | ) | [inline] |
| void LVoc< A, B >::Read | ( | const std::string & | fname | ) | [inline] |
| Key const& LVoc< A, B >::symbol | ( | LabelId | i | ) | const [inline] |
Definition at line 43 of file LVoc.h.
References CHECK.
Referenced by Moses::PDTimp::PrintTgtCand().

| void LVoc< A, B >::Write | ( | std::ostream & | out | ) | const [inline] |
| void LVoc< A, B >::Write | ( | const std::string & | fname | ) | const [inline] |
Definition at line 56 of file LVoc.h.
Referenced by Moses::PhraseDictionaryTree::Create(), and Moses::LexicalReorderingTableTree::Create().

1.5.9