Commit Graph

2891 Commits

Author SHA1 Message Date
Tetsuo Kiso
037af96a6e Create a utility class for mert/evaluator.cpp to avoid name collisions, just in case.
And introduce anonymous namespace for the class and global variables
as well.
2012-01-27 04:06:36 +09:00
Tetsuo Kiso
940dadaa4c Add whitespaces. 2012-01-27 03:39:13 +09:00
Tetsuo Kiso
f9eac588e7 Add prefixe 'g_' to global variables in mert/evaluator.cpp
While the size of mert/evaluator.cpp is still relatively small,
adding the marker to the variables allows us to easily distinguish
them from local variables.
2012-01-27 03:24:51 +09:00
Hieu Hoang
c5b9d80171 xcode 2012-01-26 21:54:33 +07:00
Hieu Hoang
6c607a17ff undo start-translation-id arg, as per email from Sandra Noubours 2012-01-26 21:24:05 +07:00
Phil Williams
b2688f3045 moses_chart: add an alternative parser that implements the algorithm outlined
in Hopkins and Langmead (2010).  This allows parsing of scope-3 grammars with
cubic space and time requirements.  Enabled using the new "parsing-algorithm"
parameter (supports in-memory rule tables only).
2012-01-26 11:38:40 +00:00
Phil Williams
9feecb80de Move some more source files into moses/src/RuleTable 2012-01-26 10:45:20 +00:00
Phil Williams
ec9ea87e4d Create a subdirectory in moses/src for the main CYK+ source files. 2012-01-25 23:14:36 +00:00
Phil Williams
72baeab59e moses_chart: rule lookup now produces a vector of stack pointers (and a
TargetPhraseCollection pointer) instead of a CYK+ dotted rule.
2012-01-25 12:26:28 +00:00
Matous Machacek
5254e7917b mert/evaluator should now compute confidence interval correctly 2012-01-24 21:25:15 +01:00
Matous Machacek
c8cde15137 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-01-24 19:39:27 +01:00
Matous Machacek
6cbdfc513b fixed bugs in mert/evaluator, nicer printing of results 2012-01-24 19:18:44 +01:00
Hieu Hoang
a6d7d21ed4 rollback accidental commit 2012-01-24 18:04:44 +07:00
Hieu Hoang
79c6528a51 add --sort-batch-size arg to train-model.perl 2012-01-24 18:00:45 +07:00
phikoehn
a822db95db Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2012-01-24 10:14:04 +00:00
phikoehn
2a97c6bed2 added comments to config files 2012-01-24 10:13:19 +00:00
Phil Williams
5f22510663 Merge branch 'master' of /home/s0898777/moses-local/master 2012-01-23 20:44:56 +00:00
Phil Williams
589a6c9f8c Add RuleTableTrie, an abstract base class of PhraseDictionarySCFG. 2012-01-23 20:41:49 +00:00
Hieu Hoang
f5a624fc4a xcode 2012-01-23 23:53:26 +07:00
Hieu Hoang
655599293d Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-01-23 23:34:57 +07:00
Phil Williams
5ea6d510c6 Create a subdirectory in moses/src for rule table source files. 2012-01-23 16:05:32 +00:00
Hieu Hoang
bfdfd38162 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-01-23 22:14:31 +07:00
Hieu Hoang
793dbf2523 Revert "Revert "fixed ems bug when no interpolated LMs are used""
This reverts commit 2a4b65986e.
2012-01-23 22:13:01 +07:00
Hieu Hoang
db445aefd5 Revert "fixed ems bug when no interpolated LMs are used"
This reverts commit ba469d27a5.
2012-01-23 22:12:04 +07:00
Phil Williams
e6a5bd9c20 Use boost::unordered_map for faster lookup in ChartCell and ChartCellLabelSet. 2012-01-23 14:19:19 +00:00
Phil Williams
8462f24b72 Restore the "--with-tcmalloc" configuration option that was lost
in the transition from autotools to bjam.
2012-01-23 11:34:46 +00:00
Phil Williams
99cd21f3e8 filter-rule-table.py: fix horribly inefficient filtering of rules that
contain frequently-occurring terminal sequences
(like [X] -> [X] , [X] , [X] , [X] and [X])
2012-01-23 10:57:56 +00:00
Phil Williams
360113ad6b Remove obsolete #if HAVE_CONFIG_H directives. 2012-01-23 10:37:35 +00:00
Matous Machacek
b4a50ec50b mert/evaluator can compute more metrics at once 2012-01-22 01:01:08 +01:00
Barry Haddow
651fdba245 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-01-18 08:56:59 +00:00
Barry Haddow
83bb286809 Option to disable buffering (from Tom Hoar) 2012-01-18 08:55:12 +00:00
Eleftherios Avramidis
edd983a347 Merge commit 'upstream/master' 2012-01-16 16:48:24 +01:00
Eleftherios Avramidis
57688ae5b2 Catch errors produced after re-running on an existing run (with --continue) 2012-01-16 16:42:19 +01:00
Kenneth Heafield
d49cc6c9f8 Make lm constructor explicit 2012-01-14 17:07:31 +00:00
Kenneth Heafield
23c79b8169 Remove uncalled and broken function 2012-01-14 01:23:54 -05:00
Eleftherios Avramidis
e36ab4fcdf Merge pull request #8 from lefterav/master
Fixed EMS ignoring absense of train-model.perl
2012-01-13 15:30:39 -08:00
Eleftherios Avramidis
1022a53760 Merge commit 'upstream/master' 2012-01-14 00:22:57 +01:00
Eleftherios Avramidis
8dd5c7bf2b Catch error, when for some reason train-model.perl is missing from installation (not properly compiled Moses) 2012-01-14 00:22:01 +01:00
Kenneth Heafield
868255af03 Surround mains in try-catch blocks. 2012-01-13 10:20:42 -05:00
Kenneth Heafield
cbf1e1e2bb Fix GetScoreProducerDescription 2012-01-13 10:07:30 -05:00
Barry Haddow
5b1caea39c Merge pull request #7 from lefterav/master
METEOR support for EMS scripts
2012-01-12 10:22:48 -08:00
Eleftherios Avramidis
722c3ff6c7 Added support for optional external METEOR script. Workflow changes in experiment.meta and and corresponding sample given in example/config.basic. Results processing for report-experiment-scores now supports METEOR output. Lifted web interface restriction on the types of metrics that can be listed 2012-01-12 18:37:02 +01:00
bhaddow
fcbaafadbc Restore Hieu's phrase extraction speedups 2012-01-12 14:34:52 +00:00
phikoehn
9a5f61893a fixed ems bug when no interpolated LMs are used 2012-01-12 03:34:51 +00:00
Philipp Koehn
adde4af96e Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2012-01-12 02:56:43 +00:00
Barry Haddow
d2e4902378 Second attempt... 2012-01-10 10:08:35 +00:00
Barry Haddow
fdbf0ed789 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2012-01-10 09:33:05 +00:00
bhaddow
01f8881e0e fix cruise control ems config 2012-01-10 09:32:26 +00:00
pkoehn
7c44317216 bug fix with Good Turing / Kneser Ney discounting 2012-01-09 23:43:08 +00:00
Barry Haddow
3cabb98c40 bug fix to lex reordering training
submitted by Christoffer Tanner (via Sara Stymne)
2012-01-09 20:46:21 +00:00