|
Vowpal Wabbit
|
#include <cmath>#include <math.h>#include <cctype>#include "parse_example.h"#include "hash.h"#include "unique_sort.h"#include "global_data.h"#include "constant.h"Go to the source code of this file.
Classes | |
| class | TC_parser< audit > |
Namespaces | |
| VW | |
Functions | |
| size_t | read_features (vw *all, char *&line, size_t &num_chars) |
| int | read_features_string (vw *all, v_array< example *> &examples) |
| void | substring_to_example (vw *all, example *ae, substring example) |
| std::vector< std::string > | split (char *phrase, const std::string &delimiter) |
| void | VW::read_line (vw &all, example *ex, char *line) |
| void | VW::read_lines (vw *all, char *line, size_t, v_array< example *> &examples) |
| 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().
| std::vector<std::string> split | ( | char * | phrase, |
| const std::string & | delimiter | ||
| ) |
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().
1.8.13