Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-03-26 21:25:54 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-03-26 21:25:54 +0300
commit9dc75bfd8ad3092f08f7a6d2a6492323b7803e56 (patch)
treef13405e11bce5001e6718ae0089fdcf85d961c98 /moses/Sentence.h
parent4410e9225a5bd495fc6d097b206290beb59f4839 (diff)
Managers and feature functions now have access to the entire TranslationTask, not just the InputType.
Diffstat (limited to 'moses/Sentence.h')
-rw-r--r--moses/Sentence.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/Sentence.h b/moses/Sentence.h
index 8e7e934a6..fe3ac642e 100644
--- a/moses/Sentence.h
+++ b/moses/Sentence.h
@@ -63,7 +63,9 @@ namespace Moses
public:
Sentence();
- Sentence(size_t const transId, std::string const& stext);
+ Sentence(size_t const transId, std::string const& stext,
+ std::vector<FactorType> const* IFO = NULL);
+ // Sentence(size_t const transId, std::string const& stext);
~Sentence();
InputTypeEnum GetType() const {