diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-03 22:00:58 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-03 22:00:58 +0300 |
commit | 9b56e63d5194a33b54b74c8e7a119c126e0c0a78 (patch) | |
tree | e5272c443ffb1d900dcd218c2722ba69f5e625dd /moses/ExportInterface.cpp | |
parent | 6be932c1f75a9ca171336a253f0f64659a30fa1a (diff) |
eclipse. And more #ifdef HAVE_XMLRPC_C
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r-- | moses/ExportInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp index 5acb90a92..216eba335 100644 --- a/moses/ExportInterface.cpp +++ b/moses/ExportInterface.cpp @@ -229,8 +229,10 @@ batch_run() if (context_window) task->SetContextWindow(context_window); +#ifdef HAVE_XMLRPC_C if (context_weights != "" && !task->GetScope()->GetContextWeights()) task->GetScope()->SetContextWeights(context_weights); +#endif // Allow for (sentence-)context-specific processing prior to // decoding. This can be used, for example, for context-sensitive |