Commit Graph

90 Commits

Author SHA1 Message Date
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
Hieu Hoang
b5d914134a move beats() out of #ifdef region 2015-11-03 20:56:37 +00:00
Ulrich Germann
876fe6a412 Added some deterministic tie-breaking to CompareHypothesisTotalScore(). 2015-11-03 19:01:20 +00:00
MosesAdmin
f38976aba0 daily automatic beautifier 2015-11-02 00:00:37 +00:00
Ulrich Germann
ff1977c29e Merge branch 'mmt-dev' 2015-10-31 13:36:40 +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
Hieu Hoang
617f331833 note to self in case i forget again in future 2015-10-28 12:45:50 +00:00
MosesAdmin
ec8dbdb94a daily automatic beautifier 2015-10-27 00:00:59 +00:00
Ulrich Germann
8e1f21d38e Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-10-26 17:58:16 +00:00
Hieu Hoang
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Hieu Hoang
84b1c4b4c0 WordsBitmap -> Bitmap 2015-10-25 13:07:25 +00:00
Ulrich Germann
8c4e017fbf Eliminated EvaluateWhenAppliedWithContext().
The Phrase class now provides access to the TranslationTask.
2015-10-24 01:33:47 +01:00
Hieu Hoang
6e36500fdc delete assert. Bitmap now set in caller 2015-10-22 09:36:42 +01:00
MosesAdmin
9643043cb7 daily automatic beautifier 2015-10-20 20:16:07 +01:00
Hieu Hoang
3d8e5fa79e use Bitmap& in Hypothesis 2015-10-20 01:15:15 +01:00
Hieu Hoang
b5f0758ee4 make bitmap in hypo class a reference 2015-10-20 00:50:40 +01:00
Hieu Hoang
dd7bf06f95 Revert "share bitmaps"
This reverts commit db24036313.
2015-10-19 17:23:02 +01:00
Hieu Hoang
db24036313 share bitmaps 2015-10-19 13:49:08 +01:00
Hieu Hoang
b9f216cc96 delete use of mempool in Hypos. Never used. Getting in the way of next refactoring 2015-10-19 11:48:27 +01:00
Hieu Hoang
786258cb28 beautify 2015-10-16 13:53:33 +01:00
Ubuntu
9e2024aa3c Merge ../mosesdecoder into perf_ff 2015-10-13 12:59:24 +00:00
Hieu Hoang
ab025825c4 recombination dependent on coverage bitmap 2015-10-12 22:16:39 +01:00
Hieu Hoang
20959b8660 redo state API for simple distortion and KenLM. Regression failure with KenLM 2015-10-12 18:35:59 +01:00
Hieu Hoang
6b182ee5e9 pb framework for using boost::unordered_set instead of std::set 2015-10-12 14:31:29 +01:00
Hieu Hoang
67fb5cd5f0 move CalcFutureScore() out of inner loop. 2015-10-05 17:25:17 +01:00
Ulrich Germann
6c1d9e2431 More reorganisation of options. 2015-08-06 22:52:34 +01:00
Ulrich Germann
524109e2ca Reorganisation of options.
The purpose of this effort is to have options local to the individual translation task,
so that they can be changed in the running system in a multi-threaded system.
2015-08-06 21:11:43 +01:00
Philipp Koehn
ec3413f7b5 allow customized prefix/suffix to mark unknown words 2015-07-20 11:40:53 -04:00
Jeroen Vermeulen
d4508e984f Compare nullness in Hypothesis::RecombineCompare.
The comparison code subtracted two pointers in the case where at least one
was null, to get a signed int comparison result.  But that subtraction is
undefined, and the cast to int (dropping the most-significant bits!) made the
outcome even less uncertain.

In this patch I compare the nullness of the pointers instead, which should
always return a well-defined -1, 0, or 1.
2015-07-16 16:48:20 +07:00
MosesAdmin
0fe0f78e92 daily automatic beautifier 2015-07-04 00:00:44 +01:00
XapaJIaMnu
aaf8397d6f Make it possible for TranslationTasks to be accessed by the LM 2015-06-23 13:24:42 +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
Michael Denkowski
fdf4f5f571 Consistent line ending behavior for alignment printing options 2015-04-03 16:49:41 -04:00
Ulrich Germann
058abc32c3 Fixes (?) numerous bugs discovered when the code was actually compiled (an error in the bjam configuration prevented this). 2015-03-18 13:46:15 +00:00
Ulrich Germann
982286b38f Folded contrib/server/mosesserver.cpp into the moses executable.
With immediate effect, mosesserver is deprecated, use moses --server instead.
2015-03-04 00:07:11 +00:00
Hieu Hoang
05ead45e71 beautify 2015-01-14 11:07:42 +00:00
Hieu Hoang
ba166f109c moving more stuff out of IOWrapper 2014-12-30 18:53:30 +05:30
Hieu Hoang
2b7c16d5a4 move OutputBestSurface() to Hypothesis class 2014-12-29 02:10:57 +05:30
Hieu Hoang
cd6ec01999 move OutputBestSurface() to Hypothesis class 2014-12-29 00:48:40 +05:30
Hieu Hoang
f865e7e43c move OutputInput() to Hypothesis class 2014-12-28 22:09:38 +05:30
Hieu Hoang
af0d0f02e1 move OutputAlignment() to Hypothesis class 2014-12-28 18:37:18 +05:30
Hieu Hoang
4b10c59bea add OutputSearchGraphHypergraph() to API framework. Move m_source to BaseManager 2014-12-05 21:33:59 +00:00
Barry Haddow
79b6b60237 Fix seg fault in lattice samples 2014-08-11 09:40:34 +01:00
Hieu Hoang
3d884bb098 method rename 2014-08-08 16:41:16 +01:00
Barry Haddow
6549d24d35 Incremental scoring of hypotheses.
Don't score full score vectors in hypotheses, just
the increments. The full score breakdowns (required for
nbest lists) are calculated lazily.
2014-08-05 17:57:57 +01:00
Hieu Hoang
12a14221e2 rename Evaluate() to EvaluateWhenApplied() 2014-07-09 23:41:08 +01:00
phikoehn
073a601eb0 make good use of the new precise timer... 2014-01-03 18:45:31 +00:00
Hieu Hoang
0a8390981e delete includes for util/check.hh 2013-11-21 18:58:28 +00:00
Hieu Hoang
c2c86ce50d replace CHECK with UTIL_THROW_IF in Moses 2013-11-19 13:19:23 +00:00