Hieu Hoang
b8bc4a9fb6
use max_partial_trans_opt, not m_max_phrase_length
2016-03-28 23:58:06 +01:00
Ulrich Germann
65f4f1f92a
Code cleanup and refactoring.
2015-12-11 13:52:48 +00:00
Ulrich Germann
240b88c683
Passing around AllOptions or references thereto everywhere,
...
strong them locally where appropriate, so that compontents can
become independent of StaticData once instantiated.
2015-12-09 23:05:00 +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
Phil Williams
7375d81e16
Fix a few compiler warnings (clang)
2015-11-27 12:20:38 +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
Hieu Hoang
e0b4d1c8c7
beautify
2015-11-09 15:00:24 +00:00
Hieu Hoang
32e29d6b8a
Consistent naming: m_futureScore --> m_estimatedScore
2015-11-09 13:40:31 +00:00
Ulrich Germann
d773ad428e
More options cleanup.
2015-11-03 19:36:43 +00:00
Hieu Hoang
273ad667c2
Move square matrix init into class
2015-11-02 14:35:16 +00:00
Hieu Hoang
97b2aa5663
WordsRange -> Range
2015-10-25 13:37:59 +00:00
Ulrich Germann
bdb0227ee9
Life cycle of TargetPhraseCollection is now managed via shared pointers.
2015-10-18 21:27:58 +01:00
Hieu Hoang
978b0bbced
change InputFeature::Instance to return pointer, not ref. Strange segfault in OSX/clang
2015-10-16 13:01:32 +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
fcbfc5a535
Feature functions and the constructors of TranslationOptionCollections
...
now have access to the current translation task.
This was done to allow context-sensitive processing (if provided by the FF).
2015-03-30 01:20:17 +01:00
Ulrich Germann
ccf4cb838c
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
2015-03-09 01:27:02 +00:00
Ulrich Germann
c1d2313a66
Moved caching of lexical reordering scores from class TranslationOption to class TargetPhrase.
...
This was done so that phrase tables can add this information (if available) as extra annotation
to TargetPhrases, in preparation of providing lexical reordering models with sampling phrase tables.
2015-03-09 00:30:01 +00:00
Ales Tamchyna
9224779695
include scores of source-context features in topt collection verbose output
2015-03-06 13:44:38 +01:00
Hieu Hoang
32de075022
beautify
2015-02-19 12:27:23 +00:00
Ales Tamchyna
f6884c55a1
restoring broken evaluation of translation option list
2015-02-16 12:32:00 +01:00
Ulrich Germann
7843c94d1f
Code cleanup.
2015-02-10 01:17:28 +00:00
Ulrich Germann
be5799dca3
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
...
Conflicts:
moses/TranslationOptionCollection.cpp
moses/TranslationOptionCollectionLattice.cpp
moses/TranslationOptionCollectionLattice.h
moses/TranslationOptionList.h
2015-02-06 01:30:00 +00:00
Ulrich Germann
db013975b0
Code reorganization and code cleanup.
2015-02-05 23:06:25 +00:00
Hieu Hoang
05ead45e71
beautify
2015-01-14 11:07:42 +00:00
Hieu Hoang
cd7c6c2556
Merge branch 'master' of github.com:moses-smt/mosesdecoder
2015-01-09 22:32:28 +00:00
Hieu Hoang
be0ab92d16
delete oov pt
2015-01-09 22:32:08 +00:00
Marcin Junczys-Dowmunt
18691c19a3
second attempt at new feature hook, needs review of constness etc.
2015-01-06 13:56:13 +01:00
Nicola Bertoldi
e4eb201c52
merged master into dynamic-models and solved conflicts
2014-12-13 12:52:47 +01:00
Hieu Hoang
efa5befb16
method rename
2014-08-08 15:59:34 +01:00
Hieu Hoang
319bb3ccfa
method rename
2014-08-08 15:42:23 +01:00
Hieu Hoang
23f10cc73f
move notice about czech prefixes to share/README
2014-08-06 15:03:37 +01:00
Hieu Hoang
e863592f40
TargetPhrase to have pointer to the phrase table that creates it
2014-08-04 19:28:04 +01:00
Nicola Bertoldi
1fe4eb0528
beautify
2014-06-08 09:44:59 +02:00
Nicola Bertoldi
4d75c889f1
merged master into dynamic-models
2014-06-08 09:39:37 +02:00
Nicola Bertoldi
c07af1b2c0
code cleanup
2014-05-17 22:32:29 +02:00
Hieu Hoang
44fec57c53
backoff fix
2014-05-12 14:06:47 +01:00
Hieu Hoang
2beed771d2
minor error. Segfault if phrase length is bigger than max-phrase-length
2014-05-01 16:47:17 +01:00
Nicola Bertoldi
8d9bf2405d
adding debugging to verify speed; not robust
2014-02-16 19:42:56 +01:00
Nicola Bertoldi
bd83999264
beautify
2014-01-15 16:42:02 +01:00
phikoehn
073a601eb0
make good use of the new precise timer...
2014-01-03 18:45:31 +00:00
Hieu Hoang
ba209202ef
move all feature functions out of StaticData
2013-12-07 00:21:06 +00:00
Hieu Hoang
d3301fa1a3
move backoff parameter into decode graph class
2013-12-05 12:19:55 +00:00
Hieu Hoang
f13d0c8244
UTIL_THROW_IF -> UTIL_THROW_IF2
2013-11-22 20:27:46 +00:00
Hieu Hoang
a77e928628
replace CHECK with UTIL_THROW_IF in Moses
2013-11-20 11:59:36 +00:00
Hieu Hoang
17887a2796
replace nth_element() with macro that execute sort() instead for gcc 4.8.1 & 4.8.2
2013-11-15 10:55:38 +00:00
Hieu Hoang
f18e35c42a
correct creation of input paths for lattices
2013-10-03 18:58:45 +01:00