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. */
#undef HAVE_UNISTD_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Name of package */
#undef PACKAGE
@ -73,9 +69,6 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION

View File

@ -29,6 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// include appropriate header
#ifdef LM_SRI
# include "LanguageModelSRI.h"
#include "LanguageModelParallelBackoff.h"
#endif
#ifdef LM_IRST
# include "LanguageModelIRST.h"
@ -43,7 +44,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "LanguageModelInternal.h"
#include "LanguageModelSkip.h"
#include "LanguageModelJoint.h"
#include "LanguageModelParallelBackoff.h"
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
***********************************************************************/
#pragma once
#include "LanguageModelParallelBackoff.h"
#include "File.h"
#include "TypeDef.h"

View File

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