Modified xcode project to make it work with both sri and irst lms

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1955 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
abarun 2008-12-11 19:27:59 +00:00
parent 69b2dc441d
commit 3cc8305efa
3 changed files with 94 additions and 56 deletions

View File

@ -7,34 +7,16 @@
objects = {
/* Begin PBXBuildFile section */
03306D730C0B243D00CA1311 /* libmoses.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 03306D670C0B240B00CA1311 /* libmoses.a */; };
03306D820C0B249A00CA1311 /* mbr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03306D800C0B249A00CA1311 /* mbr.cpp */; };
03306D830C0B249A00CA1311 /* mbr.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 03306D810C0B249A00CA1311 /* mbr.h */; };
1C8CFF4D0AD68D3600FA22E2 /* Main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFF450AD68D3600FA22E2 /* Main.cpp */; };
1C8CFF4E0AD68D3600FA22E2 /* Main.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1C8CFF460AD68D3600FA22E2 /* Main.h */; };
1C8CFF4F0AD68D3600FA22E2 /* TranslationAnalysis.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFF470AD68D3600FA22E2 /* TranslationAnalysis.cpp */; };
1C8CFF500AD68D3600FA22E2 /* TranslationAnalysis.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 1C8CFF480AD68D3600FA22E2 /* TranslationAnalysis.h */; };
D39BA8630B149B530089AE6A /* IOStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D39BA8610B149B530089AE6A /* IOStream.cpp */; };
D39BA8640B149B530089AE6A /* IOStream.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = D39BA8620B149B530089AE6A /* IOStream.h */; };
B219B8540E93812700EAB407 /* libmoses.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 03306D670C0B240B00CA1311 /* libmoses.a */; };
B219B8580E9381AC00EAB407 /* IOWrapper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B219B8560E9381AC00EAB407 /* IOWrapper.cpp */; };
/* End PBXBuildFile section */
/* Begin PBXBuildStyle section */
B2E6E2E10C0C420400DF24E5 /* Development */ = {
isa = PBXBuildStyle;
buildSettings = {
COPY_PHASE_STRIP = NO;
};
name = Development;
};
B2E6E2E20C0C420400DF24E5 /* Deployment */ = {
isa = PBXBuildStyle;
buildSettings = {
COPY_PHASE_STRIP = YES;
};
name = Deployment;
};
/* End PBXBuildStyle section */
/* Begin PBXContainerItemProxy section */
03306D660C0B240B00CA1311 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
@ -61,7 +43,6 @@
files = (
1C8CFF4E0AD68D3600FA22E2 /* Main.h in CopyFiles */,
1C8CFF500AD68D3600FA22E2 /* TranslationAnalysis.h in CopyFiles */,
D39BA8640B149B530089AE6A /* IOStream.h in CopyFiles */,
03306D830C0B249A00CA1311 /* mbr.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
@ -77,8 +58,8 @@
1C8CFF470AD68D3600FA22E2 /* TranslationAnalysis.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = TranslationAnalysis.cpp; path = src/TranslationAnalysis.cpp; sourceTree = "<group>"; };
1C8CFF480AD68D3600FA22E2 /* TranslationAnalysis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TranslationAnalysis.h; path = src/TranslationAnalysis.h; sourceTree = "<group>"; };
8DD76F6C0486A84900D96B5E /* moses-cmd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "moses-cmd"; sourceTree = BUILT_PRODUCTS_DIR; };
D39BA8610B149B530089AE6A /* IOStream.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = IOStream.cpp; path = src/IOStream.cpp; sourceTree = "<group>"; };
D39BA8620B149B530089AE6A /* IOStream.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = IOStream.h; path = src/IOStream.h; sourceTree = "<group>"; };
B219B8560E9381AC00EAB407 /* IOWrapper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IOWrapper.cpp; path = src/IOWrapper.cpp; sourceTree = "<group>"; };
B219B8570E9381AC00EAB407 /* IOWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IOWrapper.h; path = src/IOWrapper.h; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -86,7 +67,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
03306D730C0B243D00CA1311 /* libmoses.a in Frameworks */,
B219B8540E93812700EAB407 /* libmoses.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -115,10 +96,10 @@
08FB7795FE84155DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
B219B8560E9381AC00EAB407 /* IOWrapper.cpp */,
B219B8570E9381AC00EAB407 /* IOWrapper.h */,
03306D800C0B249A00CA1311 /* mbr.cpp */,
03306D810C0B249A00CA1311 /* mbr.h */,
D39BA8610B149B530089AE6A /* IOStream.cpp */,
D39BA8620B149B530089AE6A /* IOStream.h */,
1C8CFF450AD68D3600FA22E2 /* Main.cpp */,
1C8CFF460AD68D3600FA22E2 /* Main.h */,
1C8CFF470AD68D3600FA22E2 /* TranslationAnalysis.cpp */,
@ -170,12 +151,7 @@
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 03306D3F0C0B23F200CA1311 /* Build configuration list for PBXProject "moses-cmd" */;
buildSettings = {
};
buildStyles = (
B2E6E2E10C0C420400DF24E5 /* Development */,
B2E6E2E20C0C420400DF24E5 /* Deployment */,
);
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* moses-cmd */;
projectDirPath = "";
@ -185,6 +161,7 @@
ProjectRef = 03306D5F0C0B240B00CA1311 /* moses.xcodeproj */;
},
);
projectRoot = "";
targets = (
8DD76F620486A84900D96B5E /* moses-cmd */,
);
@ -208,8 +185,8 @@
files = (
1C8CFF4D0AD68D3600FA22E2 /* Main.cpp in Sources */,
1C8CFF4F0AD68D3600FA22E2 /* TranslationAnalysis.cpp in Sources */,
D39BA8630B149B530089AE6A /* IOStream.cpp in Sources */,
03306D820C0B249A00CA1311 /* mbr.cpp in Sources */,
B219B8580E9381AC00EAB407 /* IOWrapper.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -235,6 +212,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_SRI,
LM_IRST,
TRACE_ENABLE,
);
GCC_WARN_ABOUT_RETURN_TYPE = YES;
@ -244,10 +222,12 @@
../srilm/misc/src,
../srilm/dstruct/src,
../srilm/include,
../irstlm/include,
../srilm/lm/src,
);
INSTALL_PATH = "$(HOME)/bin";
LIBRARY_SEARCH_PATHS = (
"../irstlm/lib/i386-apple-darwin9.0/",
"../moses/build//**",
../srilm/lib/macosx,
);
@ -257,6 +237,7 @@
"-loolm",
"-ldstruct",
"-lz",
"-lirstlm",
);
PREBINDING = NO;
PRODUCT_NAME = "moses-cmd";
@ -272,6 +253,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_IRST,
LM_SRI,
TRACE_ENABLE,
);
@ -283,9 +265,11 @@
../srilm/dstruct/src,
../srilm/include,
../srilm/lm/src,
../irstlm/include,
);
INSTALL_PATH = "$(HOME)/bin";
LIBRARY_SEARCH_PATHS = (
"../irstlm/lib/i386-apple-darwin9.0/",
"../moses/build//**",
../srilm/lib/macosx,
);
@ -295,6 +279,7 @@
"-loolm",
"-ldstruct",
"-lz",
"-lirstlm",
);
PREBINDING = NO;
PRODUCT_NAME = "moses-cmd";
@ -320,6 +305,8 @@
03306D400C0B23F200CA1311 /* Development */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(NATIVE_ARCH)";
VALID_ARCHS = i386;
};
name = Development;
};

View File

@ -75,8 +75,6 @@
1C8CFEC90AD67A9700FA22E2 /* LMList.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE4C0AD67A9700FA22E2 /* LMList.h */; };
1C8CFECA0AD67A9700FA22E2 /* Manager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFE4D0AD67A9700FA22E2 /* Manager.cpp */; };
1C8CFECB0AD67A9700FA22E2 /* Manager.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE4E0AD67A9700FA22E2 /* Manager.h */; };
1C8CFECC0AD67A9700FA22E2 /* md5.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFE4F0AD67A9700FA22E2 /* md5.cpp */; };
1C8CFECD0AD67A9700FA22E2 /* md5.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE500AD67A9700FA22E2 /* md5.h */; };
1C8CFECE0AD67A9700FA22E2 /* mempool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFE510AD67A9700FA22E2 /* mempool.cpp */; };
1C8CFECF0AD67A9700FA22E2 /* mempool.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE520AD67A9700FA22E2 /* mempool.h */; };
1C8CFED00AD67A9700FA22E2 /* ObjectPool.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE530AD67A9700FA22E2 /* ObjectPool.h */; };
@ -135,6 +133,19 @@
1C8CFF090AD67A9700FA22E2 /* WordsBitmap.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE8C0AD67A9700FA22E2 /* WordsBitmap.h */; };
1C8CFF0A0AD67A9700FA22E2 /* WordsRange.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C8CFE8D0AD67A9700FA22E2 /* WordsRange.cpp */; };
1C8CFF0B0AD67A9700FA22E2 /* WordsRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CFE8E0AD67A9700FA22E2 /* WordsRange.h */; };
B219B8610E9382EE00EAB407 /* AlignmentElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B219B85B0E9382EE00EAB407 /* AlignmentElement.cpp */; };
B219B8620E9382EE00EAB407 /* AlignmentElement.h in Headers */ = {isa = PBXBuildFile; fileRef = B219B85C0E9382EE00EAB407 /* AlignmentElement.h */; };
B219B8630E9382EE00EAB407 /* AlignmentPair.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B219B85D0E9382EE00EAB407 /* AlignmentPair.cpp */; };
B219B8640E9382EE00EAB407 /* AlignmentPair.h in Headers */ = {isa = PBXBuildFile; fileRef = B219B85E0E9382EE00EAB407 /* AlignmentPair.h */; };
B219B8650E9382EE00EAB407 /* AlignmentPhrase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B219B85F0E9382EE00EAB407 /* AlignmentPhrase.cpp */; };
B219B8660E9382EE00EAB407 /* AlignmentPhrase.h in Headers */ = {isa = PBXBuildFile; fileRef = B219B8600E9382EE00EAB407 /* AlignmentPhrase.h */; };
B219B8690E93836100EAB407 /* Timer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B219B8680E93836100EAB407 /* Timer.cpp */; };
B23821380EB73DCB007303C3 /* LanguageModelIRST.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B23821360EB73DCB007303C3 /* LanguageModelIRST.cpp */; };
B23821390EB73DCB007303C3 /* LanguageModelIRST.h in Headers */ = {isa = PBXBuildFile; fileRef = B23821370EB73DCB007303C3 /* LanguageModelIRST.h */; };
B2639DEA0EF199D400A67519 /* ReorderingConstraint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2639DE60EF199D400A67519 /* ReorderingConstraint.cpp */; };
B2639DEB0EF199D400A67519 /* ReorderingConstraint.h in Headers */ = {isa = PBXBuildFile; fileRef = B2639DE70EF199D400A67519 /* ReorderingConstraint.h */; };
B2639DEC0EF199D400A67519 /* TranslationOptionList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2639DE80EF199D400A67519 /* TranslationOptionList.cpp */; };
B2639DED0EF199D400A67519 /* TranslationOptionList.h in Headers */ = {isa = PBXBuildFile; fileRef = B2639DE90EF199D400A67519 /* TranslationOptionList.h */; };
D39BA82D0AFBB7090089AE6A /* LanguageModelSkip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D39BA8270AFBB7090089AE6A /* LanguageModelSkip.cpp */; };
D39BA82E0AFBB7090089AE6A /* LanguageModelSkip.h in Headers */ = {isa = PBXBuildFile; fileRef = D39BA8280AFBB7090089AE6A /* LanguageModelSkip.h */; };
D39BA82F0AFBB7090089AE6A /* PhraseDictionaryMemory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D39BA8290AFBB7090089AE6A /* PhraseDictionaryMemory.cpp */; };
@ -233,8 +244,6 @@
1C8CFE4C0AD67A9700FA22E2 /* LMList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = LMList.h; path = src/LMList.h; sourceTree = "<group>"; };
1C8CFE4D0AD67A9700FA22E2 /* Manager.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Manager.cpp; path = src/Manager.cpp; sourceTree = "<group>"; };
1C8CFE4E0AD67A9700FA22E2 /* Manager.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Manager.h; path = src/Manager.h; sourceTree = "<group>"; };
1C8CFE4F0AD67A9700FA22E2 /* md5.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = md5.cpp; path = src/md5.cpp; sourceTree = "<group>"; };
1C8CFE500AD67A9700FA22E2 /* md5.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = md5.h; path = src/md5.h; sourceTree = "<group>"; };
1C8CFE510AD67A9700FA22E2 /* mempool.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = mempool.cpp; path = src/mempool.cpp; sourceTree = "<group>"; };
1C8CFE520AD67A9700FA22E2 /* mempool.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mempool.h; path = src/mempool.h; sourceTree = "<group>"; };
1C8CFE530AD67A9700FA22E2 /* ObjectPool.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ObjectPool.h; path = src/ObjectPool.h; sourceTree = "<group>"; };
@ -293,6 +302,19 @@
1C8CFE8C0AD67A9700FA22E2 /* WordsBitmap.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = WordsBitmap.h; path = src/WordsBitmap.h; sourceTree = "<group>"; };
1C8CFE8D0AD67A9700FA22E2 /* WordsRange.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = WordsRange.cpp; path = src/WordsRange.cpp; sourceTree = "<group>"; };
1C8CFE8E0AD67A9700FA22E2 /* WordsRange.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = WordsRange.h; path = src/WordsRange.h; sourceTree = "<group>"; };
B219B85B0E9382EE00EAB407 /* AlignmentElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AlignmentElement.cpp; path = src/AlignmentElement.cpp; sourceTree = "<group>"; };
B219B85C0E9382EE00EAB407 /* AlignmentElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AlignmentElement.h; path = src/AlignmentElement.h; sourceTree = "<group>"; };
B219B85D0E9382EE00EAB407 /* AlignmentPair.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AlignmentPair.cpp; path = src/AlignmentPair.cpp; sourceTree = "<group>"; };
B219B85E0E9382EE00EAB407 /* AlignmentPair.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AlignmentPair.h; path = src/AlignmentPair.h; sourceTree = "<group>"; };
B219B85F0E9382EE00EAB407 /* AlignmentPhrase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AlignmentPhrase.cpp; path = src/AlignmentPhrase.cpp; sourceTree = "<group>"; };
B219B8600E9382EE00EAB407 /* AlignmentPhrase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AlignmentPhrase.h; path = src/AlignmentPhrase.h; sourceTree = "<group>"; };
B219B8680E93836100EAB407 /* Timer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Timer.cpp; path = src/Timer.cpp; sourceTree = "<group>"; };
B23821360EB73DCB007303C3 /* LanguageModelIRST.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LanguageModelIRST.cpp; path = src/LanguageModelIRST.cpp; sourceTree = "<group>"; };
B23821370EB73DCB007303C3 /* LanguageModelIRST.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LanguageModelIRST.h; path = src/LanguageModelIRST.h; sourceTree = "<group>"; };
B2639DE60EF199D400A67519 /* ReorderingConstraint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ReorderingConstraint.cpp; path = src/ReorderingConstraint.cpp; sourceTree = "<group>"; };
B2639DE70EF199D400A67519 /* ReorderingConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ReorderingConstraint.h; path = src/ReorderingConstraint.h; sourceTree = "<group>"; };
B2639DE80EF199D400A67519 /* TranslationOptionList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TranslationOptionList.cpp; path = src/TranslationOptionList.cpp; sourceTree = "<group>"; };
B2639DE90EF199D400A67519 /* TranslationOptionList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TranslationOptionList.h; path = src/TranslationOptionList.h; sourceTree = "<group>"; };
D2AAC046055464E500DB518D /* libmoses.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmoses.a; sourceTree = BUILT_PRODUCTS_DIR; };
D39BA8270AFBB7090089AE6A /* LanguageModelSkip.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = LanguageModelSkip.cpp; path = src/LanguageModelSkip.cpp; sourceTree = "<group>"; };
D39BA8280AFBB7090089AE6A /* LanguageModelSkip.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = LanguageModelSkip.h; path = src/LanguageModelSkip.h; sourceTree = "<group>"; };
@ -338,20 +360,6 @@
08FB7794FE84155DC02AAC07 /* moses */ = {
isa = PBXGroup;
children = (
E21C11120DFEE88800ADAED0 /* Search.cpp */,
E21C11130DFEE88800ADAED0 /* Search.h */,
E21C11140DFEE88800ADAED0 /* SearchCubePruning.cpp */,
E21C11150DFEE88800ADAED0 /* SearchCubePruning.h */,
E21C11160DFEE88800ADAED0 /* SearchNormal.cpp */,
E21C11170DFEE88800ADAED0 /* SearchNormal.h */,
E21C110A0DFEE86B00ADAED0 /* HypothesisStackCubePruning.cpp */,
E21C110B0DFEE86B00ADAED0 /* HypothesisStackCubePruning.h */,
E21C110C0DFEE86B00ADAED0 /* HypothesisStackNormal.cpp */,
E21C110D0DFEE86B00ADAED0 /* HypothesisStackNormal.h */,
E2B7CA740DDB3B700089EFE0 /* XmlOption.cpp */,
E2B7CA750DDB3B700089EFE0 /* XmlOption.h */,
E2B7CA700DDB3B5C0089EFE0 /* FloydWarshall.cpp */,
E2B7CA710DDB3B5C0089EFE0 /* FloydWarshall.h */,
08FB7795FE84155DC02AAC07 /* Source */,
C6A0FF2B0290797F04C91782 /* Documentation */,
1AB674ADFE9D54B511CA2CBB /* Products */,
@ -362,6 +370,19 @@
08FB7795FE84155DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
B2639DE60EF199D400A67519 /* ReorderingConstraint.cpp */,
B2639DE70EF199D400A67519 /* ReorderingConstraint.h */,
B2639DE80EF199D400A67519 /* TranslationOptionList.cpp */,
B2639DE90EF199D400A67519 /* TranslationOptionList.h */,
B23821360EB73DCB007303C3 /* LanguageModelIRST.cpp */,
B23821370EB73DCB007303C3 /* LanguageModelIRST.h */,
B219B8680E93836100EAB407 /* Timer.cpp */,
B219B85B0E9382EE00EAB407 /* AlignmentElement.cpp */,
B219B85C0E9382EE00EAB407 /* AlignmentElement.h */,
B219B85D0E9382EE00EAB407 /* AlignmentPair.cpp */,
B219B85E0E9382EE00EAB407 /* AlignmentPair.h */,
B219B85F0E9382EE00EAB407 /* AlignmentPhrase.cpp */,
B219B8600E9382EE00EAB407 /* AlignmentPhrase.h */,
037C63980C8EBFB400584F2E /* DecodeGraph.cpp */,
037C63990C8EBFB400584F2E /* DecodeGraph.h */,
0396E1960C0B189200D95CFF /* HypothesisStack.cpp */,
@ -376,6 +397,20 @@
0396E19F0C0B189200D95CFF /* PrefixTreeMap.h */,
0396E1A00C0B189200D95CFF /* TrellisPath.cpp */,
0396E1A10C0B189200D95CFF /* TrellisPath.h */,
E21C11120DFEE88800ADAED0 /* Search.cpp */,
E21C11130DFEE88800ADAED0 /* Search.h */,
E21C11140DFEE88800ADAED0 /* SearchCubePruning.cpp */,
E21C11150DFEE88800ADAED0 /* SearchCubePruning.h */,
E21C11160DFEE88800ADAED0 /* SearchNormal.cpp */,
E21C11170DFEE88800ADAED0 /* SearchNormal.h */,
E21C110A0DFEE86B00ADAED0 /* HypothesisStackCubePruning.cpp */,
E21C110B0DFEE86B00ADAED0 /* HypothesisStackCubePruning.h */,
E21C110C0DFEE86B00ADAED0 /* HypothesisStackNormal.cpp */,
E21C110D0DFEE86B00ADAED0 /* HypothesisStackNormal.h */,
E2B7CA740DDB3B700089EFE0 /* XmlOption.cpp */,
E2B7CA750DDB3B700089EFE0 /* XmlOption.h */,
E2B7CA700DDB3B5C0089EFE0 /* FloydWarshall.cpp */,
E2B7CA710DDB3B5C0089EFE0 /* FloydWarshall.h */,
0396E1A20C0B189200D95CFF /* TrellisPathCollection.cpp */,
0396E1A30C0B189200D95CFF /* TrellisPathCollection.h */,
0396E1A40C0B189200D95CFF /* TrellisPathList.h */,
@ -444,8 +479,6 @@
E2B7C9580DDB1AEF0089EFE0 /* BitmapContainer.cpp */,
E2B7C8F00DDA19190089EFE0 /* BitmapContainer.h */,
1C8CFE4E0AD67A9700FA22E2 /* Manager.h */,
1C8CFE4F0AD67A9700FA22E2 /* md5.cpp */,
1C8CFE500AD67A9700FA22E2 /* md5.h */,
1C8CFE510AD67A9700FA22E2 /* mempool.cpp */,
1C8CFE520AD67A9700FA22E2 /* mempool.h */,
1C8CFE530AD67A9700FA22E2 /* ObjectPool.h */,
@ -556,7 +589,6 @@
1C8CFEC70AD67A9700FA22E2 /* LexicalReordering.h in Headers */,
1C8CFEC90AD67A9700FA22E2 /* LMList.h in Headers */,
1C8CFECB0AD67A9700FA22E2 /* Manager.h in Headers */,
1C8CFECD0AD67A9700FA22E2 /* md5.h in Headers */,
1C8CFECF0AD67A9700FA22E2 /* mempool.h in Headers */,
1C8CFED00AD67A9700FA22E2 /* ObjectPool.h in Headers */,
1C8CFED20AD67A9700FA22E2 /* Parameter.h in Headers */,
@ -612,6 +644,12 @@
E21C11190DFEE88800ADAED0 /* Search.h in Headers */,
E21C111B0DFEE88800ADAED0 /* SearchCubePruning.h in Headers */,
E21C111D0DFEE88800ADAED0 /* SearchNormal.h in Headers */,
B219B8620E9382EE00EAB407 /* AlignmentElement.h in Headers */,
B219B8640E9382EE00EAB407 /* AlignmentPair.h in Headers */,
B219B8660E9382EE00EAB407 /* AlignmentPhrase.h in Headers */,
B23821390EB73DCB007303C3 /* LanguageModelIRST.h in Headers */,
B2639DEB0EF199D400A67519 /* ReorderingConstraint.h in Headers */,
B2639DED0EF199D400A67519 /* TranslationOptionList.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -641,9 +679,11 @@
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 0396E1900C0B186F00D95CFF /* Build configuration list for PBXProject "moses" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* moses */;
projectDirPath = "";
projectRoot = "";
targets = (
D2AAC045055464E500DB518D /* moses */,
);
@ -678,7 +718,6 @@
1C8CFEC60AD67A9700FA22E2 /* LexicalReordering.cpp in Sources */,
1C8CFEC80AD67A9700FA22E2 /* LMList.cpp in Sources */,
1C8CFECA0AD67A9700FA22E2 /* Manager.cpp in Sources */,
1C8CFECC0AD67A9700FA22E2 /* md5.cpp in Sources */,
1C8CFECE0AD67A9700FA22E2 /* mempool.cpp in Sources */,
1C8CFED10AD67A9700FA22E2 /* Parameter.cpp in Sources */,
1C8CFED30AD67A9700FA22E2 /* PartialTranslOptColl.cpp in Sources */,
@ -728,6 +767,13 @@
E21C11180DFEE88800ADAED0 /* Search.cpp in Sources */,
E21C111A0DFEE88800ADAED0 /* SearchCubePruning.cpp in Sources */,
E21C111C0DFEE88800ADAED0 /* SearchNormal.cpp in Sources */,
B219B8610E9382EE00EAB407 /* AlignmentElement.cpp in Sources */,
B219B8630E9382EE00EAB407 /* AlignmentPair.cpp in Sources */,
B219B8650E9382EE00EAB407 /* AlignmentPhrase.cpp in Sources */,
B219B8690E93836100EAB407 /* Timer.cpp in Sources */,
B23821380EB73DCB007303C3 /* LanguageModelIRST.cpp in Sources */,
B2639DEA0EF199D400A67519 /* ReorderingConstraint.cpp in Sources */,
B2639DEC0EF199D400A67519 /* TranslationOptionList.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -744,6 +790,7 @@
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_IRST,
LM_SRI,
TRACE_ENABLE,
"_FILE_OFFSET_BITS=64",
@ -752,6 +799,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../irstlm/include,
../srilm/misc/src,
../srilm/dstruct/src,
../srilm/include,
@ -774,6 +822,7 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_IRST,
LM_SRI,
TRACE_ENABLE,
"_FILE_OFFSET_BITS=64",
@ -782,6 +831,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../irstlm/include,
../srilm/misc/src,
../srilm/dstruct/src,
../srilm/include,
@ -815,6 +865,7 @@
isa = XCBuildConfiguration;
buildSettings = {
GCC_OPTIMIZATION_LEVEL = 0;
VALID_ARCHS = i386;
};
name = Development;
};

View File

@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#pragma once
#include <malloc.h>
//#include <malloc.h>
#include <limits>
#include <vector>
#include <iostream>