Commit Graph

47 Commits

Author SHA1 Message Date
MosesAdmin
10531d5f02 daily automatic beautifier 2015-12-12 00:00:41 +00:00
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +00:00
Ulrich Germann
fdb5d9b282 Code refactoring: All FF now get access to AllOptions at load time, so they don't have to rely on StaticData. 2015-12-08 12:56:55 +00:00
nicolabertoldi
c8cc11dbd3 restored the not-adaptive version of moses 2015-10-28 23:22:08 +01:00
Ulrich Germann
6a2e6feeed Context weights now live in the ContextScope, not any more on TranslationTask.
TargetPhrase now has weak ptr to ContextScope, not to TranslationTask any more,
because TargetPhrases can outlive the scope of a Translation Task.
2015-10-28 10:26:41 +00:00
MosesAdmin
ec8dbdb94a daily automatic beautifier 2015-10-27 00:00:59 +00:00
Ulrich Germann
b6e3553146 Context-sensitive IRSTLM, but not thread-safe yet. 2015-10-26 01:22:10 +00:00
Ulrich Germann
54d0ab36f4 Copied IRSTLM files from commit b875577b15
(branch mmt-dev), which was the last one known to pass regression tests.
2015-10-25 19:28:48 +00:00
Ulrich Germann
857ee21d50 Attempt to make IRSTLM thread-proof. 2015-10-24 19:48:47 +01:00
Ulrich Germann
182ed18a46 Updated preprocessor commands to toggle between context-adaptive and regular IRSTLM 2015-10-24 02:37:06 +01:00
Ulrich Germann
adf15617c1 Context-sensitive computation of LM scores in IRSTLM. 2015-10-24 01:39:03 +01:00
Ulrich Germann
89401944f8 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-10-23 20:36:00 +01:00
Ulrich Germann
06a516842d Moses server now accepts context weights as translation request parameters. 2015-10-21 00:56:29 +01:00
nicolabertoldi
a1a1b6f2da re-introduced the cache for IRSTLM dictionary codes 2015-10-08 17:54:45 +02:00
nicolabertoldi
165092885c made interface to IRSTLM threadsafe 2015-10-05 12:18:26 +02:00
XapaJIaMnu
ea23c921b3 Make getScore be able to access ttasksptr. Only works with suffix array for now, other people can implement it in their pts 2015-06-25 17:52:55 +01:00
XapaJIaMnu
47a488767e Enable the bias weights to be (re)set by the server. 2015-06-25 13:12:33 +01:00
XapaJIaMnu
aaf8397d6f Make it possible for TranslationTasks to be accessed by the LM 2015-06-23 13:24:42 +01:00
Ulrich Germann
dcb8e5d3e0 Preparation for allowing context-aware decoding. 2015-05-19 02:35:39 +01:00
Hieu Hoang
32de075022 beautify 2015-02-19 12:27:23 +00:00
Nicola Bertoldi
fa00c99aa3 fixings to the IRSTLM interface for textual input; code cleanup 2015-01-26 18:24:12 +01:00
Nicola Bertoldi
18eaf62ce3 fixings to the IRSTLM interface for textual input 2015-01-26 15:51:08 +01:00
Matthias Huck
db655a09e5 Revert "improved interface towards IRSTLM"
This reverts commit 8316ca5948.

Moses did not compile with the current release version of IRSTLM (irstlm-5.80.06)
2015-01-20 19:23:12 +00:00
Nicola Bertoldi
b67b1632d9 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-01-08 15:09:39 +01:00
Hieu Hoang
3b3f11365d delete UserMessage. Too difficult to police 2015-01-07 10:01:10 +04:00
Nicola Bertoldi
8316ca5948 improved interface towards IRSTLM 2015-01-04 22:47:46 +01:00
Nicola Bertoldi
e4eb201c52 merged master into dynamic-models and solved conflicts 2014-12-13 12:52:47 +01:00
Hieu Hoang
c52f4d3e75 uninitialised variable 2014-12-05 14:19:55 +00:00
Nicola Bertoldi
923305a5d0 made complaint with namespace irstlm recently introduced in IRSTLM package 2014-05-17 21:20:51 +02:00
Hieu Hoang
a5f391e3f3 remove description argument from feature function constructor. Redundant 2013-10-29 18:59:53 +00:00
Hieu Hoang
89f88fdb6b refactor parsing of args for language models 2013-08-28 11:05:47 +01:00
Hieu Hoang
21ff6d4831 beautify 2013-06-03 12:33:18 +01:00
Hieu Hoang
695617d930 consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:50:13 +01:00
Hieu Hoang
eaf53769ad consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:21:02 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
ce95c117f6 merge 2013-04-29 18:46:48 +01:00
Kenneth Heafield
f1d3663810 Back FactorCollection with a memory pool. Less memory for large vocabularies. 2013-04-25 19:42:30 +01:00
Hieu Hoang
68b64974c4 runtime error using name args with language models 2013-03-19 12:19:39 +00:00
Hieu Hoang
eca3661de3 rename a variable and function 2013-02-21 11:30:54 +00:00
Hieu Hoang
1a1634a391 make LanguageModelImplementation have new format constructor 2013-02-20 22:44:11 +00:00
Hieu Hoang
e0746cd525 throw exception if unknown argument 2013-02-19 17:31:11 +00:00
Hieu Hoang
9d0c4801d5 name-value pairs for LM arguments 2013-02-04 23:10:12 +00:00
Hieu Hoang
a57ac78741 refactor LanguageModelIRST 2013-01-17 17:58:44 +00:00
Hieu Hoang
75ef646918 refactor LanguageModel 2013-01-17 17:15:10 +00:00
Hieu Hoang
bf58eac8bc clean up InitializeBeforeSentenceProcessing() 2012-12-24 18:52:04 +00:00
Hieu Hoang
0df397065d clean up InitializeBeforeSentenceProcessing() 2012-12-24 16:52:40 +00:00
Hieu Hoang
5e3ef23cef move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00