Commit Graph

14731 Commits

Author SHA1 Message Date
Ulrich Germann
182ed18a46 Updated preprocessor commands to toggle between context-adaptive and regular IRSTLM 2015-10-24 02:37:06 +01:00
Ulrich Germann
09e0e9671f Emacs code formatting instructions. 2015-10-24 02:33:53 +01:00
Ulrich Germann
adf15617c1 Context-sensitive computation of LM scores in IRSTLM. 2015-10-24 01:39:03 +01:00
Ulrich Germann
6b54eb44a2 Store document-level translation meta-information provided in the input on the Sentence object. 2015-10-24 01:37:50 +01:00
Ulrich Germann
fc6b000e88 Added parsing of document-leval translation meta-information to setup of TranslationTask. 2015-10-24 01:36:17 +01:00
Ulrich Germann
22365691a9 Eliminated CalcScoreWithContext().
TargetPhrase provides access to the TranslationTask object.
2015-10-24 01:34:56 +01:00
Ulrich Germann
8c4e017fbf Eliminated EvaluateWhenAppliedWithContext().
The Phrase class now provides access to the TranslationTask.
2015-10-24 01:33:47 +01:00
Ulrich Germann
8ace1398eb Added GetTtask() and HasTtaskSPtr() to Phrase API; non-TargetPhrases never have a ttask associated with them, but we need to be able to check. 2015-10-23 21:49:09 +01:00
Ulrich Germann
b5c4ab32b4 Made CalcScore() virtual in moses/LM/Implementation.h. 2015-10-23 21:31:04 +01:00
Ulrich Germann
d4dd1937fb Added configuration file for doxygen. File was also added to .gitignore, so local changes won't be noticed in the future. 2015-10-23 20:39:44 +01:00
Ulrich Germann
89401944f8 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-10-23 20:36:00 +01:00
Ulrich Germann
b875577b15 Code documentation. 2015-10-22 21:03:18 +01:00
Hieu Hoang
6e36500fdc delete assert. Bitmap now set in caller 2015-10-22 09:36:42 +01:00
MosesAdmin
37f7bb687e daily automatic beautifier 2015-10-22 00:00:41 +01:00
Ulrich Germann
1188cb8ea9 Documented some magic numbers. 2015-10-21 18:35:54 +01:00
Barry Haddow
d59bb883dc fix extra settings 2015-10-21 09:22:00 +01:00
Ulrich Germann
cd3d2b0428 Merge branch 'master' of http://github.com/moses-smt/mosesdecoder 2015-10-21 00:56:56 +01:00
Ulrich Germann
06a516842d Moses server now accepts context weights as translation request parameters. 2015-10-21 00:56:29 +01:00
MosesAdmin
9643043cb7 daily automatic beautifier 2015-10-20 20:16:07 +01:00
Hieu Hoang
c47f24c539 mem leak 2015-10-20 16:58:07 +01:00
Hieu Hoang
4eddec075b probing pt compiles 2015-10-20 16:41:35 +01:00
Hieu Hoang
59ceb84fe7 merge 2015-10-20 14:28:22 +00:00
Hieu Hoang
b4bffedfcd don't use bitmap& for bitmap container. Seems to slow down for single thread 2015-10-20 15:02:06 +01:00
Hieu Hoang
814b917c9b unit test changes 2015-10-20 14:01:09 +01:00
Hieu Hoang
c384ae29de use Bitmap& in Hypothesis. Now works for vanilla pb 2015-10-20 13:45:05 +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
60add0b376 const 2015-10-19 23:56:15 +01:00
Hieu Hoang
dd21c2c83b segfault 2015-10-19 23:40:09 +01:00
Hieu Hoang
bb1304f725 re-use key for bitmap container 2015-10-19 19:52:15 +01:00
Hieu Hoang
8ee350af2f encapsulate adding BitmapContainer! 2015-10-19 19:35:39 +01:00
Hieu Hoang
4e691e4969 reuse bitmap key for BitmapContainer 2015-10-19 18:11:33 +01:00
Hieu Hoang
411d0ae003 use booost::unordered_map to store bitmap containers 2015-10-19 17:42:14 +01:00
Hieu Hoang
dd7bf06f95 Revert "share bitmaps"
This reverts commit db24036313.
2015-10-19 17:23:02 +01:00
Hieu Hoang
fda97b0802 Revert "share bitmaps"
This reverts commit d28b00a1c6.
2015-10-19 17:22:48 +01:00
Hieu Hoang
9408cc916e Revert "leak"
This reverts commit b700f99afb.
2015-10-19 17:22:38 +01:00
Hieu Hoang
9891e5b50b Revert "reuse bitmap key for BitmapContainer"
This reverts commit 7d98df2b0c.
2015-10-19 17:22:18 +01:00
Hieu Hoang
7d98df2b0c reuse bitmap key for BitmapContainer 2015-10-19 16:52:06 +01:00
Ulrich Germann
08b8157042 Merge branch 'master' of http://github.com/moses-smt/mosesdecoder 2015-10-19 16:26:05 +01:00
Ulrich Germann
796a57f3ee Bug fix related to TargetPhraseCollectionCache used in Mmsapt. 2015-10-19 16:21:00 +01:00
Hieu Hoang
b700f99afb leak 2015-10-19 15:55:30 +01:00
Hieu Hoang
d28b00a1c6 share bitmaps 2015-10-19 15:21:31 +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
MosesAdmin
d757346b55 daily automatic beautifier 2015-10-19 00:00:40 +01:00
Ulrich Germann
b8b3d2111a Merge branch 'master' of http://github.com/moses-smt/mosesdecoder into ranked-sampling 2015-10-18 21:45:27 +01:00
Ulrich Germann
bdb0227ee9 Life cycle of TargetPhraseCollection is now managed via shared pointers. 2015-10-18 21:27:58 +01:00
Hieu Hoang
f7839c42d5 beautify 2015-10-18 13:30:02 +01:00
Hieu Hoang
7a2d372df6 merge 2015-10-18 13:25:53 +01:00
Hieu Hoang
b7d947ebf6 change dynamic to static cast 2015-10-18 12:41:36 +01:00