Commit Graph

53 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
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
bb135f6a64 Cosmetic fix for having the server reporting word alignments left-to-right. 2015-11-24 20:42:53 +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
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
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
ab820e7b25 Copy options from StaticData in constructor. 2015-08-09 20:54:58 +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
44df19aa3b Make translation sessions in the server actually work. Time-out yet to be implemented. 2015-08-03 00:29:34 +01:00
Ulrich Germann
6c5c5f60da Initial check-in of translation session management in the server. 2015-08-02 21:28:47 +01:00
Ulrich Germann
bfeb3bf66b Reporting of context parameter in TranslationRequest constructor. 2015-07-31 17:07:13 +01:00
Ulrich Germann
5aaa8fcbfa 1. Fixed concurrency issue in context handling.
2. Added phrase table feature function PScoreLengthRatio.
2015-07-21 15:36:28 +01:00
Ulrich Germann
e94921dc44 Removal of 'using namespace ...' from several header files. 2015-07-02 01:32:34 +01:00
Ulrich Germann
d928340cd4 Added context handling to TranslationRequest for moses server. 2015-06-24 14:34:27 +01:00
MosesAdmin
42b53b7a39 daily automatic beautifier 2015-06-05 00:00:42 +01:00
Ulrich Germann
721bfe823b Bug fix: m_nbestSize wasn't initialized in class TranslationRequest. 2015-06-04 16:07:22 +01:00
Hieu Hoang
cc8c6b7b10 beautify 2015-05-02 11:45:24 +01:00
Jeroen Vermeulen
eca5824100 Remove trailing whitespace in C++ files. 2015-04-30 12:05:11 +07:00
Ulrich Germann
0d72cdd72c Merge branch 'master' of https://github.com/moses-smt/mosesdecoder into mmt-dev
Conflicts:
	moses/Syntax/F2S/Manager-inl.h
	moses/TranslationModel/UG/mmsapt.cpp
2015-04-26 02:12:16 +01:00
Matthias Huck
f24f31f965 n-best list creation in phrase-based decoding: improved efficiency with sparse features 2015-04-23 18:13:02 +01:00