#include <extract-lex.h>
Public Member Functions | |
WordCount () | |
WordCount (float count) | |
void | AddCount (float incr) |
std::map< const std::string *, WordCount > & | GetColl () |
const std::map< const std::string *, WordCount > & | GetColl () const |
const float | GetCount () const |
Public Attributes | |
float | m_count |
std::map< const std::string *, WordCount > | m_coll |
Friends | |
std::ostream & | operator<< (std::ostream &, const WordCount &) |
Definition at line 12 of file extract-lex.h.
MosesTraining::WordCount::WordCount | ( | ) | [inline] |
Definition at line 20 of file extract-lex.h.
MosesTraining::WordCount::WordCount | ( | float | count | ) | [inline] |
Definition at line 26 of file extract-lex.h.
void MosesTraining::WordCount::AddCount | ( | float | incr | ) |
const std::map<const std::string*, WordCount>& MosesTraining::WordCount::GetColl | ( | ) | const [inline] |
std::map<const std::string*, WordCount>& MosesTraining::WordCount::GetColl | ( | ) | [inline] |
const float MosesTraining::WordCount::GetCount | ( | ) | const [inline] |
Definition at line 39 of file extract-lex.h.
References m_count.
Referenced by MosesTraining::operator<<().
std::ostream& operator<< | ( | std::ostream & | out, | |
const WordCount & | obj | |||
) | [friend] |
Definition at line 206 of file extract-lex-main.cpp.
std::map<const std::string*, WordCount> MosesTraining::WordCount::m_coll |