Vowpal Wabbit
|
Go to the source code of this file.
Namespaces | |
VW | |
Enumerations | |
enum | FeatureInputType { StringFeatures, JsonFeatures } |
Functions | |
void | substring_to_example (vw *all, example *ae, substring example) |
example & | VW::get_unused_example (vw *all) |
void | VW::read_line (vw &all, example *ex, char *line) |
void | VW::read_lines (vw *all, char *line, size_t, v_array< example *> &examples) |
int | read_features_string (vw *all, v_array< example *> &examples) |
size_t | read_features (vw *all, char *&line, size_t &num_chars) |
enum FeatureInputType |
Enumerator | |
---|---|
StringFeatures | |
JsonFeatures |
Definition at line 13 of file parse_example.h.
size_t read_features | ( | vw * | all, |
char *& | line, | ||
size_t & | num_chars | ||
) |
Definition at line 16 of file parse_example.cc.
References parser::input, vw::p, and readto().
Referenced by read_features_json(), and read_features_string().
Definition at line 35 of file parse_example.cc.
References read_features(), and substring_to_example().
Referenced by enable_sources(), and reset_source().
Definition at line 426 of file parse_example.cc.
References vw::audit, substring::begin, v_array< T >::clear(), label_parser::default_label, v_array< T >::empty(), substring::end, vw::hash_inv, example::l, v_array< T >::last(), parser::lp, vw::p, label_parser::parse_label, v_array< T >::pop(), push_many(), safe_index(), vw::sd, example::tag, tokenize(), and parser::words.
Referenced by prepare_for_learner(), read_features_string(), and VW::read_line().