Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-11-04 20:32:12 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-04 20:32:12 +0300
commitc435e46560c96f7e07f6090016331b2416641c73 (patch)
tree9c0d74d7dc7cf6ff7f31088ec163b0db8cea3bd9 /moses/Hypothesis.h
parent3ad35a72ecd64ee0d9121a3f060b67dc45fe6ab3 (diff)
Moved implementation of server-specific member functions of Hypothesis class into a separate file.
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h
index b5e8c2258..550d10912 100644
--- a/moses/Hypothesis.h
+++ b/moses/Hypothesis.h
@@ -36,10 +36,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "ScoreComponentCollection.h"
#include "InputType.h"
#include "ObjectPool.h"
-
-#ifdef HAVE_XMLRPC_C
-#include <xmlrpc-c/base.hpp>
-#endif
+#include "xmlrpc-c.h"
namespace Moses
{
@@ -276,6 +273,7 @@ public:
bool operator==(const Hypothesis& other) const;
#ifdef HAVE_XMLRPC_C
+ // these are implemented in moses/server/Hypothesis_4server.cpp !
void OutputWordAlignment(std::vector<xmlrpc_c::value>& out) const;
void OutputLocalWordAlignment(std::vector<xmlrpc_c::value>& dest) const;
#endif