summaryrefslogtreecommitdiff
path: root/dtrain/common.h
blob: cf365d48df108e826984dfc29c3adf3822dd2c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _DTRAIN_COMMON_H_
#define _DTRAIN_COMMON_H_


#include <sstream>
#include <iostream>
#include <vector>
#include <cassert>
#include <cmath>

#include "sentence_metadata.h"
#include "verbose.h"
#include "viterbi.h"
#include "kbest.h"
#include "ff_register.h"
#include "decoder.h"
#include "weights.h"

#include <boost/algorithm/string.hpp>
#include <boost/program_options.hpp>

#include "score.h"

#define DTRAIN_DEFAULT_K 100
#define DTRAIN_DEFAULT_N 4
#define DTRAIN_DEFAULT_T 1

#define DTRAIN_DOTOUT 100


using namespace std;
using namespace dtrain;
namespace po = boost::program_options;


#endif