Moses::PhraseDictionaryDynSuffixArray Class Reference

#include <PhraseDictionaryDynSuffixArray.h>

Inheritance diagram for Moses::PhraseDictionaryDynSuffixArray:

Inheritance graph
[legend]
Collaboration diagram for Moses::PhraseDictionaryDynSuffixArray:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PhraseDictionaryDynSuffixArray (size_t m_numScoreComponent, PhraseDictionaryFeature *feature)
 ~PhraseDictionaryDynSuffixArray ()
bool Load (const std::vector< FactorType > &m_input, const std::vector< FactorType > &m_output, std::string m_source, std::string m_target, std::string m_alignments, const std::vector< float > &m_weight, size_t m_tableLimit, const LMList &languageModels, float weightWP)
const TargetPhraseCollectionGetTargetPhraseCollection (const Phrase &src) const
 find list of translations that can translates src. Only for phrase input
void InitializeForInput (const InputType &i)
 Create entry for translation of source to targetPhrase.
void CleanUp ()
void insertSnt (string &, string &, string &)
void deleteSnt (unsigned, unsigned)
ChartRuleLookupManagerCreateRuleLookupManager (const InputType &, const ChartCellCollection &)
 Create a sentence-specific manager for SCFG rule lookup.


Detailed Description

Definition at line 12 of file PhraseDictionaryDynSuffixArray.h.


Constructor & Destructor Documentation

Moses::PhraseDictionaryDynSuffixArray::PhraseDictionaryDynSuffixArray ( size_t  m_numScoreComponent,
PhraseDictionaryFeature feature 
)

Definition at line 11 of file PhraseDictionaryDynSuffixArray.cpp.

Moses::PhraseDictionaryDynSuffixArray::~PhraseDictionaryDynSuffixArray (  ) 

Definition at line 17 of file PhraseDictionaryDynSuffixArray.cpp.


Member Function Documentation

void Moses::PhraseDictionaryDynSuffixArray::CleanUp (  )  [virtual]

Reimplemented from Moses::Dictionary.

Definition at line 46 of file PhraseDictionaryDynSuffixArray.cpp.

References Moses::BilingualDynSuffixArray::CleanUp().

Here is the call graph for this function:

ChartRuleLookupManager * Moses::PhraseDictionaryDynSuffixArray::CreateRuleLookupManager ( const InputType ,
const ChartCellCollection  
) [virtual]

Create a sentence-specific manager for SCFG rule lookup.

Implements Moses::PhraseDictionary.

Definition at line 82 of file PhraseDictionaryDynSuffixArray.cpp.

References CHECK.

void Moses::PhraseDictionaryDynSuffixArray::deleteSnt ( unsigned  ,
unsigned   
)

Definition at line 77 of file PhraseDictionaryDynSuffixArray.cpp.

const TargetPhraseCollection * Moses::PhraseDictionaryDynSuffixArray::GetTargetPhraseCollection ( const Phrase src  )  const [virtual]

void Moses::PhraseDictionaryDynSuffixArray::InitializeForInput ( const InputType source  )  [virtual]

Create entry for translation of source to targetPhrase.

Implements Moses::PhraseDictionary.

Definition at line 41 of file PhraseDictionaryDynSuffixArray.cpp.

References CHECK.

void Moses::PhraseDictionaryDynSuffixArray::insertSnt ( string &  source,
string &  target,
string &  alignment 
)

Definition at line 72 of file PhraseDictionaryDynSuffixArray.cpp.

References Moses::BilingualDynSuffixArray::addSntPair().

Here is the call graph for this function:

bool Moses::PhraseDictionaryDynSuffixArray::Load ( const std::vector< FactorType > &  m_input,
const std::vector< FactorType > &  m_output,
std::string  m_source,
std::string  m_target,
std::string  m_alignments,
const std::vector< float > &  m_weight,
size_t  m_tableLimit,
const LMList languageModels,
float  weightWP 
)


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

Generated on Thu Feb 9 00:04:11 2012 for Moses by  doxygen 1.5.9