SRI compile error in Ondrej's parallel backoff LM

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3201 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2010-04-26 12:02:28 +00:00
parent cf468273bc
commit 1a638746f3
4 changed files with 4 additions and 12 deletions

View File

@ -54,10 +54,6 @@
/* Define to 1 if you have the <unistd.h> header file. */ /* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Name of package */ /* Name of package */
#undef PACKAGE #undef PACKAGE
@ -73,9 +69,6 @@
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME #undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION

View File

@ -29,6 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// include appropriate header // include appropriate header
#ifdef LM_SRI #ifdef LM_SRI
# include "LanguageModelSRI.h" # include "LanguageModelSRI.h"
#include "LanguageModelParallelBackoff.h"
#endif #endif
#ifdef LM_IRST #ifdef LM_IRST
# include "LanguageModelIRST.h" # include "LanguageModelIRST.h"
@ -43,7 +44,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "LanguageModelInternal.h" #include "LanguageModelInternal.h"
#include "LanguageModelSkip.h" #include "LanguageModelSkip.h"
#include "LanguageModelJoint.h" #include "LanguageModelJoint.h"
#include "LanguageModelParallelBackoff.h"
using namespace std; using namespace std;

View File

@ -19,8 +19,6 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
***********************************************************************/ ***********************************************************************/
#pragma once
#include "LanguageModelParallelBackoff.h" #include "LanguageModelParallelBackoff.h"
#include "File.h" #include "File.h"
#include "TypeDef.h" #include "TypeDef.h"

View File

@ -150,7 +150,6 @@ libmoses_la_SOURCES = \
LanguageModelRemote.cpp \ LanguageModelRemote.cpp \
LanguageModelSingleFactor.cpp \ LanguageModelSingleFactor.cpp \
LanguageModelSkip.cpp \ LanguageModelSkip.cpp \
LanguageModelParallelBackoff.cpp \
TrellisPath.cpp \ TrellisPath.cpp \
TrellisPathCollection.cpp \ TrellisPathCollection.cpp \
LexicalReordering.cpp \ LexicalReordering.cpp \
@ -230,7 +229,9 @@ libmoses_la_SOURCES += rule.pb.cc hypergraph.pb.cc
endif endif
if SRI_LM if SRI_LM
libmoses_la_SOURCES += LanguageModelSRI.cpp libmoses_la_SOURCES += LanguageModelSRI.cpp \
LanguageModelParallelBackoff.cpp
endif endif
if IRST_LM if IRST_LM