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-11-11 20:07:45 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-11 20:07:45 +0300
commitf247e26fed78347cfcaeb8f82b8db6b50feff3f8 (patch)
treece29bcefd75605890ffbc90f0a0ccd1e869bcc6d /moses/Phrase.h
parentfbfe5890d13760a6610abaf2b1797dc1db5cc9f4 (diff)
More options refactoring (OOV Handling this time).
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r--moses/Phrase.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h
index fa9487e33..4842def97 100644
--- a/moses/Phrase.h
+++ b/moses/Phrase.h
@@ -35,6 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "util/string_piece.hh"
#include "util/exception.hh"
+#include "parameters/AllOptions.h"
namespace Moses
{
@@ -200,9 +201,12 @@ public:
Phrase GetSubString(const Range &range) const;
Phrase GetSubString(const Range &range, FactorType factorType) const;
- //! return a string rep of the phrase. Each factor is separated by the factor delimiter as specified in StaticData class
- std::string GetStringRep(const std::vector<FactorType> factorsToPrint) const;
-
+ //! return a string rep of the phrase;
+ // w/ factors delimited by FactorDelimiter
+ std::string
+ GetStringRep(std::vector<FactorType> const& factorsToPrint,
+ AllOptions const* opts=NULL) const;
+
TO_STRING();