Vowpal Wabbit
|
Public Member Functions | |
~TC_parser () | |
void | parserWarning (const char *message, char *begin, char *pos, const char *message2) |
float | featureValue () |
substring | read_name () |
void | maybeFeature () |
void | nameSpaceInfoValue () |
void | nameSpaceInfo () |
void | listFeatures () |
void | nameSpace () |
void | listNameSpace () |
TC_parser (char *reading_head, char *endLine, vw &all, example *ae) | |
Public Attributes | |
char * | beginLine |
char * | reading_head |
char * | endLine |
float | cur_channel_v |
bool | new_index |
size_t | anon |
uint64_t | channel_hash |
char * | base |
unsigned char | index |
float | v |
bool | redefine_some |
std::array< unsigned char, NUM_NAMESPACES > * | redefine |
parser * | p |
example * | ae |
std::array< uint64_t, NUM_NAMESPACES > * | affix_features |
std::array< bool, NUM_NAMESPACES > * | spelling_features |
v_array< char > | spelling |
uint32_t | hash_seed |
uint64_t | parse_mask |
std::array< std::vector< feature_dict * >, NUM_NAMESPACES > * | namespace_dictionaries |
Definition at line 50 of file parse_example.cc.
Definition at line 75 of file parse_example.cc.
|
inline |
Definition at line 401 of file parse_example.cc.
References TC_parser< audit >::ae, vw::affix_features, TC_parser< audit >::endLine, vw::hash_seed, TC_parser< audit >::listNameSpace(), vw::namespace_dictionaries, vw::p, vw::parse_mask, TC_parser< audit >::reading_head, vw::redefine, vw::redefine_some, and vw::spelling_features.
|
inline |
Definition at line 93 of file parse_example.cc.
References parseFloat(), TC_parser< audit >::parserWarning(), TC_parser< audit >::reading_head, and TC_parser< audit >::v.
Referenced by TC_parser< audit >::maybeFeature().
|
inline |
Definition at line 333 of file parse_example.cc.
References TC_parser< audit >::maybeFeature(), TC_parser< audit >::parserWarning(), and TC_parser< audit >::reading_head.
Referenced by TC_parser< audit >::nameSpace().
|
inline |
Definition at line 387 of file parse_example.cc.
References TC_parser< audit >::nameSpace(), TC_parser< audit >::parserWarning(), and TC_parser< audit >::reading_head.
Referenced by TC_parser< audit >::TC_parser().
|
inline |
Definition at line 136 of file parse_example.cc.
References affix_constant, affix_namespace, substring::begin, v_array< T >::begin(), c, v_array< T >::clear(), v_array< T >::delete_v(), dictionary_namespace, substring::end, v_array< T >::end(), example_predict::feature_space, TC_parser< audit >::featureValue(), parser::hasher, hashstring(), id(), TC_parser< audit >::index, example_predict::indices, features::indicies, TC_parser< audit >::parse_mask, v_array< T >::push_back(), features::push_back(), push_many(), quadratic_constant, TC_parser< audit >::read_name(), v_array< T >::size(), features::size(), features::space_names, spelling_namespace, features::sum_feat_sq, uniform_hash(), and features::values.
Referenced by TC_parser< audit >::listFeatures().
|
inline |
Definition at line 348 of file parse_example.cc.
References example_predict::feature_space, example_predict::indices, TC_parser< audit >::listFeatures(), TC_parser< audit >::nameSpaceInfo(), TC_parser< audit >::parserWarning(), v_array< T >::push_back(), and uniform_hash().
Referenced by TC_parser< audit >::listNameSpace().
|
inline |
Definition at line 302 of file parse_example.cc.
References substring::begin, v_array< T >::begin(), substring::end, example_predict::feature_space, parser::hasher, TC_parser< audit >::index, TC_parser< audit >::nameSpaceInfoValue(), TC_parser< audit >::parserWarning(), v_array< T >::push_back(), push_many(), and TC_parser< audit >::read_name().
Referenced by TC_parser< audit >::nameSpace().
|
inline |
Definition at line 270 of file parse_example.cc.
References parseFloat(), TC_parser< audit >::parserWarning(), and TC_parser< audit >::reading_head.
Referenced by TC_parser< audit >::nameSpaceInfo().
|
inline |
Definition at line 77 of file parse_example.cc.
References parser::end_parsed_examples, parser::strict_parse, and THROW_EX.
Referenced by TC_parser< audit >::featureValue(), TC_parser< audit >::listFeatures(), TC_parser< audit >::listNameSpace(), TC_parser< audit >::nameSpace(), TC_parser< audit >::nameSpaceInfo(), and TC_parser< audit >::nameSpaceInfoValue().
Definition at line 124 of file parse_example.cc.
References substring::begin, substring::end, and TC_parser< audit >::reading_head.
Referenced by TC_parser< audit >::maybeFeature(), and TC_parser< audit >::nameSpaceInfo().
Definition at line 66 of file parse_example.cc.
Referenced by TC_parser< audit >::TC_parser().
std::array<uint64_t, NUM_NAMESPACES>* TC_parser< audit >::affix_features |
Definition at line 67 of file parse_example.cc.
size_t TC_parser< audit >::anon |
Definition at line 58 of file parse_example.cc.
char* TC_parser< audit >::base |
Definition at line 60 of file parse_example.cc.
char* TC_parser< audit >::beginLine |
Definition at line 53 of file parse_example.cc.
uint64_t TC_parser< audit >::channel_hash |
Definition at line 59 of file parse_example.cc.
float TC_parser< audit >::cur_channel_v |
Definition at line 56 of file parse_example.cc.
char* TC_parser< audit >::endLine |
Definition at line 55 of file parse_example.cc.
Referenced by TC_parser< audit >::TC_parser().
uint32_t TC_parser< audit >::hash_seed |
Definition at line 70 of file parse_example.cc.
unsigned char TC_parser< audit >::index |
Definition at line 61 of file parse_example.cc.
Referenced by TC_parser< audit >::maybeFeature(), and TC_parser< audit >::nameSpaceInfo().
std::array<std::vector<feature_dict*>, NUM_NAMESPACES>* TC_parser< audit >::namespace_dictionaries |
Definition at line 73 of file parse_example.cc.
bool TC_parser< audit >::new_index |
Definition at line 57 of file parse_example.cc.
Definition at line 65 of file parse_example.cc.
uint64_t TC_parser< audit >::parse_mask |
Definition at line 71 of file parse_example.cc.
Referenced by TC_parser< audit >::maybeFeature().
char* TC_parser< audit >::reading_head |
Definition at line 54 of file parse_example.cc.
Referenced by TC_parser< audit >::featureValue(), TC_parser< audit >::listFeatures(), TC_parser< audit >::listNameSpace(), TC_parser< audit >::nameSpaceInfoValue(), TC_parser< audit >::read_name(), and TC_parser< audit >::TC_parser().
std::array<unsigned char, NUM_NAMESPACES>* TC_parser< audit >::redefine |
Definition at line 64 of file parse_example.cc.
bool TC_parser< audit >::redefine_some |
Definition at line 63 of file parse_example.cc.
Definition at line 69 of file parse_example.cc.
std::array<bool, NUM_NAMESPACES>* TC_parser< audit >::spelling_features |
Definition at line 68 of file parse_example.cc.
float TC_parser< audit >::v |
Definition at line 62 of file parse_example.cc.
Referenced by TC_parser< audit >::featureValue().