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

#ifndef LEX_TRANS_TBL_H_
#define LEX_TRANS_TBL_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_ */