Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
A reducer class which processes ModelMessage protocol messages and merges them into a single message. More...
#include <model-merge-reducer.H>
Public Member Functions | |
ModelInfoReducer () | |
virtual int | Reduce (const string &key, const string &value) |
virtual int | Flush (void) |
Static Public Attributes | |
static const char * | kModelMessageFeatureName = "__MODEL_INFO_FIELD__" |
A reducer class which processes ModelMessage protocol messages and merges them into a single message.
Flush() must be called to output the final combined message.
Definition at line 86 of file model-merge-reducer.H.
|
inline |
Definition at line 88 of file model-merge-reducer.H.
|
virtual |
Implements reranker::Reducer.
Definition at line 158 of file model-merge-reducer.C.
|
virtual |
Implements reranker::Reducer.
Definition at line 115 of file model-merge-reducer.C.
|
static |
Definition at line 94 of file model-merge-reducer.H.