lm::builder::Output Class Reference

#include <output.hh>

Collaboration diagram for lm::builder::Output:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Output (StringPiece file_base, bool keep_buffer, bool output_q)
void Add (OutputHook *hook)
bool Have (HookType hook_type) const
int VocabFile () const
void SetHeader (const HeaderInfo &header)
const HeaderInfoGetHeader () const
void SinkProbs (util::stream::Chains &chains)
unsigned int Steps () const


Detailed Description

Definition at line 38 of file output.hh.


Constructor & Destructor Documentation

lm::builder::Output::Output ( StringPiece  file_base,
bool  keep_buffer,
bool  output_q 
)

Definition at line 14 of file output.cc.


Member Function Documentation

void lm::builder::Output::Add ( OutputHook hook  )  [inline]

Definition at line 43 of file output.hh.

References lm::builder::OutputHook::Type().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

const HeaderInfo& lm::builder::Output::GetHeader (  )  const [inline]

Definition at line 54 of file output.hh.

bool lm::builder::Output::Have ( HookType  hook_type  )  const [inline]

Definition at line 47 of file output.hh.

Referenced by SinkProbs(), and Steps().

Here is the caller graph for this function:

void lm::builder::Output::SetHeader ( const HeaderInfo header  )  [inline]

Definition at line 53 of file output.hh.

Referenced by lm::builder::Pipeline().

Here is the caller graph for this function:

void lm::builder::Output::SinkProbs ( util::stream::Chains chains  ) 

unsigned int lm::builder::Output::Steps (  )  const [inline]

Definition at line 59 of file output.hh.

References Have(), and lm::builder::PROB_SEQUENTIAL_HOOK.

Referenced by lm::builder::Pipeline().

Here is the call graph for this function:

Here is the caller graph for this function:

int lm::builder::Output::VocabFile (  )  const [inline]

Definition at line 51 of file output.hh.

References lm::ModelBuffer::VocabFile().

Referenced by lm::builder::Pipeline().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Thu Jul 6 00:32:43 2017 for Moses by  doxygen 1.5.9