Commit Graph

115 Commits

Author SHA1 Message Date
Hieu Hoang
49b388ac79 check state object are not null before using it. For alternate weights setting where some feature functions are not used for a particular sentence 2019-01-17 14:34:55 +00:00
Hieu Hoang
e5d3306519 Merge ../mosesdecoder into perf_moses2 2015-12-11 17:29:10 +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
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
Hieu Hoang
533aff9d53 Merge ../mosesdecoder into perf_moses2 2015-11-26 20:52:02 +00:00
David Madl
8729a2d47d Measure TimeOtherScore in Search instead of in Hypothesis 2015-11-17 16:15:13 +00:00
David Madl
5fea16a9a6 move options out of Hypothesis 2015-11-17 16:15:13 +00:00
David Madl
73ab44c126 Hypothesis: get rid of calls into Manager from constructor 2015-11-17 16:15:13 +00:00
David Madl
b1ea3d624b Dump two ugly, old overrides of Hypothesis::EvaluateWhenApplied()
A Brief History of Time:

65ddbf3 7/2/12 Wilson, "Implement batched LM requests."
776da79 8/6/15 Hoang, "delete old unused code"
2015-11-17 16:15:13 +00:00
Hieu Hoang
28eee66d6e Merge ../mosesdecoder into perf_moses2 2015-11-12 13:12:25 +00:00
MosesAdmin
dad1bd6127 daily automatic beautifier 2015-11-12 00:00:40 +00:00
Ulrich Germann
f247e26fed More options refactoring (OOV Handling this time). 2015-11-11 17:07:45 +00:00
Ulrich Germann
806f888c10 Moved placeholder factor variable from StaticData to InputOptions. 2015-11-10 21:44:48 +00:00
Hieu Hoang
d748cd9484 comment out g_numHypos 2015-11-10 16:27:28 +00:00
Hieu Hoang
3ccd08c4c5 Merge ../mosesdecoder into perf_moses2 2015-11-09 13:41:24 +00:00
Hieu Hoang
32e29d6b8a Consistent naming: m_futureScore --> m_estimatedScore 2015-11-09 13:40:31 +00:00
Hieu Hoang
3d85ff6a46 Merge ../mosesdecoder into perf_moses2 2015-11-09 12:59:44 +00:00
Hieu Hoang
d0be56f8ab Consistent naming: total score -> m_futureScore 2015-11-09 12:44:39 +00:00
Hieu Hoang
176573c072 Consistent naming: m_futureScore --> m_estimatedScore 2015-11-09 12:23:43 +00:00
Hieu Hoang
d3e79a63ed count number of hypos 2015-11-06 11:51:14 +00:00
Ulrich Germann
9d7f62c05b Merge branch 'master' of http://github.com/moses-smt/mosesdecoder 2015-11-04 18:12:58 +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
Hieu Hoang
e87dd15f4a equality comparison using pointers 2015-11-04 10:54:46 +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