Commit Graph

16997 Commits

Author SHA1 Message Date
alvations
c6c3bc84b7 Changed \p{Hyphen} to \p{LineBreak}
Using Perl v5.18.2, it's reporting this warning:
**Use of 'Hyphen' in \p{} or \P{} is deprecated because: Supplanted by Line_Break property values; see www.unicode.org/reports/tr14**
2016-12-23 14:21:20 +08: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
c0b88d350a Merge branch 'master' of github.com:moses-smt/mosesdecoder 2016-11-22 10:08:53 +00:00
Hieu Hoang
50bbf7cb26 eclipse 2016-11-22 10:08:12 +00:00
Hieu Hoang
7a150bb060 eclipse 2016-11-20 20:51:06 +00:00
MosesAdmin
9519dca56f daily automatic beautifier 2016-11-15 00:00:37 +00:00
Hieu Hoang
5d960a2c59 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2016-11-14 23:43:50 +00:00
Hieu Hoang
a0b8c57070 error message 2016-11-14 23:43:19 +00:00
MosesAdmin
28c8ff5ad0 daily automatic beautifier 2016-11-13 00:00:33 +00:00
Lane Schwartz
ea9d3b7f3e Merge branch 'master' of github.com:moses-smt/mosesdecoder 2016-11-12 11:31:58 -06:00
Lane Schwartz
c854df84cb Add per-sentence on-demand translation model.
This translation model reads its phrase table from a TranslationTask object's ContextScope.

This data can come from, for example, a mosesserver XML-RPC client.
2016-11-12 11:31:43 -06:00
Lane Schwartz
988038af68 Moses server can now accept and store data associated with a "context-scope" key 2016-11-12 11:28:26 -06:00
Lane Schwartz
6bc376a843 Clean up code 2016-11-12 11:18:53 -06:00