Commit Graph

770 Commits

Author SHA1 Message Date
Ulrich Germann
9d46c5efa1 Rearrangement of members to match initialization order. 2015-06-15 14:20:45 +01:00
Ulrich Germann
4582e43473 Merge branch 'master' into ranked-sampling 2015-06-08 15:45:04 +01:00
Ulrich Germann
bca0f651da Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-06-08 15:44:37 +01:00
Ulrich Germann
3a5acb56cc Added some logging messages. 2015-06-08 15:32:53 +01:00
Ulrich Germann
b2a3bd280e Allow intrusive pointers to const objects. 2015-06-08 14:10:48 +01:00
Ulrich Germann
2f125eddc3 Bug fix. Readability. 2015-06-08 14:08:35 +01:00
Ulrich Germann
5e2e63f678 Integration of ranked sampling. 2015-06-08 14:06:54 +01:00
Ulrich Germann
5dc9d68d2d Initial check-in. 2015-06-08 14:05:41 +01:00
Ulrich Germann
78b0aab65b Work in progress. 2015-06-08 14:04:19 +01:00
Ulrich Germann
36c3f9dda8 Work in progress. Bug fix (release pstats in deconstructor!). Various other changes. 2015-06-08 14:03:20 +01:00
Ulrich Germann
d34b107b91 Initial check-in. 2015-06-08 14:00:31 +01:00
Ulrich Germann
69f15d0c5a New member function wait that won't return until sampling is done. 2015-06-08 14:00:17 +01:00
Ulrich Germann
ac99ec519f Have SentenceBias keep track of document ids. 2015-06-08 13:53:39 +01:00
Ulrich Germann
ff97627e30 Update to emacs variables at top. 2015-06-08 13:52:34 +01:00
Ulrich Germann
4fcb9b98f7 Keeping track of cumulative bias scores. 2015-06-08 13:51:54 +01:00
Ulrich Germann
f1de677530 SentenceBias now has access to mapping from sentence IDs to document IDs. 2015-06-08 13:50:37 +01:00
Ulrich Germann
3c767fc333 New field to store cumulative bias scores. 2015-06-08 13:48:40 +01:00
Ulrich Germann
e8a4a9b10a New member function to expose mapping from sentence IDs to document ids. 2015-06-08 13:45:51 +01:00
Ulrich Germann
d5b0ec7562 Initial check-in. 2015-06-08 12:20:25 +01:00
Ulrich Germann
7a57ce4dc2 Missing #pragma once. 2015-06-06 13:22:04 +01:00
Ulrich Germann
56dee1d4ac Bug fixes: missing #include and const declaration of find_trg_phr-bounds(). 2015-06-06 13:21:33 +01:00
Ulrich Germann
d4234847cd Added #include. 2015-06-05 22:51:58 +01:00
Ulrich Germann
f87f123366 Added member function find_trg_phrase_bound(PhraseExtractionRecord& rec) to Bitext class. 2015-06-05 22:50:17 +01:00
Ulrich Germann
8ae2894107 Initial check-in. 2015-06-05 22:29:26 +01:00
Ulrich Germann
53752f70a7 Added member function find_trg_phr_bound(PhraseExtractionRecord& rec). 2015-06-05 22:28:02 +01:00
Ulrich Germann
c7fffab82c Bug fixes. 2015-06-05 22:27:10 +01:00
Ulrich Germann
8a547ea82f Added missing #include. 2015-06-05 22:25:49 +01:00
Ulrich Germann
704432cf0f Bug fixes. 2015-06-05 22:25:13 +01:00
Ulrich Germann
623eb7bb77 Instantiation of btfix via boost::intrusive_ptr in Mmsapt.
This is in preparation for distinct bitext samplers which need to
ensure the lifetime of the bitext while sampling.
2015-06-05 21:15:47 +01:00
Ulrich Germann
e8ee56876e Initial check-in. 2015-06-05 17:24:53 +01:00
Ulrich Germann
8f4b2afe26 #include a few more things. 2015-06-05 16:30:07 +01:00
Ulrich Germann
1b4b3a5103 Mmsapt: btfix now instatiated via intrusive pointer
... to prevent deletion while Mmsapt is live.
2015-06-05 16:27:49 +01:00
Ulrich Germann
47fa99b61b Added member function size() to LRU_Cache. 2015-06-05 16:26:47 +01:00
Ulrich Germann
243a6a8b3b Added #define for intrusive pointer. 2015-06-05 16:23:00 +01:00
Ulrich Germann
576c743aee Simplified #include. 2015-06-05 16:22:03 +01:00
Ulrich Germann
5cb1d95e09 Added member function for retrieving nbest list items without sorting. 2015-06-05 16:21:09 +01:00
Ulrich Germann
5a56a5b496 Added target for forced relinking only (no forced recompilation); temporarily disabled tcmalloc. 2015-06-05 16:20:08 +01:00
Ulrich Germann
83fa1b6a88 Initial check-in. 2015-06-03 12:59:32 +01:00
Ulrich Germann
0afe139810 Initial check-in. 2015-06-03 12:55:58 +01:00
Ulrich Germann
debdd21899 Optional initialization of SentenceBias. 2015-06-03 12:53:38 +01:00
Ulrich Germann
f024eede74 Added ca() as short replacement for approxOccurrenceCount() to tsa_tree_iterator. 2015-06-03 12:51:44 +01:00
Hieu Hoang
3ea5faead8 codelite 2015-06-02 21:44:58 +04:00
Jeroen Vermeulen
35cf55d4d2 Trailing spaces. 2015-06-02 15:03:18 +07:00
Ulrich Germann
d62d2dc95f Bug fix. 2015-06-01 23:10:50 +01:00
Ulrich Germann
aa4eed93d5 Bug fix related to getting rid of using namespace std; . 2015-06-01 18:55:40 +01:00
Ulrich Germann
cc800742b1 Updated Makefile for local compiles. 2015-06-01 18:26:27 +01:00
Ulrich Germann
99896cfd2c Untangling bitext class from Moses dependencies, so that the class can be used
independently of Moses again.
2015-06-01 18:25:04 +01:00
Ulrich Germann
349163f3fd Bug fix and in-line code documentation. 2015-06-01 18:21:52 +01:00
Ulrich Germann
25f98a446e Bug fix in building imTtrack directly from input stream. 2015-06-01 18:19:34 +01:00
Ulrich Germann
c82ee9a4e9 Bug fix. 2015-05-24 16:44:41 +01:00