1 // Machine Translation model 1
2 // Copyright © 2009 The University of Chicago
9 typedef QMap
<int, double> IntToDouble
;
10 typedef QMap
<int, IntToDouble
*> IntToIntToDouble
;
17 // alignment parameters.
19 QMap
<int, QMap
<int, double>*> m_T
;
20 QMap
<int, QMap
<int, double>*> m_softCountOfT
;
21 QMap
<int, double> m_lamdaT
;
23 // construction/destruction.
25 cMTModel1(cMT
* driver
, int iterations
);
28 // disable default-construction, copy
31 cMTModel1(const cMTModel1
& x
);
32 cMTModel1
& operator=(const cMTModel1
& x
);
35 void addSoftCountOfT(int);
37 void clearSoftCounts();
40 void releaseSoftCounts();