Commit Graph

2051 Commits

Author SHA1 Message Date
Hieu Hoang
19aeb803c0 gcc compile error 2016-07-31 02:21:27 +01:00
Hieu Hoang
d9a2a37e9c increment API version 2016-07-31 02:19:38 +01:00
Hieu Hoang
1aa158ee52 get ready to store alignments for terminals and non-terms separately 2016-07-31 02:16:44 +01:00
Hieu Hoang
7035a3c9cc get ready to store alignments for terminals and non-terms separately 2016-07-30 23:25:48 +01:00
Hieu Hoang
0eee296725 debug 2016-07-30 22:45:29 +01:00
Hieu Hoang
cbc3161a4f add back mgr as class variable. Still make sure it gets deleted in Run() 2016-07-30 15:13:18 +01:00
Hieu Hoang
a14cc6041d fix segfault when server processes multiple streams 2016-07-30 13:52:04 +01:00
Hieu Hoang
356b74d5e7 don't segfault if Decode() is not called 2016-07-30 12:24:47 +01:00
Hieu Hoang
39cbe71854 delete unused fn 2016-07-29 21:51:35 +01:00
Hieu Hoang
45aa4a223f compiles 2016-07-29 20:53:01 +01:00
Hieu Hoang
12e573bc00 separate array into separate file 2016-07-29 20:38:55 +01:00
Hieu Hoang
4afedf4a21 TargetPhrase<Moses2::Word> -> TargetPhraseImpl. Move estimated score into TargetPhrase for PB only 2016-07-15 17:25:27 +01:00
Hieu Hoang
d6000cdd3d consistent comparitor for PB and SCFG 2016-07-15 16:35:38 +01:00
Hieu Hoang
1c818b270b set sortScore even when log prob 2016-07-15 16:25:48 +01:00
Hieu Hoang
62bee20b9d *estimatedScore -> &estimatedScore 2016-07-07 21:15:04 +01:00
Hieu Hoang
cab1adcf10 correct number of nbest output 2016-07-07 20:57:06 +01:00
Hieu Hoang
b54c4a4497 no newline when outputting to server 2016-07-07 20:51:07 +01:00
Hieu Hoang
d2704a7c81 add all tp to tps in 1 go 2016-06-30 10:43:37 +01:00
Hieu Hoang
2e25be7856 don't output <s> </s> 2016-06-29 11:50:29 +01:00
Hieu Hoang
3810c7b681 don't output <s> </s> 2016-06-29 11:45:33 +01:00
Hieu Hoang
7a094d8231 cleanup server code 2016-06-29 00:52:28 +01:00
Hieu Hoang
1c2d94a0e3 less debug 2016-06-28 15:22:51 +01:00
Hieu Hoang
a8b908174f less debug 2016-06-28 15:20:50 +01:00
Hieu Hoang
eff96da4d5 be clear about which mem pool we're using 2016-06-28 15:18:38 +01:00
Hieu Hoang
e5df298508 Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-06-28 15:02:28 +01:00
Hieu Hoang
7bf3f175c8 use manager pool to create queue items 2016-06-28 15:02:13 +01:00
Hieu Hoang
9a089b5baa import OnDisk pt 2016-06-28 11:59:10 +01:00
Hieu Hoang
fd7c2b94aa use uint32_t for alignment id 2016-06-28 08:56:42 +01:00
Hieu Hoang
882ba33dee delete folder 2016-06-27 22:34:01 +01:00
Hieu Hoang
2377b4eb04 debug 2016-06-27 21:50:03 +01:00
Hieu Hoang
d4a6395260 recycle QueueItem 2016-06-24 20:23:18 +01:00
Hieu Hoang
ad867b6304 Revert "memory tweaks"
This reverts commit 262c4ef799.
2016-06-24 20:13:26 +01:00
Hieu Hoang
1ac14484ee consistent betwenn pb and hiero 2016-06-24 20:07:43 +01:00
Hieu Hoang
262c4ef799 memory tweaks 2016-06-24 20:03:51 +01:00
Hieu Hoang
ac51f24811 consistent betwenn pb and hiero 2016-06-24 19:50:26 +01:00
Hieu Hoang
f7c23b7d90 debug 2016-06-24 19:15:47 +01:00
Hieu Hoang
f1f3eb673a set sortScore = 3rd score unless there's not enough scores 2016-06-24 18:39:39 +01:00
Hieu Hoang
0ffa6205fe create trie to write source prefixes even if there's no rules 2016-06-24 16:23:55 +01:00
Hieu Hoang
a94a5787f2 reformat and sort before binarizing 2016-06-24 13:21:04 +01:00
Hieu Hoang
9e94edd6db bug fix. Matches moses 2016-06-24 01:52:40 +01:00
Hieu Hoang
192a0dcf32 use prefixes 2016-06-23 22:59:33 +01:00
Hieu Hoang
873dafc22b debug 2016-06-23 22:27:30 +01:00
Hieu Hoang
5fc4d4038f use prefixes 2016-06-23 18:33:19 +01:00
Hieu Hoang
4f2c3a1efa use prefixes 2016-06-23 18:13:27 +01:00
Hieu Hoang
5645242d7f store prefixes 2016-06-23 17:52:34 +01:00
Hieu Hoang
2c75120763 get ready to store prefixes 2016-06-23 17:45:00 +01:00
Hieu Hoang
8da63839ea share LookupGivenWord() across all pt 2016-06-23 15:12:08 +01:00
Hieu Hoang
2b39bbf7c4 share LookupNT() across all pt 2016-06-23 14:51:40 +01:00
Hieu Hoang
88524b222f share LookupUnary() across all pt 2016-06-23 14:41:54 +01:00
Hieu Hoang
36d83dd1a9 store sorted & pruned hypos instead of hypoColl. No chance of confusing the 2 and reading pruned hypos 2016-06-23 12:54:43 +01:00