Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/other-builds/CreateOnDisk.xcodeproj/project.pbxproj4
-rw-r--r--moses/src/LM/Implementation.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/other-builds/CreateOnDisk.xcodeproj/project.pbxproj b/contrib/other-builds/CreateOnDisk.xcodeproj/project.pbxproj
index 90bf911d3..9c5b8215a 100644
--- a/contrib/other-builds/CreateOnDisk.xcodeproj/project.pbxproj
+++ b/contrib/other-builds/CreateOnDisk.xcodeproj/project.pbxproj
@@ -288,6 +288,7 @@
../../irstlm/lib,
../../srilm/lib/macosx,
../../randlm/lib,
+ /opt/local/lib,
);
OTHER_LDFLAGS = (
"-lz",
@@ -298,6 +299,7 @@
"-lflm",
"-llattice",
"-lrandlm",
+ "-lboost_thread-mt",
);
PRODUCT_NAME = CreateOnDisk;
};
@@ -318,6 +320,7 @@
../../irstlm/lib,
../../srilm/lib/macosx,
../../randlm/lib,
+ /opt/local/lib,
);
OTHER_LDFLAGS = (
"-lz",
@@ -328,6 +331,7 @@
"-lflm",
"-llattice",
"-lrandlm",
+ "-lboost_thread-mt",
);
PRODUCT_NAME = CreateOnDisk;
};
diff --git a/moses/src/LM/Implementation.cpp b/moses/src/LM/Implementation.cpp
index 589ed375a..6fb1ffbe0 100644
--- a/moses/src/LM/Implementation.cpp
+++ b/moses/src/LM/Implementation.cpp
@@ -406,7 +406,7 @@ FFState* LanguageModelImplementation::EvaluateChart(const ChartHypothesis& hypo,
// beginning of sentence symbol <s>? -> just update state
if (word == GetSentenceStartArray())
- {
+ {
CHECK(phrasePos == 0);
delete lmState;
lmState = NewState( GetBeginSentenceState() );