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 vector< FactorType > &inputFactors, const vector< FactorType > &outputTactors, string source, string target, string alignments, const vector< float > &weight)
void GetTargetPhrasesByLexicalWeight (const Phrase &src, vector< pair< Scores, TargetPhrase * > > &target) const
void CleanUp (const InputType &source)
void addSntPair (string &source, string &target, string &alignment)
pair< float, float > GatherCands (Phrase const &src, map< SAPhrase, vector< float > > &pstats) const
 Gather translation candidates for source phrase /src/ and store raw.
TargetPhraseGetMosesFactorIDs (const SAPhrase &, const Phrase &sourcePhrase, const PhraseDictionary *pt) const


Detailed Description

Todo:
ask Abbey Levenberg

Definition at line 110 of file BilingualDynSuffixArray.h.


Constructor & Destructor Documentation

Moses::BilingualDynSuffixArray::BilingualDynSuffixArray (  ) 

Definition at line 19 of file BilingualDynSuffixArray.cpp.

Moses::BilingualDynSuffixArray::~BilingualDynSuffixArray (  ) 

Definition at line 33 of file BilingualDynSuffixArray.cpp.


Member Function Documentation

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

void Moses::BilingualDynSuffixArray::CleanUp ( const InputType source  ) 

Definition at line 191 of file BilingualDynSuffixArray.cpp.

pair< float, float > Moses::BilingualDynSuffixArray::GatherCands ( Phrase const &  src,
map< SAPhrase, vector< float > > &  pstats 
) const

Gather translation candidates for source phrase /src/ and store raw.

Definition at line 396 of file BilingualDynSuffixArray.cpp.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

TargetPhrase * Moses::BilingualDynSuffixArray::GetMosesFactorIDs ( const SAPhrase phrase,
const Phrase sourcePhrase,
const PhraseDictionary pt 
) const

Definition at line 377 of file BilingualDynSuffixArray.cpp.

References Moses::Phrase::AddWord(), Moses::Vocab::GetkOOVWord(), Moses::Vocab::GetWord(), UTIL_THROW_IF2, and Moses::SAPhrase::words.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 46 of file BilingualDynSuffixArray.cpp.

References Moses::WordCoocTable::Count(), Moses::Vocab::GetkOOVWordID(), Moses::Input, Moses::Output, sid, and UTIL_THROW_IF2.

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

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Wed Jul 1 00:34:21 2015 for Moses by  doxygen 1.5.9