Commit Graph

62 Commits

Author SHA1 Message Date
Hieu Hoang
d2ce41b2b9 Merge ../mosesdecoder into perf_moses2 2016-06-29 21:33:37 +01:00
Hieu Hoang
03d8747e65 always print out memory and time 2016-06-29 21:32:21 +01:00
Hieu Hoang
d0a48e71ad Merge ../mosesdecoder into perf_moses2 2016-01-12 09:23:07 +00:00
Ulrich Germann
fdc8e05984 Bug fix in server as suggested by Martin Baumgärtner. 2016-01-11 21:43:58 +00:00
Hieu Hoang
e5d3306519 Merge ../mosesdecoder into perf_moses2 2015-12-11 17:29:10 +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
MosesAdmin
59365f2bd3 daily automatic beautifier 2015-12-09 00:00:35 +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
Hieu Hoang
042f304afc Merge ../mosesdecoder into perf_moses2 2015-12-04 23:41:52 +00:00
Ulrich Germann
48999749ec Unused variable. 2015-11-29 17:56:27 +00:00
Hieu Hoang
533aff9d53 Merge ../mosesdecoder into perf_moses2 2015-11-26 20:52:02 +00:00
David Madl
3b63930943 move global Timer to Timer.h
Move ResetUserTime(), PrintUserTime(), GetUserTime() to Timer.h

Do not reset timer in StaticData.
2015-11-17 16:15:13 +00:00
Hieu Hoang
28eee66d6e Merge ../mosesdecoder into perf_moses2 2015-11-12 13:12:25 +00:00
Hieu Hoang
28dee22e0a Revert "move printFF out of Parameter class"
This reverts commit 4b5466bcfe.
2015-11-11 14:04:53 +00:00
Hieu Hoang
4b5466bcfe move printFF out of Parameter class 2015-11-11 13:52:42 +00:00
Ulrich Germann
9826599cb0 Enforce const-ness of command line arguments; bug fix in mosesserver.cpp. 2015-11-11 01:08:05 +00:00
Hieu Hoang
d748cd9484 comment out g_numHypos 2015-11-10 16:27:28 +00:00
Hieu Hoang
3d85ff6a46 Merge ../mosesdecoder into perf_moses2 2015-11-09 12:59:44 +00:00
Hieu Hoang
2978036996 print out num of hypos created before segfaulting 2015-11-09 12:15:22 +00:00
Hieu Hoang
bd4755a7fe compile error without XMLRPC-C 2015-11-06 09:44:52 -05:00
Hieu Hoang
5de822d59c count number of hypos 2015-11-06 11:56:58 +00:00
Hieu Hoang
4709e48a8b count number of hypos 2015-11-06 11:54:07 +00:00
Hieu Hoang
d3e79a63ed count number of hypos 2015-11-06 11:51:14 +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
Hieu Hoang
9b56e63d51 eclipse. And more #ifdef HAVE_XMLRPC_C 2015-11-03 19:00:58 +00:00
MosesAdmin
4168429aac daily automatic beautifier 2015-10-31 17:14:47 +00:00
Ulrich Germann
6a2e6feeed Context weights now live in the ContextScope, not any more on TranslationTask.
TargetPhrase now has weak ptr to ContextScope, not to TranslationTask any more,
because TargetPhrases can outlive the scope of a Translation Task.
2015-10-28 10:26:41 +00:00
Ulrich Germann
13f2af7399 Merge branch 'master' of http://github.com/moses-smt/mosesdecoder
Conflicts:
	moses/SearchCubePruning.cpp
	moses/SearchNormal.cpp
2015-08-09 21:12:30 +01:00
MosesAdmin
0045a74980 daily automatic beautifier 2015-08-09 00:00:45 +01:00
Hieu Hoang
243148b848 compile error without xmlrpc-c lib 2015-08-08 16:27:56 +04:00
MosesAdmin
21aa5af640 daily automatic beautifier 2015-08-08 00:00:45 +01:00
Ulrich Germann
fd4e946ddc Emacs code formatting settings. 2015-08-07 19:14:21 +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
511de3674e Reorganization of server options. 2015-08-02 21:26:54 +01:00
Ulrich Germann
faaf0bdf87 Reorganization of server options. Added options for sesssion cache. 2015-08-01 16:11:35 +01:00
Ulrich Germann
2090640d4d xmlrpc-c server log file now defaults to /dev/null instead of empty string 2015-07-31 23:16:02 +00:00
Ulrich Germann
d67723fd29 Merge branch 'master' of http://github.com/moses-smt/mosesdecoder into ranked-sampling
Conflicts:
	moses/TargetPhrase.cpp
	moses/TargetPhrase.h
2015-07-28 14:29:49 +01:00
MosesAdmin
ce62565647 daily automatic beautifier 2015-07-22 00:00:54 +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
Hieu Hoang
c989b8f34a apply Pidong Wang's patch for server to new server code in moses/ 2015-07-21 16:46:32 +04:00
Ulrich Germann
98c03dc047 Merge branch 'mmt-dev' into ranked-sampling.
Conflicts:
	moses/TranslationModel/UG/mm/ug_bitext.h
	moses/TranslationModel/UG/mm/ug_bitext_jstats.cc
	moses/TranslationModel/UG/mm/ug_bitext_jstats.h
	moses/TranslationModel/UG/mm/ug_bitext_pstats.cc
	moses/TranslationModel/UG/mm/ug_sampling_bias.cc
	moses/TranslationModel/UG/mm/ug_sampling_bias.h
2015-07-03 15:30:33 +01:00
XapaJIaMnu
69c1308f01 Add context_weights parameter to command line 2015-06-23 15:02:15 +01:00
Ulrich Germann
4582e43473 Merge branch 'master' into ranked-sampling 2015-06-08 15:45:04 +01:00
Ulrich Germann
2b7137b548 Changes to how the context scope is set. 2015-06-08 11:44:03 +01:00
Hieu Hoang
efdb8566b1 delete ChangeSource(). Not used 2015-06-02 21:00:32 +04:00
Jeroen Vermeulen
0859e9a844 Remove trailing whitespace from C++ files. 2015-05-13 17:05:43 +07:00
Ulrich Germann
7da7ce52da Added context buffering in IOWrapper for context-sensitive decoding.
Unfortunately, this seems to slow things down quite a bit.
2015-05-11 00:34:24 +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