Commit Graph

31 Commits

Author SHA1 Message Date
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +00:00
Ulrich Germann
fdb5d9b282 Code refactoring: All FF now get access to AllOptions at load time, so they don't have to rely on StaticData. 2015-12-08 12:56:55 +00:00
Phil Williams
7375d81e16 Fix a few compiler warnings (clang) 2015-11-27 12:20:38 +00:00
Ulrich Germann
c610d0a6e7 Code decluttering.
The class StatefuleFeatureFunction now provides an empty dummy implementation
of various (virtual) Evaluate... functions. The corresponding empty
implementations on derived classes have been removed.
2015-11-19 13:54:24 +00:00
Hieu Hoang
4078c30a42 estimatedScore -> estimatedScores 2015-11-04 15:10:45 +00:00
Hieu Hoang
6be932c1f7 consistent naming of future scores, estimated scores 2015-11-03 09:41:59 +00:00
Hieu Hoang
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Hieu Hoang
563552aea6 clean up states after API change 2015-10-17 20:14:24 +01:00
Jeroen Vermeulen
616b589da3 Fix a bunch of compiler warnings.
Warnings are useful, but only if there are few!
2015-04-29 21:18:51 +07:00
Rico Sennrich
b3d2b11a36 make BilingualLM play nice with new chart decoding score deltas 2015-03-06 08:52:13 +00:00
Hieu Hoang
05ead45e71 beautify 2015-01-14 11:07:42 +00:00
Rico Sennrich
60cae6418f avoid Assign() in EvaluateWhenApplied (in preparation for Matthias' changes) 2015-01-07 17:10:26 +00:00
Rico Sennrich
71756cca40 make config parameters more consistent with training / other LMs
(target_ngrams=4 source_ngrams=9 is now order=5 source_window=4)
2014-12-17 17:37:38 +00:00
Rico Sennrich
710b4bf817 cleanup 2014-12-17 16:42:22 +00:00
Rico Sennrich
d36bfa471b fix target-side order in BilingualLM (hiero models) 2014-12-17 14:15:34 +00:00
Rico Sennrich
9c9d3aeb0c fix source alignment for hiero decoding. corner cases may still have bugs. 2014-12-16 15:20:24 +00:00
Rico Sennrich
5d633b8381 fix BOS padding 2014-12-15 16:44:27 +00:00
XapaJIaMnu
6be776bcd1 Implement a TODO 2014-11-26 12:31:47 +00:00
XapaJIaMnu
5b00eb6509 Throw an exception in case no alignemnt is found in BilingualLM 2014-11-24 14:19:55 +00:00
XapaJIaMnu
b254fcea99 moses/LM/BilingualLM.cpp 2014-11-13 16:14:16 +00:00
XapaJIaMnu
f6c64adb92 Remove unnecessary const gimmicks 2014-11-13 16:14:16 +00:00
XapaJIaMnu
cf3fe60cf6 Backoff to null token in hiero 2014-11-13 16:14:16 +00:00
XapaJIaMnu
493f05eb97 Remove old unused code from BilingualLM 2014-11-13 16:14:16 +00:00
XapaJIaMnu
8e4ff790a7 Add null word support for hiero. 2014-11-13 16:14:16 +00:00
XapaJIaMnu
5851a2c2bb Prevent realocation of vectors 2014-11-13 16:13:38 +00:00
XapaJIaMnu
02c375ef78 Refactor the BilingualLM for chart to make it faster. Untested 2014-11-13 16:13:04 +00:00
Paul Baltescu
248aa4bf8a Convert moses words to oxlm word ids. 2014-11-13 16:10:40 +00:00
Paul Baltescu
90ebf13789 Set BilingualLM parameters nicely. 2014-11-13 16:08:10 +00:00
Paul Baltescu
cb7167f088 Fix bugs in BilingualLM for chart based decoding. 2014-11-13 15:51:48 +00:00
Paul Baltescu
3624bd776c Fix a few bugs in BilingualLM for phrase based decoding. 2014-11-13 15:51:48 +00:00
Paul Baltescu
5f87cf94d8 Move BilingualLM under LM. 2014-11-13 15:51:48 +00:00