mosesdecoder/moses/TranslationOptionCollectionConfusionNet.h

26 lines
635 B
C
Raw Normal View History

// $Id$
#ifndef moses_TranslationOptionCollectionConfusionNet_h
#define moses_TranslationOptionCollectionConfusionNet_h
#include "TranslationOptionCollection.h"
namespace Moses
{
class ConfusionNet;
2012-06-29 02:29:46 +04:00
/** Holds all translation options, for all spans, of a particular confusion network input
* Inherited from TranslationOptionCollection.
*/
class TranslationOptionCollectionConfusionNet : public TranslationOptionCollection
{
public:
2013-05-11 17:13:26 +04:00
TranslationOptionCollectionConfusionNet(const ConfusionNet &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold);
void ProcessUnknownWord(size_t sourcePos);
};
}
#endif