10 #ifndef META_LIBSVM_PARSER_H_
11 #define META_LIBSVM_PARSER_H_
23 namespace libsvm_parser
26 using counts_t =
const std::vector<std::pair<term_id, double>>;
34 class_label
label(
const std::string& text);
43 counts_t counts(
const std::string& text,
bool contains_label =
true);
51 using std::runtime_error::runtime_error;