Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
A class to de-serialize FeatureVector instances from FeatureVecMessage instances. More...
#include <feature-vector-reader.H>
Public Member Functions | |
void | Read (const FeatureVecMessage &fv_message, FV &features, Symbols *symbols) const |
Serializes the specified feature vector to the specified FeatureVecMessage protocol buffer message. More... | |
A class to de-serialize FeatureVector instances from FeatureVecMessage instances.
the | type of FeatureVector to de-serialize |
Definition at line 61 of file feature-vector-reader.H.
|
inline |
Serializes the specified feature vector to the specified FeatureVecMessage protocol buffer message.
[in] | fv_message | the FeatureVecMessage instance from which to read the serialized version of a feature vector |
[out] | features | the feature vector to be de-serialized from the specified FeatureVecMessage |
[in,out] | symbols | the symbol table to get an int feature uid when a FeatureMessage has its name field set |
Definition at line 73 of file feature-vector-reader.H.