mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
make GetOutputLanguageModelOrder() const
This commit is contained in:
parent
9739b7a8a7
commit
eea29752a4
@ -553,7 +553,8 @@ void Manager::OutputWordGraph(std::ostream &outputWordGraphStream, const Hypothe
|
||||
outputWordGraphStream << endl;
|
||||
}
|
||||
|
||||
void Manager::GetOutputLanguageModelOrder( std::ostream &out, const Hypothesis *hypo ) {
|
||||
void Manager::GetOutputLanguageModelOrder( std::ostream &out, const Hypothesis *hypo ) const
|
||||
{
|
||||
Phrase translation;
|
||||
hypo->GetOutputPhrase(translation);
|
||||
const std::vector<const StatefulFeatureFunction*> &statefulFFs = StatefulFeatureFunction::GetStatefulFeatureFunctions();
|
||||
|
@ -157,7 +157,7 @@ public:
|
||||
void PrintAllDerivations(long translationId, std::ostream& outputStream) const;
|
||||
void printDivergentHypothesis(long translationId, const Hypothesis* hypo, const std::vector <const TargetPhrase*> & remainingPhrases, float remainingScore , std::ostream& outputStream) const;
|
||||
void printThisHypothesis(long translationId, const Hypothesis* hypo, const std::vector <const TargetPhrase* > & remainingPhrases, float remainingScore , std::ostream& outputStream) const;
|
||||
void GetOutputLanguageModelOrder( std::ostream &out, const Hypothesis *hypo );
|
||||
void GetOutputLanguageModelOrder( std::ostream &out, const Hypothesis *hypo ) const;
|
||||
void GetWordGraph(long translationId, std::ostream &outputWordGraphStream) const;
|
||||
int GetNextHypoId();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user