mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
27 lines
693 B
C++
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
|