mosesdecoder/moses/TranslationOptionCollectionConfusionNet.h
2012-11-12 19:56:18 +00:00

27 lines
693 B
C++

// $Id$
#ifndef moses_TranslationOptionCollectionConfusionNet_h
#define moses_TranslationOptionCollectionConfusionNet_h
#include "TranslationOptionCollection.h"
namespace Moses
{
class ConfusionNet;
class TranslationSystem;
/** Holds all translation options, for all spans, of a particular confusion network input
* Inherited from TranslationOptionCollection.
*/
class TranslationOptionCollectionConfusionNet : public TranslationOptionCollection
{
public:
TranslationOptionCollectionConfusionNet(const TranslationSystem* system, const ConfusionNet &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold);
void ProcessUnknownWord(size_t sourcePos);
};
}
#endif