MosesTraining::WordCount Class Reference

#include <extract-lex.h>

List of all members.

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


std::ostream & operator<< (std::ostream &, const WordCount &)

Detailed Description

Definition at line 12 of file extract-lex.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void MosesTraining::WordCount::AddCount ( float  incr  ) 

Definition at line 212 of file extract-lex-main.cpp.

References m_count.

const std::map<const std::string*, WordCount>& MosesTraining::WordCount::GetColl (  )  const [inline]

Definition at line 35 of file extract-lex.h.

References m_coll.

std::map<const std::string*, WordCount>& MosesTraining::WordCount::GetColl (  )  [inline]

Definition at line 32 of file extract-lex.h.

References m_coll.

const float MosesTraining::WordCount::GetCount (  )  const [inline]

Definition at line 39 of file extract-lex.h.

References m_count.

Referenced by MosesTraining::operator<<().

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const WordCount obj 
) [friend]

Definition at line 206 of file extract-lex-main.cpp.

Member Data Documentation

std::map<const std::string*, WordCount> MosesTraining::WordCount::m_coll

Definition at line 18 of file extract-lex.h.

Referenced by GetColl().

Definition at line 16 of file extract-lex.h.

Referenced by AddCount(), and GetCount().

The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:34:06 2017 for Moses by  doxygen 1.5.9