encoder.h

filter: Statementstmt 0.0% 0 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 1 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« common.h ↑ Summary blib/lib/Algorithm/CRF.pm »
1 //
2 // CRF++ -- Yet Another CRF toolkit
3 //
4 // $Id: encoder.h 1588 2007-02-12 09:03:39Z taku $;
5 //
6 // Copyright(C) 2005-2007 Taku Kudo <taku@chasen.org>
7 //
8 #ifndef _CRFPP_LEANER_H
9 #define _CRFPP_LEANER_H
10  
11 #include "common.h"
12  
13 namespace CRFPP {
14 class Encoder {
15 private:
16 whatlog what_;
17 public:
18 enum { CRF, MIRA };
19 bool learn(const char *, const char *, const char *, bool, size_t, size_t,
20 double, double, unsigned short, unsigned short, int);
21 bool convert(const char *, const char*);
22 0 const char* what() { return what_.str(); }
23 };
24 }
25 #endif
« common.h ↑ Summary blib/lib/Algorithm/CRF.pm »