2008-06-11 14:52:57 +04:00
|
|
|
// $Id$
|
2010-02-24 14:15:44 +03:00
|
|
|
#ifndef moses_TranslationOptionCollectionConfusionNet_h
|
|
|
|
#define moses_TranslationOptionCollectionConfusionNet_h
|
2008-06-11 14:52:57 +04:00
|
|
|
|
|
|
|
#include "TranslationOptionCollection.h"
|
|
|
|
|
2008-10-09 03:51:26 +04:00
|
|
|
namespace Moses
|
|
|
|
{
|
|
|
|
|
2008-06-11 14:52:57 +04:00
|
|
|
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.
|
|
|
|
*/
|
2011-02-24 16:14:42 +03:00
|
|
|
class TranslationOptionCollectionConfusionNet : public TranslationOptionCollection
|
|
|
|
{
|
|
|
|
public:
|
2013-05-11 17:13:26 +04:00
|
|
|
TranslationOptionCollectionConfusionNet(const ConfusionNet &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold);
|
2008-06-11 14:52:57 +04:00
|
|
|
|
2011-02-24 16:14:42 +03:00
|
|
|
void ProcessUnknownWord(size_t sourcePos);
|
2008-06-11 14:52:57 +04:00
|
|
|
|
|
|
|
};
|
2008-10-09 03:51:26 +04:00
|
|
|
|
|
|
|
}
|
2010-02-24 14:15:44 +03:00
|
|
|
#endif
|