summaryrefslogtreecommitdiff
path: root/dtrain/util.h
blob: 6a548519f2c5717c00991d749a6e19e6d08c9312 (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
#ifndef _DTRAIN_UTIL_H_
#define _DTRAIN_UTIL_H_


#include <iostream>
#include <string>
#include <vector>

#include "fdict.h"
#include "tdict.h"
#include "wordid.h"

using namespace std;


namespace dtrain
{


void register_and_convert(const vector<string>& strs, vector<WordID>& ids);
void print_FD();


} // namespace


#endif