summaryrefslogtreecommitdiff
path: root/extools/lex_trans_tbl.h
blob: 161b4a0dc2c3d87e75f8d45509d162d8bb215b98 (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
/*
 * lex_trans_tbl.h
 *
 *  Created on: May 25, 2010
 *      Author: Vlad
 */

#ifndef LEX_TRANS_TBL_H_
#define LEX_TRANS_TBL_H_

#include "wordid.h"
#include <map>

class LexTranslationTable
{
 public:

  std::map < std::pair<WordID,WordID>,int > word_translation;
  std::map <WordID, int> total_foreign;
  std::map <WordID, int> total_english;
  void createTTable(const char* buf);
  
};

#endif /* LEX_TRANS_TBL_H_ */