38 #ifndef RERANKER_ABSTRACT_FILE_BACKED_FEATURE_EXTRACTOR_H_
39 #define RERANKER_ABSTRACT_FILE_BACKED_FEATURE_EXTRACTOR_H_
129 it != candidate_set.
end();
133 Extract(candidate, candidate.mutable_features());
153 cerr <<
"AbstractFileBackedFeatureExtractor: error: no more input\n"
154 <<
"\t(number of lines read so far: " <<
line_number_ <<
")" << endl;
vector< shared_ptr< Candidate > >::iterator iterator
Provides the Tokenizer class.
A very simple tokenizer class.
void Add(const string &name, T *member, bool required=false)
A class to hold a set of candidates, either for training or test.
An interface for an environment in which variables of various types are mapped to their values...
A class to represent a candidate in a set of candidates that constitutes a training instance for a re...
const_iterator begin() const
const_iterator end() const
A container for all the member initializers for a particular Factory-constructible instance...