Commit Graph

24 Commits

Author SHA1 Message Date
Hieu Hoang
18c1c4a132 method rename 2014-08-08 18:11:30 +01:00
Hieu Hoang
e197b110fc rename Evaluate() to EvaluateWhenApplied() 2014-07-09 23:54:16 +01:00
Kenneth Heafield
346a8f41b0 Use boost::ref for Visual Studio / Mike Ladwig 2014-06-03 08:48:10 -07:00
Rico Sennrich
395285d879 more logging for incremental chart search 2014-04-04 15:54:48 +01:00
Rico Sennrich
1f435340f0 faster pruning in chart decoding 2014-03-26 11:23:59 +00:00
Rico Sennrich
45630a5851 various optimizations to make CYK+ parser several times faster and eat less memory.
speed-up of decoding depends on how much time is spent in parser:
10-50% speed-up for string-to-tree systems observed (more on long sentences and with high max-chart-span).

if you only use hiero or string-to-tree models (but none with source syntax), use compile-option --unlabelled-source for (small) efficiency gains.
2014-03-21 11:12:24 +00: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
9f92642e59 beautify 2013-08-15 21:14:04 +01:00
Hieu Hoang
0d60b7f2dd implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input 2013-08-13 12:16:55 +01:00
Hieu Hoang
f676100328 implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input 2013-08-13 12:12:58 +01:00
Kenneth Heafield
78cdf82de8 Log10/loge weight change for incremental. TODO: debug n-best list generation 2013-08-02 17:56:41 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
b5bb500773 move GetFirstLM() as static method of LanguageModel 2013-05-28 17:35:06 +01:00
Hieu Hoang
9006ee98be delete LMList 2013-05-27 15:54:50 +01:00
Hieu Hoang
981351758a delete class TranslationSystem 2013-05-11 14:13:26 +01:00
Hieu Hoang
aa9689d12b rescale LM score for chart decoding 2013-04-26 19:39:29 +01:00
Hieu Hoang
67976401dd Merge github.com:moses-smt/mosesdecoder into weight-new 2013-02-14 14:18:49 +00:00
Kenneth Heafield
8ef095e8fa Update incremental search, cuts runtime by a third 2013-02-14 13:11:53 +00:00
Hieu Hoang
1052b39f0f move all InitializeForInput() and CleanUpAfterSentenceProcessing() into ChartParser. For consistency 2012-12-27 20:12:35 +00:00
Hieu Hoang
17898a9df3 move initialization and cleanup functions to staticData 2012-12-21 15:59:52 +00:00
Hieu Hoang
efbc8bb6c4 move language model from TranslationSystem back to StaticData 2012-12-20 16:38:15 +00:00
Kenneth Heafield
2df57b6b09 Expose k-best lists from incremental search 2012-11-16 15:53:43 +00:00
Kenneth Heafield
6a3fdcd8c0 Rename Incremental/Manager.cpp to just Incremental.cpp 2012-11-15 22:10:30 +00:00