Commit Graph

65 Commits

Author SHA1 Message Date
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
Phil Williams
7375d81e16 Fix a few compiler warnings (clang) 2015-11-27 12:20:38 +00:00
Ulrich Germann
c8b859de67 Merge remote-tracking branch 'legacy/master'
Conflicts:
	moses/server/TranslationRequest.cpp
2015-11-24 19:22:37 +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
32e29d6b8a Consistent naming: m_futureScore --> m_estimatedScore 2015-11-09 13:40:31 +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
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
MosesAdmin
0db2f8312a daily automatic beautifier 2015-11-04 00:00: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
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
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Hieu Hoang
84b1c4b4c0 WordsBitmap -> Bitmap 2015-10-25 13:07:25 +00: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
f7839c42d5 beautify 2015-10-18 13:30:02 +01:00
Hieu Hoang
55698d15bc templatize Comparer for unordered maps/set 2015-10-18 01:02:38 +01:00
Hieu Hoang
9209101292 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2015-10-16 19:16:14 +00:00
Hieu Hoang
cfb1ab34c7 use util::StringStream 2015-10-16 19:03:22 +00:00
MosesAdmin
35ab0dfee7 daily automatic beautifier 2015-10-16 19:16:59 +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
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
Hieu Hoang
5173b9f617 beautify. Add sed for trailing spaces 2015-05-13 11:29:16 +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
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
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
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
f13d0c8244 UTIL_THROW_IF -> UTIL_THROW_IF2 2013-11-22 20:27:46 +00:00
Hieu Hoang
c2c86ce50d replace CHECK with UTIL_THROW_IF in Moses 2013-11-19 13:19:23 +00:00
Hieu Hoang
5ebb81a17a constrained decoding FF works for both pb and hiero 2013-09-17 15:06:17 +02:00
Hieu Hoang
fe36cbf737 move LexicalReordering to FF directory 2013-08-30 16:28:28 +01:00