Commit Graph

70 Commits

Author SHA1 Message Date
Prashant Mathur
f07e60aece Merge remote-tracking branch 'upstream/master' 2017-07-20 14:04:32 +02:00
Lane Schwartz
31f19a15e7 Added alignment options to Moses server 2017-02-24 15:52:39 -06:00
Lane Schwartz
999d6b6371 Added labelled score breakdown to translation options in TranslationRequest.
This will enable a client to get the feature value(s) associated with a particular feature for a particular translation option
2017-01-02 12:52:01 -06:00
Lane Schwartz
05006bf1e2 Allow XML-RPC requests to update weights 2016-11-14 13:26:34 -06:00
Lane Schwartz
988038af68 Moses server can now accept and store data associated with a "context-scope" key 2016-11-12 11:28:26 -06:00
Prashant Mathur
318c3b9b28 Interpret xml tags before translating in server mode. 2016-11-08 20:45:33 +01:00
Hieu Hoang
a4e951e581 use Sentence input, even for hiero/syntax model. Doesn't crash server, but doesn't give the right output either 2016-06-28 19:29:26 -04:00
Ulrich Germann
35c4abd874 Bug fix: make server interface recognize booleans encoded as proper xmlrpc_c::value_boolean when parsing requests. 2016-04-15 16:38:07 +01:00
Barry Haddow
d48a4fc059 Fix mosesserver for hiero 2016-02-01 16:26:58 +00:00
Barry Haddow
713a8e4233 dont crash if no translation in hiero server 2016-01-29 17:13:03 +00:00
Ulrich Germann
65f4f1f92a Code cleanup and refactoring. 2015-12-11 13:52:48 +00:00
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +00:00
Ulrich Germann
240b88c683 Passing around AllOptions or references thereto everywhere,
strong them locally where appropriate, so that compontents can
become independent of StaticData once instantiated.
2015-12-09 23:05:00 +00:00
Ulrich Germann
c4e45fb128 Code cleanup. 2015-12-07 16:07:11 +00:00
Ulrich Germann
2be2481feb Added switch --daemon: fork and run moses server in background. The parent won't exit until the child is ready to serve. 2015-12-07 16:01:12 +00:00
Ulrich Germann
d56d900d6a Code cleanup. 2015-12-06 01:43:17 +00:00
Ulrich Germann
69e5a1cc15 Code cleanup. 2015-12-06 00:12:01 +00:00
Ulrich Germann
5a63286447 Code cleanup and bug fix in (Base)Manager::OutputSurface:
Mark-up of unkown words in output.
2015-12-02 20:43:56 +00:00
Ulrich Germann
93df2b2f19 Initialization order of members. 2015-11-29 17:57:04 +00:00
Ulrich Germann
bb135f6a64 Cosmetic fix for having the server reporting word alignments left-to-right. 2015-11-24 20:42:53 +00:00
Ulrich Germann
ca038c5e4c Fix suggested by Martin Baumgärtner to keep server from crashing when packing word alignments. 2015-11-24 19:24:09 +00:00
Evgeny Matusov
42c57d077b Merge branch 'master' of https://github.com/moses-smt/mosesdecoder into moses-server-placeholder-patch
Conflict in TranslationRequest solved.

Conflicts:
	moses/server/TranslationRequest.cpp
	moses/server/TranslationRequest.h
2015-11-19 09:59:15 -07:00
Evgeny Matusov
f346dcd37f another fix to debug output for moses server 2015-11-19 12:42:07 +01:00
Evgeny Matusov
aa7ef1738b another update in Debug output for Moses server 2015-11-19 12:20:48 +01:00
Evgeny Matusov
d3fb16d39f changed debug output for moses server 2015-11-19 12:03:19 +01:00
Ulrich Germann
edacfbb9fd Bug fix in server: Moses server now handles the placeholder mechanism for translations provided with the input. 2015-11-18 17:09:52 +00:00
Evgeny Matusov
4e8396744c added first version of regression testing for moses server 2015-11-18 16:21:50 +01:00
Evgeny Matusov
5e1340cf63 fixed moses server placehoders ; correctly implemented the boolean parameter check function for mosesserver request parameters 2015-11-17 15:16:39 +01:00
Evgeny Matusov
66928f682f second commit of moses server placeholder fix 2015-11-17 15:06:48 +01:00
Evgeny Matusov
7c088c9a95 first commit of placeholder changes to moses server 2015-11-17 14:19:36 +01:00
Ulrich Germann
b01eb7cbd0 Bug fix: m_reportAllFactors was never initialized or set.
Removed altogether, now using m_options.output.ReportAllFactors.
2015-11-11 19:56:43 +00:00
Ulrich Germann
bd2d24cbb8 Integrated more finegrained abyss server control from mosesserver.cpp; mosesserver is now officially deprecated. 2015-11-10 20:30:06 +00:00
Hieu Hoang
d0be56f8ab Consistent naming: total score -> m_futureScore 2015-11-09 12:44:39 +00:00
Ulrich Germann
ec1ef78d51 Reduction in number of #ifdef HAVE_XMLRPC_C, as per Hieu's request. 2015-11-04 18:12:49 +00:00
Ulrich Germann
c435e46560 Moved implementation of server-specific member functions of Hypothesis class into a separate file. 2015-11-04 17:32:12 +00:00
Ulrich Germann
e9b1c6019b Improved reporting of nbest scores via server interface. 2015-11-01 14:53:16 +00:00
Ulrich Germann
324c378f7f Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores. 2015-10-31 12:50:52 +00:00
Ulrich Germann
07c8614877 Once set, context weights are now always const on the ContextScope. 2015-10-28 13:01:11 +00:00
Hieu Hoang
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Ulrich Germann
06a516842d Moses server now accepts context weights as translation request parameters. 2015-10-21 00:56:29 +01:00
Ulrich Germann
64af8123c1 Trying to get things to compile with newer versions of boost. 2015-08-10 15:40:04 +01:00
Ulrich Germann
67ba055213 Exclude code from compilation when compiling without xmlrpc-c. 2015-08-10 11:04:45 +01:00
Ulrich Germann
a7ee9d2e3d Added Emacs code formatting instructions. 2015-08-09 20:58:13 +01:00
Ulrich Germann
ab820e7b25 Copy options from StaticData in constructor. 2015-08-09 20:54:58 +01:00
Ulrich Germann
1e82118ae9 Bug fix: prefixed std:: in several places. 2015-08-09 20:52:56 +01:00
Ulrich Germann
c4fc7e6610 Update some options via xmlrpc_c calls. 2015-08-07 19:18:24 +01:00
Ulrich Germann
fc10ad4afb Code reorganization for better session management in Moses server. Clients can now close sessions. 2015-08-04 01:59:28 +01:00
Ulrich Germann
8644a3bbf2 Renamed for file name consistency. 2015-08-03 22:00:26 +01:00
Ulrich Germann
8e33b9a07d Bug fix: ensure a new session ID is assigned every time a session isn't found. 2015-08-03 10:24:01 +01:00
Ulrich Germann
44df19aa3b Make translation sessions in the server actually work. Time-out yet to be implemented. 2015-08-03 00:29:34 +01:00