Commit Graph

2089 Commits

Author SHA1 Message Date
Hieu Hoang
259cb96538 stem leak by using mempool 2016-08-04 18:49:19 +01:00
Hieu Hoang
dfabbda5aa use tmpPool to create source phrases 2016-08-04 16:10:38 +01:00
Hieu Hoang
69270a999e trime <s> and </s> from nbest 2016-08-04 15:42:13 +01:00
Hieu Hoang
c47c1a0fb9 correct nbest. yay 2016-08-04 15:32:35 +01:00
Hieu Hoang
5a3e707879 move TrellisPaths 2016-08-04 12:47:45 +01:00
Hieu Hoang
b00369007f calc scores 2016-08-03 23:39:20 +01:00
Hieu Hoang
32b9efd775 Revert "use Cast() throughout"
This reverts commit 8b1e9f45ad.
2016-08-03 21:34:47 +01:00
Hieu Hoang
2abc631251 create deviant paths 2016-08-03 19:29:31 +01:00
Hieu Hoang
995c8f265a use reference instead of pointers 2016-08-03 19:08:55 +01:00
Hieu Hoang
3c644c8be4 create deviant paths 2016-08-03 18:56:03 +01:00
Hieu Hoang
c4bb814cd5 templatize TrellisPaths 2016-08-03 16:46:40 +01:00
Hieu Hoang
632dee2081 templatize TrellisPaths 2016-08-03 16:23:11 +01:00
Hieu Hoang
8ee2d7dda7 move TrellisPaths 2016-08-03 15:53:28 +01:00
Hieu Hoang
8b1e9f45ad use Cast() throughout 2016-08-03 12:39:58 +01:00
Hieu Hoang
6b88cda171 output nbest in correct format 2016-08-03 12:12:39 +01:00
Hieu Hoang
8b08444ab0 return reference, not pointer 2016-08-03 11:10:35 +01:00
Hieu Hoang
5966acac02 start nbest for SCFG 2016-08-03 11:03:11 +01:00
Hieu Hoang
432355803f get rid of translationId from InputType 2016-08-03 09:45:53 +01:00
Hieu Hoang
17d53818c2 start nbest for SCFG 2016-08-03 09:37:49 +01:00
Hieu Hoang
e17c7e87cd start nbest for SCFG 2016-08-02 18:02:20 +01:00
Hieu Hoang
721eaa5489 start nbest for SCFG 2016-08-02 16:35:55 +01:00
Hieu Hoang
ac9a4e9089 Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-08-01 14:54:11 -04:00
Hieu Hoang
417a6f8b61 comments 2016-08-01 14:53:28 -04:00
Hieu Hoang
e361ca94aa Eclipse 2016-08-01 19:02:15 +01:00
Hieu Hoang
9ec372beac caching for SCFG 2016-08-01 18:41:10 +01:00
Hieu Hoang
8e7643c982 restart caching for SCFG 2016-08-01 18:29:42 +01:00
Hieu Hoang
e2a56dae39 restart caching for SCFG 2016-08-01 18:18:15 +01:00
Hieu Hoang
257a8510b4 cleanup 2016-08-01 17:42:14 +01:00
Hieu Hoang
92ee41290c bug in probing cache. Mixing up previous and current source 2016-08-01 17:33:47 +01:00
Hieu Hoang
0dfade5880 increment API_VERSION. Don't skip last source word in cache 2016-08-01 14:29:57 +01:00
Hieu Hoang
514c4a4d6b add source key and value to cache 2016-08-01 14:19:29 +01:00
Hieu Hoang
b8dff73b68 Revert "caching for SCFG"
This reverts commit 973fc6a700.
2016-08-01 11:07:03 +01:00
Hieu Hoang
973fc6a700 caching for SCFG 2016-07-31 23:36:42 +01:00
Hieu Hoang
f8a11cd59b Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-07-31 02:21:38 +01:00
Hieu Hoang
19aeb803c0 gcc compile error 2016-07-31 02:21:27 +01:00
Hieu Hoang
5d0174b08e Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-07-31 02:19:45 +01:00
Hieu Hoang
d9a2a37e9c increment API version 2016-07-31 02:19:38 +01:00
Hieu Hoang
e7ebd6fe3f Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-07-31 02:18:15 +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
05075ab700 Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-07-30 23:28:22 +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
3428322045 start caching for SCFG 2016-07-30 20:31:42 +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