diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 19:56:53 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-30 19:56:53 +0400 |
commit | 1cf1c2e51561bac3b3ca0b7e5b63fb93f978a064 (patch) | |
tree | d63afb6e8d0337c1383016ec3ed69d8e1bdb6d4e /phrase-extract | |
parent | ef9db932aa4ce4e57ead87e965a374f580a7cac2 (diff) |
create namespace for all classes in phrase-extract
Diffstat (limited to 'phrase-extract')
-rw-r--r-- | phrase-extract/extract.xcodeproj/project.pbxproj | 14 | ||||
-rw-r--r-- | phrase-extract/statistics.cpp | 1 |
2 files changed, 13 insertions, 2 deletions
diff --git a/phrase-extract/extract.xcodeproj/project.pbxproj b/phrase-extract/extract.xcodeproj/project.pbxproj index e0223f4d2..5dd71ac39 100644 --- a/phrase-extract/extract.xcodeproj/project.pbxproj +++ b/phrase-extract/extract.xcodeproj/project.pbxproj @@ -44,6 +44,8 @@ 1E671A80155C22C500119DD9 /* OutputFileStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1E671A7E155C22C500119DD9 /* OutputFileStream.cpp */; }; 1E671A82155C234500119DD9 /* OutputFileStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1E671A7E155C22C500119DD9 /* OutputFileStream.cpp */; }; 1E671A83155C234500119DD9 /* OutputFileStream.h in Sources */ = {isa = PBXBuildFile; fileRef = 1E671A7F155C22C500119DD9 /* OutputFileStream.h */; }; + 1E9B03A8159F58CC00E91032 /* OutputFileStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1E671A7E155C22C500119DD9 /* OutputFileStream.cpp */; }; + 1E9B03A9159F58CC00E91032 /* OutputFileStream.h in Sources */ = {isa = PBXBuildFile; fileRef = 1E671A7F155C22C500119DD9 /* OutputFileStream.h */; }; 1EB1C8321200D5C00079FCBB /* PhraseAlignment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1EB1C8311200D5C00079FCBB /* PhraseAlignment.cpp */; }; 1EB29A3B1511C253005BC4BA /* InputFileStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1EB8A211129C024C00041956 /* InputFileStream.cpp */; }; 1EB29A3C1511C253005BC4BA /* InputFileStream.h in Sources */ = {isa = PBXBuildFile; fileRef = 1EB8A210129C024C00041956 /* InputFileStream.h */; }; @@ -445,6 +447,8 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 1E9B03A8159F58CC00E91032 /* OutputFileStream.cpp in Sources */, + 1E9B03A9159F58CC00E91032 /* OutputFileStream.h in Sources */, 1EB8A297129C06A300041956 /* gzfilebuf.h in Sources */, 1EB8A261129C04C700041956 /* InputFileStream.cpp in Sources */, 1CFE962911762A3A006FF13B /* consolidate-direct.cpp in Sources */, @@ -627,7 +631,10 @@ GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; INSTALL_PATH = /usr/local/bin; - OTHER_LDFLAGS = "-lz"; + OTHER_LDFLAGS = ( + "-lz", + "-lboost_iostreams", + ); PRODUCT_NAME = "consolidate-direct"; SDKROOT = macosx; }; @@ -643,7 +650,10 @@ GCC_MODEL_TUNING = G5; INSTALL_PATH = /usr/local/bin; ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = "-lz"; + OTHER_LDFLAGS = ( + "-lz", + "-lboost_iostreams", + ); PRODUCT_NAME = "consolidate-direct"; SDKROOT = macosx; ZERO_LINK = NO; diff --git a/phrase-extract/statistics.cpp b/phrase-extract/statistics.cpp index a39e98a5d..fbbc77345 100644 --- a/phrase-extract/statistics.cpp +++ b/phrase-extract/statistics.cpp @@ -17,6 +17,7 @@ #include "InputFileStream.h" using namespace std; +using namespace MosesTraining; #define LINE_MAX_LENGTH 10000 |