mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
26 lines
635 B
C++
26 lines
635 B
C++
// $Id$
|
|
#ifndef moses_TranslationOptionCollectionConfusionNet_h
|
|
#define moses_TranslationOptionCollectionConfusionNet_h
|
|
|
|
#include "TranslationOptionCollection.h"
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
class ConfusionNet;
|
|
|
|
/** Holds all translation options, for all spans, of a particular confusion network input
|
|
* Inherited from TranslationOptionCollection.
|
|
*/
|
|
class TranslationOptionCollectionConfusionNet : public TranslationOptionCollection
|
|
{
|
|
public:
|
|
TranslationOptionCollectionConfusionNet(const ConfusionNet &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold);
|
|
|
|
void ProcessUnknownWord(size_t sourcePos);
|
|
|
|
};
|
|
|
|
}
|
|
#endif
|