Kenneth Heafield
8530d0548c
Don't segfault when complaining that IRSTLM isn't multithreaded
2012-02-07 10:21:14 -05:00
Phil Williams
3ed71773f2
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
f27da4f2b6
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
b30a9f84ed
moses_chart: simplify ChartTranslationOptionCollection a bit.
2012-02-06 16:39:30 +00:00
Phil Williams
68944b5880
moses_chart: remove unused adhereTableLimit parameter from
...
ChartTranslationOptionList::Add().
2012-02-06 16:00:57 +00:00
root
267ee31d8d
make irst training a little more compatible with sri
2012-02-06 16:53:41 +07:00
Christian Buck
7752ebb658
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
d461f29faa
Merge branch 'master' of git://github.com/moses-smt/mosesdecoder
2012-02-04 17:22:01 +00:00
Barry Haddow
5ed5fc111a
Fix to qsub args, from Guchun Zhang
2012-02-04 13:33:47 +00:00
Christian Buck
4874d3d780
Merge branch 'master' of git://github.com/moses-smt/mosesdecoder
2012-02-03 18:17:03 +00:00
Christian Buck
01bd615e9d
less debug output in GlobalLexicalModel
2012-02-03 17:40:59 +00:00
Christian Buck
312845b73f
Cleanup
2012-02-03 17:02:58 +00:00
Christian Buck
33e72473f0
added thread-safe cache to GlobalLexiconModel
2012-02-03 16:39:12 +00:00
Hieu Hoang
417f89fc6d
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2012-02-03 16:50:37 +07:00
Hieu Hoang
236bba29a2
rollback shared library linking default
2012-02-03 16:49:20 +07:00
Hieu Hoang
ec550f4dfa
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2012-02-03 16:42:01 +07:00
Hieu Hoang
81ba624a05
compile error gcc 4.6.0
2012-02-03 16:40:57 +07:00
Hieu Hoang
5284d0b819
Merge pull request #9 from miska/master
...
Few compilation fixes
2012-02-03 01:25:33 -08:00
Tetsuo Kiso
7c2063fa67
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2012-02-03 14:02:16 +09:00
Tetsuo Kiso
ba55a5a345
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
f2046da6aa
fixed gcc4.6 error (size_t does not name a type)
2012-02-03 00:22:57 +00:00
Kenneth Heafield
09061e53e8
Force kenutil to be linked with dependencies
2012-02-02 17:49:41 -05:00
Jiri Marsik
6243242698
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
4bd84bca1a
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
c438f5de91
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2012-02-01 21:49:36 +09:00
Tetsuo Kiso
905f959d83
Move funcions defined in a header into .cpp file.
2012-02-01 21:44:37 +09:00
Tetsuo Kiso
b2987337d8
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
923efa0a4c
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
5cd5b90d0d
Create a initialize function.
2012-02-01 21:26:47 +09:00
Tetsuo Kiso
17e864e446
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
bc78fc5e6a
train-model.perl: don't pass --MaxSpan option to rule extractor if
...
using GHKM.
2012-02-01 12:01:24 +00:00
Tetsuo Kiso
a351a74c18
Move regularizaion type into StatisticsBasedScorer.
...
The type is used as internal purpose.
2012-02-01 20:58:49 +09:00
Tetsuo Kiso
b19e7777ce
Add prefix 'm_' to private and protected members in Scorer classes.
2012-02-01 20:54:20 +09:00
Tetsuo Kiso
33cea0f1dc
Delete unused enums.
2012-02-01 20:26:25 +09:00
Tetsuo Kiso
30fa97e404
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
d742341176
Bug fix: memory leak issues when using MergeScorer.
2012-02-01 18:13:32 +09:00
Tetsuo Kiso
3ef03a77c4
Change casts to C++ style casts.
2012-02-01 18:13:00 +09:00
Tetsuo Kiso
142342f8be
Change casts to C++ style casts, and delete unnecessary casts.
2012-02-01 17:17:58 +09:00
Tetsuo Kiso
3c04b7e826
Create a function to save final weights to a file.
2012-02-01 16:59:48 +09:00
Tetsuo Kiso
1bafc99ea2
Use a constant instead of hard-coding.
2012-02-01 16:51:25 +09:00
Tetsuo Kiso
8e1bf6d7d1
Pass std::string objects by const reference instead of by value.
2012-02-01 16:46:36 +09:00
Tetsuo Kiso
b399dfc906
Rename too short variables.
...
'D' and 'O' is hard to find when you might want to
search by command line tools such as grep.
2012-02-01 16:39:38 +09:00
Tetsuo Kiso
8007150db4
Add constans to prevent avoid hard coding many times.
...
Default filenames in usage() were differen from the actual ones.
2012-02-01 16:33:23 +09:00
Tetsuo Kiso
c3fbe5081e
Add whitespaces.
2012-02-01 16:15:22 +09:00
Tetsuo Kiso
e8823d5015
Add 'virtual' keyword for functions in OptimizationTask.
...
Adding 'virtual' keyword for an inherited virtual function is good
practice because it will let the users know where the function
comes from.
2012-02-01 15:49:33 +09:00
Tetsuo Kiso
dc659479be
Add explicit to the ThreadPool constructor.
2012-02-01 15:33:26 +09:00
Tetsuo Kiso
c1c9c1c8bb
Create a struct for command line options in mert.
2012-02-01 15:21:49 +09:00
Tetsuo Kiso
616b014554
Delete unused variables.
2012-02-01 12:37:41 +09:00
Tetsuo Kiso
bb9a6b9184
Introduce anonymous namespace.
2012-02-01 12:35:50 +09:00
Tetsuo Kiso
c94b1f8ff0
Add whitespaces.
2012-02-01 12:29:45 +09:00