#include <BilingualDynSuffixArray.h>

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) |
| void | GetTargetPhrasesByLexicalWeight (const Phrase &src, std::vector< std::pair< Scores, TargetPhrase * > > &target) const |
| void | CleanUp (const InputType &source) |
| void | addSntPair (std::string &source, std::string &target, std::string &alignment) |
| std::pair< float, float > | GatherCands (Phrase const &src, std::map< SAPhrase, std::vector< float > > &pstats) const |
| TargetPhrase * | GetMosesFactorIDs (const SAPhrase &, const Phrase &sourcePhrase, const PhraseDictionary *pt) const |
Definition at line 109 of file BilingualDynSuffixArray.h.
| Moses::BilingualDynSuffixArray::BilingualDynSuffixArray | ( | ) |
Definition at line 19 of file BilingualDynSuffixArray.cpp.
| Moses::BilingualDynSuffixArray::~BilingualDynSuffixArray | ( | ) |
Definition at line 33 of file BilingualDynSuffixArray.cpp.
| void Moses::BilingualDynSuffixArray::addSntPair | ( | std::string & | source, | |
| std::string & | target, | |||
| std::string & | alignment | |||
| ) |
| void Moses::BilingualDynSuffixArray::CleanUp | ( | const InputType & | source | ) |
Definition at line 191 of file BilingualDynSuffixArray.cpp.
| std::pair<float,float> Moses::BilingualDynSuffixArray::GatherCands | ( | Phrase const & | src, | |
| std::map< SAPhrase, std::vector< float > > & | pstats | |||
| ) | const |
Referenced by Moses::PhraseDictionaryDynSuffixArray::GetTargetPhraseCollectionLEGACY().

| 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().


| void Moses::BilingualDynSuffixArray::GetTargetPhrasesByLexicalWeight | ( | const Phrase & | src, | |
| std::vector< std::pair< Scores, TargetPhrase * > > & | target | |||
| ) | const |
| 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 | |||
| ) |
Referenced by Moses::PhraseDictionaryDynSuffixArray::Load().

1.5.9