From 8ba603c39ec6ff290de35ec15c8dec484c32c3bd Mon Sep 17 00:00:00 2001 From: hieuhoang1972 Date: Sun, 14 Sep 2008 01:31:02 +0000 Subject: [PATCH] visual studio build git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1888 1f5c12ca-751b-0410-a591-d2e778427230 --- moses/moses.vcproj | 28 ++++++++++++++++++++++++++++ moses/src/TargetPhrase.cpp | 1 - 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/moses/moses.vcproj b/moses/moses.vcproj index 7f6222405..8cfb20e79 100755 --- a/moses/moses.vcproj +++ b/moses/moses.vcproj @@ -282,6 +282,18 @@ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > + + + + + + @@ -602,6 +614,10 @@ RelativePath=".\src\TargetPhraseCollection.cpp" > + + @@ -660,6 +676,18 @@ Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > + + + + + + diff --git a/moses/src/TargetPhrase.cpp b/moses/src/TargetPhrase.cpp index b153bef14..b8697ba07 100644 --- a/moses/src/TargetPhrase.cpp +++ b/moses/src/TargetPhrase.cpp @@ -190,7 +190,6 @@ void AddAlignmentElement(AlignmentPhraseInserter &inserter string alignElementStr = alignPhraseVector[pos]; //change "()" into "(-1)" for both source and target word-to-word alignments - size_t pos=0; std::string emtpyAlignStr="()"; std::string replaceAlignStr="(-1)"; alignElementStr=Replace(alignElementStr,emtpyAlignStr,replaceAlignStr);