Commit Graph

2764 Commits

Author SHA1 Message Date
Hieu Hoang
02772c07de revert changes to Distortion FF 2017-01-03 11:06:26 +00:00
Hieu Hoang
ab2e48415f add back -text-type for EMS 2017-01-02 15:55:33 -05:00
Hieu Hoang
cf93594af9 re-implement -feature-overwrite 2017-01-02 12:44:26 +00:00
Hieu Hoang
a74ce0ef8e Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2017-01-01 22:56:38 +00:00
Hieu Hoang
d4642a34c1 add completed-hypo to Distortion FF 2017-01-01 22:54:48 +00:00
Hieu Hoang
6c075b67c5 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2016-12-29 12:07:32 +00:00
Hieu Hoang
c30b28f43b Edge case of wall at the end of sentence /Mike Ladwig 2016-12-29 12:03:59 +00:00
Hieu Hoang
e14a71c3ea debugging messages 2016-12-28 10:57:19 +00:00
Hieu Hoang
c6eec7335f distortion-limit=-1 is unlimited distortion 2016-12-27 13:55:03 +00:00
Hieu Hoang
3eb0145850 Merge branch 'perf_moses2' of github.com:hieuhoang/mosesdecoder into perf_moses2 2016-12-21 18:06:55 +00:00
Hieu Hoang
e72bc47910 eclipse 2016-12-21 18:04:22 +00:00
Hieu Hoang
25b87e14de unused method 2016-12-16 15:58:50 +00:00
Hieu Hoang
304a6652f7 debugging message 2016-12-14 18:16:30 +00:00
Hieu Hoang
dd1532637b delete debugging message 2016-12-14 18:09:52 +00:00
Hieu Hoang
bc6c1f4160 cleanup 2016-12-07 10:09:38 +00:00
Hieu Hoang
8ef7db569a merge similar sorting functions 2016-12-07 00:38:11 +00:00
Hieu Hoang
ab28a3fc8c can prune stack < max stack size 2016-12-07 00:16:38 +00:00
Hieu Hoang
883f2e4f14 get ready to merge similar sorting functions 2016-12-06 18:36:44 +00:00
Hieu Hoang
7cdff3a148 use arrays, not vector 2016-12-06 18:10:56 +00:00
Hieu Hoang
7e922f7a5d beam pruning even with nbest 2016-12-06 16:08:16 +00:00
Hieu Hoang
30aa185cf2 beam pruning 2016-12-06 16:02:10 +00:00
Hieu Hoang
8f012ba9c9 tweak 2016-12-06 09:39:59 -05:00
Hieu Hoang
ac6f234592 update worse score. Best hypos are already sorted using partial sort, don't need to go thru each of them 2016-12-06 09:31:29 -05:00
Hieu Hoang
a6d226c6b6 update worse score during pruning 2016-12-06 14:00:04 +00:00
Hieu Hoang
40a2588fd0 erase object from set 2016-12-06 13:29:43 +00:00
Hieu Hoang
e6adaad567 Merge ../mosesdecoder into perf_moses2 2016-12-06 13:23:37 +00:00
Hieu Hoang
e8a6677bbb bug in state comparison. If 2 states are actually the same object, return true, not false 2016-12-06 13:23:26 +00:00
Hieu Hoang
6356ccae03 debug 2016-12-06 00:20:41 +00:00
Hieu Hoang
9a272ba519 add inter-stack pruning 2016-12-05 22:47:37 +00:00
Hieu Hoang
fc4fa0f19c add inter-stack pruning 2016-12-05 18:04:26 +00:00
Hieu Hoang
f7cf9a84ed use GetBestHypo() 2016-12-05 17:29:52 +00:00
Hieu Hoang
b373a37d00 get ready to change GetSortedAndPruneHypos() to non-const 2016-12-05 17:26:58 +00:00
Hieu Hoang
62e2c85220 delete batch algorithm 2016-12-05 17:05:13 +00:00
Hieu Hoang
a0182da3c9 Merge ../mosesdecoder into perf_moses2 2016-12-05 15:55:45 +00:00
Hieu Hoang
114702fcd8 hack kenlm's populate load by catting files into memory. Also check that all files exists 2016-12-05 15:54:51 +00:00
Hieu Hoang
b188c3b649 check that all files exists 2016-12-05 15:31:02 +00:00
Hieu Hoang
bb36df3a5e refine worseScore discarding 2016-12-05 14:34:24 +00:00
Hieu Hoang
3275f1be13 warning 2016-12-05 13:29:52 +00:00
Hieu Hoang
00d5dfca4d Word -> WORD for template class 2016-12-05 13:25:00 +00:00
Hieu Hoang
a95a461ec7 delete unused param to get rid of annoying but irrelevant warning in clang 2016-12-05 13:19:19 +00:00
Hieu Hoang
b572841b09 delete beam threshold variable, keep worse score discarding 2016-12-05 13:11:50 +00:00
Hieu Hoang
525d7272e1 separate m_bestScore and m_minBeamScore. Conflated with m_worseScore 2016-12-01 16:43:06 +00:00
Hieu Hoang
a269d9ab71 rename m_worseScore -> m_minBeamScore 2016-12-01 15:31:22 +00:00
Hieu Hoang
ef105a1a9b reset beam variables when clearing ministack. They are reused 2016-12-01 14:41:30 +00:00
Hieu Hoang
0f12557e19 port beam threshold from Moses 2016-12-01 12:55:20 +00:00
Hieu Hoang
288af6e425 move function to cpp file 2016-11-28 10:51:56 +00:00
Hieu Hoang
87dbd677da missing header file 2016-11-23 13:11:53 +00:00
Hieu Hoang
99da2f1b7a missing header file 2016-11-22 11:40:45 +00:00
Hieu Hoang
1fe261b5d4 eclipse 2016-11-22 10:35:30 +00:00
Hieu Hoang
50bbf7cb26 eclipse 2016-11-22 10:08:12 +00:00