/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/mm/ug_lexical_reordering.cc File Reference

#include "ug_lexical_reordering.h"
#include "moses/Util.h"

Go to the source code of this file.

Namespaces

namespace  sapt

Functions

bool sapt::check (vector< ushort > const &v, size_t const LFT, size_t const RGT, ushort &L, ushort &R, size_t &count)
int sapt::expand_block (vector< vector< ushort > > const &row2col, vector< vector< ushort > > const &col2row, size_t row, size_t col, size_t const TOP, size_t const LFT, size_t const BOT, size_t const RGT, ushort *top=NULL, ushort *lft=NULL, ushort *bot=NULL, ushort *rgt=NULL)
 return number of alignment points in box, -1 on failure
sapt::PhraseOrientation sapt::find_po_fwd (vector< vector< ushort > > &a1, vector< vector< ushort > > &a2, size_t s1, size_t e1, size_t s2, size_t e2)
PhraseOrientation sapt::find_po_bwd (vector< vector< ushort > > &a1, vector< vector< ushort > > &a2, size_t s1, size_t e1, size_t s2, size_t e2)

Variables

LRModel::ReorderingType sapt::po_other = LRModel::NONE


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