Moses::BilingualDynSuffixArray Class Reference

#include <BilingualDynSuffixArray.h>

Collaboration diagram for Moses::BilingualDynSuffixArray:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BilingualDynSuffixArray ()
 ~BilingualDynSuffixArray ()
bool Load (const std::vector< FactorType > &inputFactors, const std::vector< FactorType > &outputTactors, std::string source, std::string target, std::string alignments, const std::vector< float > &weight)
bool LoadTM (const std::vector< FactorType > &inputFactors, const std::vector< FactorType > &outputTactors, std::string source, std::string target, std::string alignments, const std::vector< float > &weight)
void GetTargetPhrasesByLexicalWeight (const Phrase &src, std::vector< std::pair< Scores, TargetPhrase * > > &target) const
void addSntPair (string &source, string &target, string &alignment)


Detailed Description

Todo:
ask Abbey Levenberg

Definition at line 91 of file BilingualDynSuffixArray.h.


Constructor & Destructor Documentation

Moses::BilingualDynSuffixArray::BilingualDynSuffixArray (  ) 

Definition at line 13 of file BilingualDynSuffixArray.cpp.

Moses::BilingualDynSuffixArray::~BilingualDynSuffixArray (  ) 

Definition at line 26 of file BilingualDynSuffixArray.cpp.


Member Function Documentation

void Moses::BilingualDynSuffixArray::addSntPair ( string &  source,
string &  target,
string &  alignment 
)

void Moses::BilingualDynSuffixArray::GetTargetPhrasesByLexicalWeight ( const Phrase src,
std::vector< std::pair< Scores, TargetPhrase * > > &  target 
) const

Definition at line 404 of file BilingualDynSuffixArray.cpp.

References CHECK, Moses::DynSuffixArray::GetCorpusIndex(), Moses::Phrase::GetSize(), Moses::RemoveAllInColl(), and Moses::SAPhrase::words.

Referenced by Moses::PhraseDictionaryDynSuffixArray::GetTargetPhraseCollection().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Moses::BilingualDynSuffixArray::Load ( const std::vector< FactorType > &  inputFactors,
const std::vector< FactorType > &  outputTactors,
std::string  source,
std::string  target,
std::string  alignments,
const std::vector< float > &  weight 
)

Definition at line 37 of file BilingualDynSuffixArray.cpp.

References CHECK, Moses::Input, and Moses::Output.

Referenced by Moses::PhraseDictionaryDynSuffixArray::Load().

Here is the caller graph for this function:

bool Moses::BilingualDynSuffixArray::LoadTM ( const std::vector< FactorType > &  inputFactors,
const std::vector< FactorType > &  outputTactors,
std::string  source,
std::string  target,
std::string  alignments,
const std::vector< float > &  weight 
)

Definition at line 73 of file BilingualDynSuffixArray.cpp.

References CHECK, Moses::Input, and Moses::Output.


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

Generated on Sat Nov 29 00:31:19 2014 for Moses by  doxygen 1.5.9