Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
reranker::SymbolReducer Class Reference

A reducer class which processes SymbolMessage messages and returns a set of unique them into a single message. More...

#include <model-merge-reducer.H>

Inheritance diagram for reranker::SymbolReducer:
reranker::Reducer

Public Member Functions

 SymbolReducer ()
 
virtual int Reduce (const string &key, const string &value)
 
virtual int Flush (void)
 

Detailed Description

A reducer class which processes SymbolMessage messages and returns a set of unique them into a single message.

Flush() must be called to output the final combined message.

Definition at line 108 of file model-merge-reducer.H.

Constructor & Destructor Documentation

reranker::SymbolReducer::SymbolReducer ( )
inline

Definition at line 110 of file model-merge-reducer.H.

Member Function Documentation

virtual int reranker::SymbolReducer::Flush ( void  )
inlinevirtual

Implements reranker::Reducer.

Definition at line 112 of file model-merge-reducer.H.

int reranker::SymbolReducer::Reduce ( const string &  key,
const string &  value 
)
virtual

Implements reranker::Reducer.

Definition at line 175 of file model-merge-reducer.C.


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