Hieu Hoang
7f6ce67bac
Merge pull request #155 from ypeels/master
...
avoid name collisions when filtering multiple reordering tables
2016-07-03 20:20:24 +01:00
Philipp Koehn
c11a533f14
added segment level time out
2016-05-27 05:39:42 -04:00
Jonathan Chen
5b42fb9c05
removed duplicated option
2016-05-17 11:42:10 -05:00
Kenneth Heafield
31698d5eca
Remove deprecated lazyken=0 settings. Should be load instead, but don't specify if it's the default.
2016-03-24 12:58:10 +00:00
Ulrich Germann
2be2481feb
Added switch --daemon: fork and run moses server in background. The parent won't exit until the child is ready to serve.
2015-12-07 16:01:12 +00:00
MosesAdmin
157be7cc51
daily automatic beautifier
2015-12-03 00:01:07 +00:00
Ulrich Germann
11262b0a62
Added switch --version to have Moses print out the code versions it was compiled with.
2015-11-30 01:29:13 +00:00
David Madl
e36fb96557
LanguageModel, KenLM: avoid StaticData usage
...
* drop global lmodel-oov-feature option, and add it to LM FF config line instead
use oov-feature=1 (bool) option instead
* drop LanguageModel::GetWeight()
* KenLM: use m_verbosity of FF instead of IFVERBOSE macro which uses StaticData
* train-model.perl: move language model OOV feature onto LM feature spec line
2015-11-17 16:15:13 +00:00
MosesAdmin
dad1bd6127
daily automatic beautifier
2015-11-12 00:00:40 +00:00
Ulrich Germann
9826599cb0
Enforce const-ness of command line arguments; bug fix in mosesserver.cpp.
2015-11-11 01:08:05 +00:00
Ulrich Germann
bd2d24cbb8
Integrated more finegrained abyss server control from mosesserver.cpp; mosesserver is now officially deprecated.
2015-11-10 20:30:06 +00:00
MosesAdmin
f38976aba0
daily automatic beautifier
2015-11-02 00:00:37 +00:00
Ulrich Germann
324c378f7f
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
2015-10-31 12:50:52 +00:00
Hieu Hoang
b6231e8c73
make util::StringStream more like std::stringstream
2015-10-16 19:03:22 +00:00
Hieu Hoang
cfb1ab34c7
use util::StringStream
2015-10-16 19:03:22 +00:00
Michael Denkowski
56e3bc1ea2
Reintroduce deterministic cube pruning as option
...
Use --cube-pruning-deterministic-search or --cbds
2015-09-25 11:03:23 +02:00
MosesAdmin
21aa5af640
daily automatic beautifier
2015-08-08 00:00:45 +01:00
Ulrich Germann
faaf0bdf87
Reorganization of server options. Added options for sesssion cache.
2015-08-01 16:11:35 +01:00
Philipp Koehn
ec3413f7b5
allow customized prefix/suffix to mark unknown words
2015-07-20 11:40:53 -04:00
XapaJIaMnu
69c1308f01
Add context_weights parameter to command line
2015-06-23 15:02:15 +01:00
Hieu Hoang
c306715e82
add back arg -always-create-direct-transoption. Seemed to have dropped out a while ago
2015-06-08 14:38:01 +04:00
Hieu Hoang
5173b9f617
beautify. Add sed for trailing spaces
2015-05-13 11:29:16 +01:00
Jeroen Vermeulen
0859e9a844
Remove trailing whitespace from C++ files.
2015-05-13 17:05:43 +07:00
Ulrich Germann
7da7ce52da
Added context buffering in IOWrapper for context-sensitive decoding.
...
Unfortunately, this seems to slow things down quite a bit.
2015-05-11 00:34:24 +01:00
Hieu Hoang
cc8c6b7b10
beautify
2015-05-02 11:45:24 +01:00
Jeroen Vermeulen
eca5824100
Remove trailing whitespace in C++ files.
2015-04-30 12:05:11 +07:00
Ulrich Germann
0d72cdd72c
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder into mmt-dev
...
Conflicts:
moses/Syntax/F2S/Manager-inl.h
moses/TranslationModel/UG/mmsapt.cpp
2015-04-26 02:12:16 +01:00
Jeroen Vermeulen
38d790cac0
Add cross-platform randomizer module.
...
The code uses two mechanisms for generating random numbers: srand()/rand(),
which is not thread-safe, and srandom()/random(), which is POSIX-specific.
Here I add a util/random.cc module that centralizes these calls, and unifies
some common usage patterns. If the implementation is not good enough, we can
now change it in a single place.
To keep things simple, this uses the portable srand()/rand() but protects them
with a lock to avoid concurrency problems.
The hard part was to keep the regression tests passing: they rely on fixed
sequences of random numbers, so a small code change could break them very
thoroughly. Util::rand(), for wide types like size_t, calls std::rand() not
once but twice. This behaviour was generalized into utils::wide_rand() and
friends.
2015-04-23 23:46:04 +07:00
Ulrich Germann
93ce2423df
1. A context string for biased sampling in Mmsapt can now be provided on the
...
command line with --context-string. Not available in server mode yet.
2. Numerous bug fixes related to biased sampling.
3. Biased sampling now checks that the sampling sticks to the bias. If
the distribution of samples deviates too much from the bias, samples
whose selection would push the sample distribution even further from the bias
are not considered, even if that means that fewer samples are chosen in total.
2015-04-03 16:16:52 +01:00
Ulrich Germann
a49b76be3f
Quick hack to make moses not stumble over double-dash parameter specifications.
2015-03-11 23:32:06 +00:00
Ulrich Germann
612e014e79
Organized command line options thematically.
...
This is the first step in migration to the use of boost::program_options for GNU/Linux-style handling of command line options.
2015-03-05 00:34:02 +00:00
Ulrich Germann
982286b38f
Folded contrib/server/mosesserver.cpp into the moses executable.
...
With immediate effect, mosesserver is deprecated, use moses --server instead.
2015-03-04 00:07:11 +00:00
Matthias Huck
eaaae89acc
tuneable-components config parameter for feature functions
2015-02-16 15:10:06 +00:00
Matthias Huck
53ce063214
tuneable-components config parameter for feature functions
2015-02-09 13:52:05 +00:00
Hieu Hoang
70e8eb54ce
Using boost for prefix/suffix checks /Jeroen Vermeulen
2015-02-05 16:23:47 +00:00
Phil Williams
984936f05f
Placeholders for new syntax-based search algorithms
2015-02-02 15:39:00 +00:00
Phil Williams
e177131a22
Remove -s2t option (use -search-algorithm=6 instead)
2015-02-02 15:01:59 +00:00
Hieu Hoang
05ead45e71
beautify
2015-01-14 11:07:42 +00:00
Hieu Hoang
3b3f11365d
delete UserMessage. Too difficult to police
2015-01-07 10:01:10 +04:00
Nicola Bertoldi
e4eb201c52
merged master into dynamic-models and solved conflicts
2014-12-13 12:52:47 +01:00
Hieu Hoang
46e7aebce4
move SetBooleanParameter to Parameter class. Make it a specialized version of template SetParameter
2014-11-30 20:15:15 +00:00
Hieu Hoang
b2c0fa097c
make GetParam() a const method with no side effect
2014-11-28 18:33:45 +00:00
Hieu Hoang
da8b4b74eb
make GetParam() a const method with no side effect
2014-11-28 18:29:03 +00:00
Hieu Hoang
5b82661163
make GetParam() a const method with no side effect
2014-11-27 21:09:05 +00:00
Hieu Hoang
0f597bfad6
make GetParam() a const method with no side effect
2014-11-26 18:44:06 +00:00
Hieu Hoang
cdb5cd3e62
make GetParam() a const method with no side effect
2014-11-26 17:47:33 +00:00
Hieu Hoang
a2bb435a1a
make GetParam() a const method with no side effect
2014-11-26 16:41:25 +00:00
Hieu Hoang
c87db0c141
Parameter error
2014-11-20 17:05:08 +00:00
Hieu Hoang
c346a4b198
Add rt library
2014-11-20 15:02:05 +00:00
Hieu Hoang
8137aeae43
Small changes to Parameters and StaticData
2014-11-20 11:21:50 +00:00