IBM1 Class Reference

List of all members.

Public Member Functions

void align (string const &s1, string const &s2, vector< int > &aln) const
void align (vector< id_type > const &x1, vector< id_type > const &x2, vector< int > &aln) const
void fill_amatrix (vector< id_type > const &x1, vector< id_type > const &x2, vector< vector< int > > &aln) const
void open (string const base, string const L1, string const L2)

Public Attributes

table_t COOC
TokenIndex V1
TokenIndex V2


Detailed Description

Definition at line 26 of file ibm1-align.cc.


Member Function Documentation

void IBM1::align ( vector< id_type > const &  x1,
vector< id_type > const &  x2,
vector< int > &  aln 
) const

Definition at line 111 of file ibm1-align.cc.

References COOC, and k.

void IBM1::align ( string const &  s1,
string const &  s2,
vector< int > &  aln 
) const

Definition at line 60 of file ibm1-align.cc.

References V1, and V2.

Referenced by main().

Here is the caller graph for this function:

void IBM1::fill_amatrix ( vector< id_type > const &  x1,
vector< id_type > const &  x2,
vector< vector< int > > &  aln 
) const

Definition at line 80 of file ibm1-align.cc.

References aln, COOC, k, u(), V1, and V2.

Here is the call graph for this function:

void IBM1::open ( string const   base,
string const   L1,
string const   L2 
)

Definition at line 51 of file ibm1-align.cc.

References COOC, V1, and V2.

Referenced by main().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 29 of file ibm1-align.cc.

Referenced by align(), fill_amatrix(), and open().

TokenIndex IBM1::V1

Definition at line 30 of file ibm1-align.cc.

Referenced by align(), fill_amatrix(), main(), and open().

TokenIndex IBM1::V2

Definition at line 30 of file ibm1-align.cc.

Referenced by align(), fill_amatrix(), main(), and open().


The documentation for this class was generated from the following file:

Generated on Thu Jul 6 00:31:47 2017 for Moses by  doxygen 1.5.9