Fix merge errors.

This commit is contained in:
Paul Baltescu 2014-11-13 16:52:24 +00:00
parent 2028b86642
commit fefd2b0ada
3 changed files with 11 additions and 5 deletions

View File

@ -42,6 +42,7 @@
#include "moses/FF/SourceGHKMTreeInputMatchFeature.h"
#include "moses/FF/HyperParameterAsWeight.h"
#include "moses/FF/SetSourcePhrase.h"
#include "moses/FF/PhraseOrientationFeature.h"
#include "CountNonTerms.h"
#include "ReferenceComparison.h"
#include "RuleScope.h"
@ -49,12 +50,11 @@
#include "NieceTerminal.h"
#include "SpanLength.h"
#include "SyntaxRHS.h"
#include "moses/FF/PhraseOrientationFeature.h"
#include "bilingual-lm/BilingualLM.h"
#include "moses/FF/SkeletonStatelessFF.h"
#include "moses/FF/SkeletonStatefulFF.h"
#include "moses/LM/SkeletonLM.h"
#include "moses/LM/BilingualLM.h"
#include "SkeletonChangeInput.h"
#include "moses/TranslationModel/SkeletonPT.h"
#include "moses/Syntax/RuleTableFF.h"
@ -218,7 +218,6 @@ FeatureRegistry::FeatureRegistry()
MOSES_FNAME(SpanLength);
MOSES_FNAME(SyntaxRHS);
MOSES_FNAME(PhraseOrientationFeature);
MOSES_FNAME(BilingualLM);
MOSES_FNAME(SkeletonStatelessFF);
MOSES_FNAME(SkeletonStatefulFF);

View File

@ -10,6 +10,15 @@ if $(with-dlib) {
dlib = ;
}
with-oxlm = [ option.get "with-oxlm" ] ;
if $(with-oxlm) {
oxlm2 = <cxxflags>-std=c++0x <define>LM_OXLM <include>$(with-oxlm)/src
<include>$(with-oxlm)/third_party/eigen ;
} else {
oxlm2 = ;
}
alias headers : ../util//kenutil : : : $(max-factors) $(dlib) $(oxlm2) ;
alias ThreadPool : ThreadPool.cpp ;
alias Util : Util.cpp Timer.cpp ;

View File

@ -24,8 +24,6 @@ class OxLM : public LanguageModelSingleFactor {
void Load();
double GetScore(int word, const std::vector<int>& context) const;
virtual LMResult GetValue(
const std::vector<const Word*> &contextFactor,
State* finalState = 0) const;