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 'moses2/PhraseBased/SentenceWithCandidates.h')
-rw-r--r--moses2/PhraseBased/SentenceWithCandidates.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/moses2/PhraseBased/SentenceWithCandidates.h b/moses2/PhraseBased/SentenceWithCandidates.h
index 114ff9e67..fb550d577 100644
--- a/moses2/PhraseBased/SentenceWithCandidates.h
+++ b/moses2/PhraseBased/SentenceWithCandidates.h
@@ -29,12 +29,13 @@ public:
static SentenceWithCandidates *CreateFromString(MemPool &pool, FactorCollection &vocab,
const System &system, const std::string &str);
- SentenceWithCandidates(MemPool &pool, size_t size)
- :Sentence(pool, size)
- {}
+ SentenceWithCandidates(MemPool &pool, size_t size);
+ virtual ~SentenceWithCandidates();
- virtual ~SentenceWithCandidates()
- {}
+ virtual std::string Debug(const System &system) const;
+ std::string virtual getPhraseTableString() const{
+ return m_phraseTableString;
+ }
private:
std::string m_phraseTableString;