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::Reducer Class Referenceabstract

Abstract base-class for a streaming reducer. More...

#include <model-merge-reducer.H>

Inheritance diagram for reranker::Reducer:
reranker::FeatureReducer reranker::ModelInfoReducer reranker::SymbolReducer

Public Member Functions

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

Detailed Description

Abstract base-class for a streaming reducer.

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

Member Function Documentation

virtual int reranker::Reducer::Flush ( void  )
pure virtual
virtual int reranker::Reducer::Reduce ( const string &  key,
const string &  value 
)
pure virtual

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