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
stream-init.H File Reference

Provides a generic dynamic object factory. More...

#include <cstdlib>
#include <iostream>
#include <sstream>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <stdexcept>
#include "stream-tokenizer.H"

Go to the source code of this file.

Classes

class  reranker::StreamInitializer
 An interface that allows for a primitive, Factory-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream. More...
 
class  reranker::Factory< T >
 Factory for dynamically created instance of the specified type. More...
 
class  reranker::Initializer< T >
 A class to initialize a Factory-constructible object. More...
 
class  reranker::Initializer< int >
 A specialization to allow Factory-constructible objects to initialize int data members. More...
 
class  reranker::Initializer< double >
 A specialization to initialize double data members. More...
 
class  reranker::Initializer< bool >
 A specialization to initialize bool data members. More...
 
class  reranker::Initializer< string >
 A specialization to initialize string data members. More...
 
class  reranker::Initializer< vector< T > >
 A partial specialization to allow initialization of a vector of any primitive type or any Factory-constructible type. More...
 

Namespaces

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

Detailed Description

Provides a generic dynamic object factory.

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

Definition in file stream-init.H.