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:
Diffstat (limited to 'moses/src/TargetPhrase.cpp')
-rw-r--r--moses/src/TargetPhrase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/src/TargetPhrase.cpp b/moses/src/TargetPhrase.cpp
index 84afbc2db..e5eaac809 100644
--- a/moses/src/TargetPhrase.cpp
+++ b/moses/src/TargetPhrase.cpp
@@ -40,8 +40,8 @@ using namespace std;
namespace Moses
{
-TargetPhrase::TargetPhrase(FactorDirection direction, std::string out_string)
- :Phrase(direction, 0),m_transScore(0.0), m_fullScore(0.0), m_sourcePhrase(0)
+TargetPhrase::TargetPhrase( std::string out_string)
+ :Phrase(0),m_transScore(0.0), m_fullScore(0.0), m_sourcePhrase(0)
, m_alignmentInfo(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo())
{
@@ -51,8 +51,8 @@ TargetPhrase::TargetPhrase(FactorDirection direction, std::string out_string)
}
-TargetPhrase::TargetPhrase(FactorDirection direction)
- :Phrase(direction, ARRAY_SIZE_INCR)
+TargetPhrase::TargetPhrase()
+ :Phrase(ARRAY_SIZE_INCR)
, m_transScore(0.0)
, m_fullScore(0.0)
, m_sourcePhrase(0)