mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 04:43:03 +03:00
Fix merge errors.
This commit is contained in:
parent
2028b86642
commit
fefd2b0ada
@ -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);
|
||||
|
@ -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 ;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user