Welcome to mirror list, hosted at ThFree Co, Russian Federation.

parse_example.h « vowpalwabbit - github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d3cbd35855e73a008ba1403d50aca525fecc66c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved.  Released under a BSD
license as described in the file LICENSE.
 */
#ifndef PARSE_EXAMPLE_H
#define PARSE_EXAMPLE_H
#include <stdint.h>
#include "parse_regressor.h"
#include "parse_primitives.h"
#include "parser.h"
#include "example.h"

//example processing

int read_features(void* a, example* ex);// read example from  preset buffers.
void read_line(vw& all, example* ex, char* line);//read example from the line.
size_t hashstring (substring s, uint32_t h);

hash_func_t getHasher(const std::string& s);

#endif