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:
authorHieu Hoang <fishandfrolick@gmail.com>2012-06-13 18:56:53 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-13 18:56:53 +0400
commit137d35162121dd6ee5970d989352013b79727625 (patch)
treee19fd4803f48dd72a6f904f23f9a2926d9c4991e
parent018b0bbac09d2210a1c6e7ab3504d65e5d0bb3aa (diff)
xcode
-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() );