mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
xcode
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2351 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
568e973b2e
commit
7d17d823ae
@ -201,7 +201,7 @@
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
03306D3C0C0B23F200CA1311 /* Development */ = {
|
||||
03306D3C0C0B23F200CA1311 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COPY_PHASE_STRIP = NO;
|
||||
@ -243,9 +243,9 @@
|
||||
PRODUCT_NAME = "moses-cmd";
|
||||
ZERO_LINK = NO;
|
||||
};
|
||||
name = Development;
|
||||
name = Debug;
|
||||
};
|
||||
03306D3D0C0B23F200CA1311 /* Deployment */ = {
|
||||
03306D3D0C0B23F200CA1311 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COPY_PHASE_STRIP = YES;
|
||||
@ -285,7 +285,7 @@
|
||||
PRODUCT_NAME = "moses-cmd";
|
||||
ZERO_LINK = NO;
|
||||
};
|
||||
name = Deployment;
|
||||
name = Release;
|
||||
};
|
||||
03306D3E0C0B23F200CA1311 /* Default */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
@ -302,19 +302,19 @@
|
||||
};
|
||||
name = Default;
|
||||
};
|
||||
03306D400C0B23F200CA1311 /* Development */ = {
|
||||
03306D400C0B23F200CA1311 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(NATIVE_ARCH)";
|
||||
VALID_ARCHS = i386;
|
||||
};
|
||||
name = Development;
|
||||
name = Debug;
|
||||
};
|
||||
03306D410C0B23F200CA1311 /* Deployment */ = {
|
||||
03306D410C0B23F200CA1311 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
};
|
||||
name = Deployment;
|
||||
name = Release;
|
||||
};
|
||||
03306D420C0B23F200CA1311 /* Default */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
@ -328,8 +328,8 @@
|
||||
03306D3B0C0B23F200CA1311 /* Build configuration list for PBXNativeTarget "moses-cmd" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
03306D3C0C0B23F200CA1311 /* Development */,
|
||||
03306D3D0C0B23F200CA1311 /* Deployment */,
|
||||
03306D3C0C0B23F200CA1311 /* Debug */,
|
||||
03306D3D0C0B23F200CA1311 /* Release */,
|
||||
03306D3E0C0B23F200CA1311 /* Default */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
@ -338,8 +338,8 @@
|
||||
03306D3F0C0B23F200CA1311 /* Build configuration list for PBXProject "moses-cmd" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
03306D400C0B23F200CA1311 /* Development */,
|
||||
03306D410C0B23F200CA1311 /* Deployment */,
|
||||
03306D400C0B23F200CA1311 /* Debug */,
|
||||
03306D410C0B23F200CA1311 /* Release */,
|
||||
03306D420C0B23F200CA1311 /* Default */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
|
@ -137,6 +137,8 @@
|
||||
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 */; };
|
||||
1CB459EA0FD2DFEC000030BE /* GlobalLexicalModel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1CB459E80FD2DFEC000030BE /* GlobalLexicalModel.cpp */; };
|
||||
1CB459EB0FD2DFEC000030BE /* GlobalLexicalModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 1CB459E90FD2DFEC000030BE /* GlobalLexicalModel.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 */; };
|
||||
@ -310,6 +312,8 @@
|
||||
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>"; };
|
||||
1CB459E80FD2DFEC000030BE /* GlobalLexicalModel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = GlobalLexicalModel.cpp; path = src/GlobalLexicalModel.cpp; sourceTree = "<group>"; };
|
||||
1CB459E90FD2DFEC000030BE /* GlobalLexicalModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GlobalLexicalModel.h; path = src/GlobalLexicalModel.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>"; };
|
||||
@ -378,6 +382,8 @@
|
||||
08FB7795FE84155DC02AAC07 /* Source */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1CB459E80FD2DFEC000030BE /* GlobalLexicalModel.cpp */,
|
||||
1CB459E90FD2DFEC000030BE /* GlobalLexicalModel.h */,
|
||||
1C5009BB0FB9E09700DFD24F /* FeatureFunction.cpp */,
|
||||
1C5009BC0FB9E09700DFD24F /* FeatureFunction.h */,
|
||||
1C5009BD0FB9E09700DFD24F /* FFState.cpp */,
|
||||
@ -664,6 +670,7 @@
|
||||
B2639DED0EF199D400A67519 /* TranslationOptionList.h in Headers */,
|
||||
1C5009C00FB9E09700DFD24F /* FeatureFunction.h in Headers */,
|
||||
1C5009C20FB9E09700DFD24F /* FFState.h in Headers */,
|
||||
1CB459EB0FD2DFEC000030BE /* GlobalLexicalModel.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@ -790,13 +797,14 @@
|
||||
B2639DEC0EF199D400A67519 /* TranslationOptionList.cpp in Sources */,
|
||||
1C5009BF0FB9E09700DFD24F /* FeatureFunction.cpp in Sources */,
|
||||
1C5009C10FB9E09700DFD24F /* FFState.cpp in Sources */,
|
||||
1CB459EA0FD2DFEC000030BE /* GlobalLexicalModel.cpp in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
0396E18D0C0B186F00D95CFF /* Development */ = {
|
||||
0396E18D0C0B186F00D95CFF /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COPY_PHASE_STRIP = NO;
|
||||
@ -828,9 +836,9 @@
|
||||
REZ_PREPROCESSOR_DEFINITIONS = "";
|
||||
ZERO_LINK = NO;
|
||||
};
|
||||
name = Development;
|
||||
name = Debug;
|
||||
};
|
||||
0396E18E0C0B186F00D95CFF /* Deployment */ = {
|
||||
0396E18E0C0B186F00D95CFF /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COPY_PHASE_STRIP = YES;
|
||||
@ -859,7 +867,7 @@
|
||||
PRODUCT_NAME = moses;
|
||||
ZERO_LINK = NO;
|
||||
};
|
||||
name = Deployment;
|
||||
name = Release;
|
||||
};
|
||||
0396E18F0C0B186F00D95CFF /* Default */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
@ -877,20 +885,20 @@
|
||||
};
|
||||
name = Default;
|
||||
};
|
||||
0396E1910C0B186F00D95CFF /* Development */ = {
|
||||
0396E1910C0B186F00D95CFF /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
VALID_ARCHS = i386;
|
||||
};
|
||||
name = Development;
|
||||
name = Debug;
|
||||
};
|
||||
0396E1920C0B186F00D95CFF /* Deployment */ = {
|
||||
0396E1920C0B186F00D95CFF /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
};
|
||||
name = Deployment;
|
||||
name = Release;
|
||||
};
|
||||
0396E1930C0B186F00D95CFF /* Default */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
@ -905,8 +913,8 @@
|
||||
0396E18C0C0B186F00D95CFF /* Build configuration list for PBXNativeTarget "moses" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
0396E18D0C0B186F00D95CFF /* Development */,
|
||||
0396E18E0C0B186F00D95CFF /* Deployment */,
|
||||
0396E18D0C0B186F00D95CFF /* Debug */,
|
||||
0396E18E0C0B186F00D95CFF /* Release */,
|
||||
0396E18F0C0B186F00D95CFF /* Default */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
@ -915,8 +923,8 @@
|
||||
0396E1900C0B186F00D95CFF /* Build configuration list for PBXProject "moses" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
0396E1910C0B186F00D95CFF /* Development */,
|
||||
0396E1920C0B186F00D95CFF /* Deployment */,
|
||||
0396E1910C0B186F00D95CFF /* Debug */,
|
||||
0396E1920C0B186F00D95CFF /* Release */,
|
||||
0396E1930C0B186F00D95CFF /* Default */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
|
@ -196,7 +196,7 @@ std::string Join(const std::string& delimiter, const std::vector<T>& items)
|
||||
return outstr.str();
|
||||
}
|
||||
|
||||
//! transform prob to natural log score
|
||||
//! transform prob to natural log score
|
||||
inline float TransformScore(float prob)
|
||||
{
|
||||
return log(prob);
|
||||
|
Loading…
Reference in New Issue
Block a user