diff options
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 |