Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
model-proto-reader.H File Reference

Interface for de-serializer for reranker::Model instances from ModelMessage instances. More...

#include <iostream>
#include "../proto/model.pb.h"
#include "factory.H"
#include "model.H"

Go to the source code of this file.

Classes

class  reranker::ModelProtoReader
 A class to de-serialize a Model instance from a ModelMessage instance. More...
 

Namespaces

 reranker
 Provides reranking models for discriminative modeling, with some special handling for discriminative language models.
 

Macros

#define REGISTER_NAMED_MODEL_PROTO_READER(TYPE, NAME)   REGISTER_NAMED(TYPE,NAME,ModelProtoReader)
 Registers the ModelProtoReader implementation with the specified subtype TYPE and NAME with the ModelProtoReader Factory. More...
 
#define REGISTER_MODEL_PROTO_READER(TYPE)   REGISTER_NAMED_MODEL_PROTO_READER(TYPE,TYPE)
 Registers the ModelProtoReader implementation with the specified subtype TYPE with the ModelProtoReader Factory. More...
 

Detailed Description

Interface for de-serializer for reranker::Model instances from ModelMessage instances.

Author
dbike.nosp@m.l@go.nosp@m.ogle..nosp@m.com (Dan Bikel)

Definition in file model-proto-reader.H.

Macro Definition Documentation

#define REGISTER_MODEL_PROTO_READER (   TYPE)    REGISTER_NAMED_MODEL_PROTO_READER(TYPE,TYPE)

Registers the ModelProtoReader implementation with the specified subtype TYPE with the ModelProtoReader Factory.

Definition at line 93 of file model-proto-reader.H.

#define REGISTER_NAMED_MODEL_PROTO_READER (   TYPE,
  NAME 
)    REGISTER_NAMED(TYPE,NAME,ModelProtoReader)

Registers the ModelProtoReader implementation with the specified subtype TYPE and NAME with the ModelProtoReader Factory.

Definition at line 86 of file model-proto-reader.H.