Ulrich Germann
bb6e0157aa
Code cleanup and refactoring.
2015-12-13 22:31:43 +00:00
Ulrich Germann
b899ab8175
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
2015-12-12 15:31:42 +00:00
Ulrich Germann
9196cd1461
Changes to PhraseDictionaryCompact and LexicalReorderingtableCompact:
...
- minphr-memory and minlexr-memory are now static members of the respective classes,
not global variables; they are interpreted by class-specific option interpretation
functions that are called from StaticData.cpp.
- m_weight has been removed from PhraseDictionaryCompact and PhraseDecoder,
as it was never used.
2015-12-12 15:28:22 +00:00
MosesAdmin
10531d5f02
daily automatic beautifier
2015-12-12 00:00:41 +00:00
Ulrich Germann
65f4f1f92a
Code cleanup and refactoring.
2015-12-11 13:52:48 +00:00
Ulrich Germann
29694af6e4
Code cleanup and refactoring.
2015-12-11 01:09:22 +00:00
MosesAdmin
59365f2bd3
daily automatic beautifier
2015-12-09 00:00:35 +00:00
Ulrich Germann
c1a008bf6d
Reduce dependence on StaticData.
2015-12-07 23:50:56 +00:00
Ulrich Germann
c4e45fb128
Code cleanup.
2015-12-07 16:07:11 +00:00
Ulrich Germann
d56d900d6a
Code cleanup.
2015-12-06 01:43:17 +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
f247e26fed
More options refactoring (OOV Handling this time).
2015-11-11 17:07:45 +00:00
Ulrich Germann
d727829387
Merge branch 'master' of https://github.com/modernmt/mosesdecoder
...
Conflicts:
moses/parameters/InputOptions.cpp
moses/parameters/InputOptions.h
2015-11-10 23:05:13 +00:00
Ulrich Germann
806f888c10
Moved placeholder factor variable from StaticData to InputOptions.
2015-11-10 21:44:48 +00:00
Ulrich Germann
d773ad428e
More options cleanup.
2015-11-03 19:36:43 +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
MosesAdmin
21aa5af640
daily automatic beautifier
2015-08-08 00:00:45 +01:00
Ulrich Germann
6c1d9e2431
More reorganisation of options.
2015-08-06 22:52:34 +01:00
Ulrich Germann
524109e2ca
Reorganisation of options.
...
The purpose of this effort is to have options local to the individual translation task,
so that they can be changed in the running system in a multi-threaded system.
2015-08-06 21:11:43 +01:00
Philipp Koehn
ec3413f7b5
allow customized prefix/suffix to mark unknown words
2015-07-20 11:40:53 -04:00
Jeroen Vermeulen
0981d23705
Lint-fixing binge.
2015-06-02 16:02:39 +07:00
Ulrich Germann
7ff1f9c063
Option bundling.
2015-05-27 20:45:55 +01:00
Hieu Hoang
5173b9f617
beautify. Add sed for trailing spaces
2015-05-13 11:29:16 +01:00
Ulrich Germann
f087fce65e
Reformatting.
2015-05-11 23:13:13 +01: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
ba6e17ce26
Code reorganization.
2015-04-27 16:31:22 +01:00
Ulrich Germann
9dc75bfd8a
Managers and feature functions now have access to the entire TranslationTask, not just the InputType.
2015-03-26 18:25:54 +00:00
Kenneth Heafield
54304fd473
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
...
Conflicts:
moses/ExportInterface.cpp
2015-03-11 17:43:48 -04:00
James Zhang
23704613de
added a simple translation interface
2015-03-11 17:33:17 -04:00
Phil Williams
33df7fd2b4
Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values
2015-02-12 13:03:26 +00:00
Phil Williams
e177131a22
Remove -s2t option (use -search-algorithm=6 instead)
2015-02-02 15:01:59 +00:00
Hieu Hoang
ad6f3a8026
option to sort translation options after EvaluateAfterSourceContext
2015-01-22 12:25:02 +01:00
Hieu Hoang
6d61db28fa
use astyle 2.01. It's on Edinburgh server and doesn't screw up enum
2015-01-14 19:21:11 +00:00
Hieu Hoang
05ead45e71
beautify
2015-01-14 11:07:42 +00:00
Hieu Hoang
782ac85674
allow mira compilation for Eva
2015-01-08 12:37:34 +00:00
Hieu Hoang
3b3f11365d
delete UserMessage. Too difficult to police
2015-01-07 10:01:10 +04:00
Hieu Hoang
bfac071742
new format for [mapping] section
2015-01-07 08:55:31 +05:30
Nicola Bertoldi
4e77665d30
better handling of cache-based models with inconsistent parameters
2014-12-15 17:42:41 +01:00
Hieu Hoang
7c159b3d58
rename ChartDecoding -> CYKPlus. Comment out CubeGrowing, not implemented
2014-12-14 13:19:38 +00: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
da8b4b74eb
make GetParam() a const method with no side effect
2014-11-28 18:29:03 +00:00
Hieu Hoang
79e1c12c1c
make GetParam() a const method with no side effect
2014-11-28 17:15:01 +00:00
Hieu Hoang
8137aeae43
Small changes to Parameters and StaticData
2014-11-20 11:21:50 +00:00
Phil Williams
5240c430ce
Merge s2t branch
...
This adds a new string-to-tree decoder, which can be enabled with the -s2t
option. It's intended to be faster and simpler than the generic chart
decoder, and is designed to support lattice input (still WIP). For a en-de
system trained on WMT14 data, it's approximately 40% faster in practice.
For background information, see the decoding section of the EMNLP tutorial
on syntax-based MT:
http://www.emnlp2014.org/tutorials/5_notes.pdf
Some features are not implemented yet, including support for internal tree
structure and soft source-syntactic constraints.
2014-11-04 13:13:56 +00:00
Rico Sennrich
61c00ed636
n-best tree output
2014-09-12 19:17:23 +02:00