Commit Graph

2962 Commits

Author SHA1 Message Date
Barry Haddow
69afc63fb0 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-08 17:48:19 +00:00
Barry Haddow
757f08a141 Really simple sharding test 2012-02-08 17:47:54 +00:00
Barry Haddow
752724594e Fix sharding bug 2012-02-08 17:11:56 +00:00
Hieu Hoang
b8c1c53e2b visual studio 2012-02-08 17:57:36 +07:00
Hieu Hoang
fbdab66587 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-08 17:26:29 +07:00
Hieu Hoang
ba5316e2e8 parallel scoring 2012-02-08 17:25:42 +07:00
Hieu Hoang
8efd2cb558 visual studio 2012-02-08 13:26:39 +07:00
Hieu Hoang
a1699fd2d7 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-08 12:52:52 +07:00
Hieu Hoang
be1a26c482 input file can be gzipped 2012-02-08 12:51:55 +07:00
Kenneth Heafield
c49f8ddc62 Don't segfault when complaining that IRSTLM isn't multithreaded 2012-02-07 10:21:14 -05:00
Phil Williams
ea9c721733 moses_chart: reduce memory usage by creating one ChartTranslationOptionList
per sentence instead of one per cell, and reduce object churn by recycling
ChartTranslationOption objects.
2012-02-06 23:54:01 +00:00
Phil Williams
b5eba6ff10 moses_chart: rename ChartTranslationOptionList's Sort() function
to ApplyThreshold() and remove the sorting bit since the options
no longer need to be ordered.
2012-02-06 22:39:41 +00:00
Phil Williams
7cdc0b26c0 moses_chart: simplify ChartTranslationOptionCollection a bit. 2012-02-06 16:39:30 +00:00
Phil Williams
0fcb87629b moses_chart: remove unused adhereTableLimit parameter from
ChartTranslationOptionList::Add().
2012-02-06 16:00:57 +00:00
root
4e93cda304 make irst training a little more compatible with sri 2012-02-06 16:53:41 +07:00
Christian Buck
36d86770af gcc 4.6.0 compiler error already fixed by Hieu
rollback of ef7f19f498
already covered in ebe2fb266d
2012-02-04 17:32:05 +00:00
Christian Buck
be4892f050 Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2012-02-04 17:22:01 +00:00
Barry Haddow
f55c9921e7 Fix to qsub args, from Guchun Zhang 2012-02-04 13:33:47 +00:00
Christian Buck
28c84c7858 Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2012-02-03 18:17:03 +00:00
Christian Buck
26062315fb less debug output in GlobalLexicalModel 2012-02-03 17:40:59 +00:00
Christian Buck
246431c01b Cleanup 2012-02-03 17:02:58 +00:00
Christian Buck
1bf5b4cbab added thread-safe cache to GlobalLexiconModel 2012-02-03 16:39:12 +00:00
Hieu Hoang
1606f46845 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-03 16:50:37 +07:00
Hieu Hoang
b0169b933e rollback shared library linking default 2012-02-03 16:49:20 +07:00
Hieu Hoang
917fd9cf32 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-03 16:42:01 +07:00
Hieu Hoang
ebe2fb266d compile error gcc 4.6.0 2012-02-03 16:40:57 +07:00
Hieu Hoang
13400918cf Merge pull request #9 from miska/master
Few compilation fixes
2012-02-03 01:25:33 -08:00
Tetsuo Kiso
c3fe5ac677 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-03 14:02:16 +09:00
Tetsuo Kiso
2317bf0917 Ignore *.gch files.
This commit might help someone who use on-the-fly syntax
checking tools such as 'Flymake' in Emacs.
2012-02-03 14:01:52 +09:00
Christian Buck
ef7f19f498 fixed gcc4.6 error (size_t does not name a type) 2012-02-03 00:22:57 +00:00
Kenneth Heafield
0270d61de5 Force kenutil to be linked with dependencies 2012-02-02 17:49:41 -05:00
Jiri Marsik
1de5d83dac Separated train-global-lexicon-model into three steps.
The script now offers the actions 'list', 'train'
and 'consolidate', which make it more amenable
for parallelization.
2012-02-01 14:16:09 +01:00
Michal Hrusecky
8ab6c7a655 Alway return something in non-void functions
There were functions defined as non-void but didn't have return value
for all possible passes. This can result in undefined behavior. Fixed
this issue and returning values that somehow makes sense hopefully.
2012-02-01 14:03:49 +01:00
Tetsuo Kiso
f8e2076ea3 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-02-01 21:49:36 +09:00
Tetsuo Kiso
270809fa97 Move funcions defined in a header into .cpp file. 2012-02-01 21:44:37 +09:00
Tetsuo Kiso
4e3dd11f53 Remove virtual keyword from whoami() function.
The funtion is neither inherited from Scorer nor
StatisticsBasedScorer.
2012-02-01 21:36:25 +09:00
Tetsuo Kiso
4051f723f7 Move funcionts used in StatisticsBasedScorer into anonymous namespace.
And add 'inline' keyword to the functions.
2012-02-01 21:30:50 +09:00
Tetsuo Kiso
ae5a58da89 Create a initialize function. 2012-02-01 21:26:47 +09:00
Tetsuo Kiso
92434a2293 Create private class to encapssulate encoding process.
Instead of using typedefs inside a class only,
it might be better to create a private class to do same things.
2012-02-01 21:19:25 +09:00
Phil Williams
d2988effa8 train-model.perl: don't pass --MaxSpan option to rule extractor if
using GHKM.
2012-02-01 12:01:24 +00:00
Tetsuo Kiso
c5f8c7d33a Move regularizaion type into StatisticsBasedScorer.
The type is used as internal purpose.
2012-02-01 20:58:49 +09:00
Tetsuo Kiso
cb729ad3a5 Add prefix 'm_' to private and protected members in Scorer classes. 2012-02-01 20:54:20 +09:00
Tetsuo Kiso
947e30ac3b Delete unused enums. 2012-02-01 20:26:25 +09:00
Tetsuo Kiso
3ac41ff2d7 Move reference length type into a private member of BleuScorer.
The reason is that the type is used as internal purpose.
2012-02-01 20:24:48 +09:00
Tetsuo Kiso
671a2f8c33 Bug fix: memory leak issues when using MergeScorer. 2012-02-01 18:13:32 +09:00
Tetsuo Kiso
4373c07cf0 Change casts to C++ style casts. 2012-02-01 18:13:00 +09:00
Tetsuo Kiso
194e24115a Change casts to C++ style casts, and delete unnecessary casts. 2012-02-01 17:17:58 +09:00
Tetsuo Kiso
380f550cf3 Create a function to save final weights to a file. 2012-02-01 16:59:48 +09:00
Tetsuo Kiso
2a7d2a395f Use a constant instead of hard-coding. 2012-02-01 16:51:25 +09:00
Tetsuo Kiso
79fd25d0c4 Pass std::string objects by const reference instead of by value. 2012-02-01 16:46:36 +09:00