Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
We use the templated class TypeName to be able to take an actual C++ type and get the type name string used by the Interpreter and Environment classes. More...
#include <factory.H>
Public Member Functions | |
string | ToString () |
We use the templated class TypeName to be able to take an actual C++ type and get the type name string used by the Interpreter and Environment classes.
This is so that the Init method of the TypedMemberInitializer class, defined below, can give the Environment::ReadAndSet method an explicit type name of the data member is about to read and set.
The basic implementation here works for Factory-constructible types, returning the result of the Factory::BaseName method for an instance of Factory<T>
.
|
inline |