mosesdecoder/contrib/other-builds/moses2/Sentence.h

35 lines
595 B
C
Raw Normal View History

2015-12-14 16:16:40 +03:00
/*
* Sentence.h
*
* Created on: 14 Dec 2015
* Author: hieu
*/
#ifndef SENTENCE_H_
#define SENTENCE_H_
#include <string>
#include "InputType.h"
#include "Phrase.h"
namespace Moses2
{
class FactorCollection;
class System;
class Sentence : public InputType, public PhraseImpl
{
public:
static Sentence *CreateFromString(MemPool &pool,
FactorCollection &vocab,
const System &system,
const std::string &str,
long translationId);
Sentence(long translationId, MemPool &pool, size_t size);
virtual ~Sentence();
};
} /* namespace Moses2 */
#endif /* SENTENCE_H_ */