Commit Graph

44 Commits

Author SHA1 Message Date
Ulrich Germann
bb6e0157aa Code cleanup and refactoring. 2015-12-13 22:31:43 +00:00
David Madl
e5a8438149 document @param lhs in Phrase::CreateFromString() 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
MosesAdmin
4168429aac daily automatic beautifier 2015-10-31 17:14:47 +00:00
Ulrich Germann
6a2e6feeed Context weights now live in the ContextScope, not any more on TranslationTask.
TargetPhrase now has weak ptr to ContextScope, not to TranslationTask any more,
because TargetPhrases can outlive the scope of a Translation Task.
2015-10-28 10:26:41 +00:00
MosesAdmin
ec8dbdb94a daily automatic beautifier 2015-10-27 00:00:59 +00:00
Ulrich Germann
8e1f21d38e Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-10-26 17:58:16 +00:00
Hieu Hoang
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Ulrich Germann
8ace1398eb Added GetTtask() and HasTtaskSPtr() to Phrase API; non-TargetPhrases never have a ttask associated with them, but we need to be able to check. 2015-10-23 21:49:09 +01:00
Hieu Hoang
f7839c42d5 beautify 2015-10-18 13:30:02 +01:00
Hieu Hoang
7a2d372df6 merge 2015-10-18 13:25:53 +01:00
Hieu Hoang
55698d15bc templatize Comparer for unordered maps/set 2015-10-18 01:02:38 +01:00
MosesAdmin
7e5fef7794 daily automatic beautifier 2015-10-18 00:00:38 +01:00
Hieu Hoang
563552aea6 clean up states after API change 2015-10-17 20:14:24 +01:00
Nicola Bertoldi
e4eb201c52 merged master into dynamic-models and solved conflicts 2014-12-13 12:52:47 +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
Ulrich Germann
004b8c9078 Changed Phrase.m_words from private to protected. 2014-06-05 01:41:50 +01:00
Ulrich Germann
9c27dc08e9 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts:
	moses/FF/ConstrainedDecoding.cpp
2014-06-03 18:55:53 +01:00
Ulrich Germann
249c40ec74 Eliminated factor delimiter from the parameters of
Phrase.CreateFromString() and Sentence.CreateFromString(),
as it was never used in those functions anyway ---
Word.CreateFromString() retrieves the factor delimiter
from StaticData directly.
2014-05-31 14:33:31 +01:00
Hieu Hoang
65a1e176e5 bugs in FF MaxSpanFreeNonTermSource 2014-05-16 16:16:20 +01:00
Nicola Bertoldi
20381cbf89 merged master into dynamic-models and solved conflicts 2014-04-28 19:18:38 +02:00
Hieu Hoang
9644a30858 add FF RuleAmbiguity 2014-04-11 10:22:03 +01:00
Nicola Bertoldi
bd83999264 beautify 2014-01-15 16:42:02 +01:00
Hieu Hoang
f13d0c8244 UTIL_THROW_IF -> UTIL_THROW_IF2 2013-11-22 20:27:46 +00:00
Hieu Hoang
22864c2b4b replace CHECK with UTIL_THROW_IF in Moses 2013-11-19 17:23:19 +00:00
Hieu Hoang
f4150c2494 faster compilation by taking some #includes from Word.h and Phrase.h 2013-10-04 15:40:23 +01:00
Hieu Hoang
476c6ea423 placeholder for chart decoding 2013-09-22 16:35:24 +02:00
Hieu Hoang
24f1760c05 add max-unknowns arg to ConstrainedDecoding FF 2013-09-18 15:47:49 +02:00
Hieu Hoang
21319acb88 implement ConstrainedDecoding FF 2013-09-17 03:13:32 +02:00
Hieu Hoang
af6b1f2b4e start on forced decoding for SCFG 2013-08-31 01:37:15 +01:00
Hieu Hoang
769f2fe00c start on forced decoding for SCFG 2013-08-30 17:45:56 +01:00
Kenneth Heafield
c4dc57f8a3 swap 2013-08-22 10:16:24 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
bce3b36170 Make Phrase::CreateFromString() more efficient 2013-05-22 12:28:32 +01:00
Hieu Hoang
112bcdc925 Make Phrase::CreateFromString() more efficient 2013-05-22 12:03:00 +01:00
Hieu Hoang
b448c6285a make scfg work with factored input. Strip factors from source that are not part of phrase-table input factors 2013-04-26 12:20:49 +01:00
Hieu Hoang
b1da4dbe0e merged 2013-04-19 15:03:34 +01:00
Hieu Hoang
51d34f2f96 delete Phrase::CreateFromStringNewFormat() 2013-03-08 22:04:28 +00:00
Hieu Hoang
9298402dcf merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat() 2013-03-08 19:10:28 +00:00
Hieu Hoang
d015ef2e62 merge Phrase::CreateFromString() and Phrase::CreateFromStringNewFormat() 2013-03-08 17:56:39 +00:00
Barry Haddow
ef87461d07 Interpolated phrase feature 2013-02-28 22:48:41 +00:00
Hieu Hoang
5e3ef23cef move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00