~ubuntu-branches/ubuntu/vivid/vowpal-wabbit/vivid

« back to all changes in this revision

Viewing changes to vowpalwabbit/parse_example.h

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-08-27 20:52:23 UTC
  • mfrom: (1.2.1) (7.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130827205223-q005ps71tqinh25v
Tags: 7.3-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) by respective owners including Yahoo!, Microsoft, and
 
3
individual contributors. All rights reserved.  Released under a BSD
 
4
license as described in the file LICENSE.
 
5
 */
 
6
#ifndef PE_H
 
7
#define PE_H
 
8
#include <stdint.h>
 
9
#include "parse_regressor.h"
 
10
#include "parse_primitives.h"
 
11
#include "parser.h"
 
12
#include "example.h"
 
13
 
 
14
//example processing
 
15
 
 
16
int read_features(void* a, example* ex);// read example from  preset buffers.
 
17
void read_line(vw& all, example* ex, char* line);//read example from the line.
 
18
size_t hashstring (substring s, uint32_t h);
 
19
 
 
20
hash_func_t getHasher(const std::string& s);
 
21
 
 
22
#endif