mosesdecoder/moses/src/RuleTable/LoaderHiero.h

34 lines
800 B
C
Raw Normal View History

//
// RuleTableLoaderHiero.h
// moses
//
// Created by Hieu Hoang on 04/11/2011.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#ifndef moses_RuleTableLoaderHiero_h
#define moses_RuleTableLoaderHiero_h
#include "RuleTable/LoaderStandard.h"
namespace Moses {
2012-06-29 02:29:46 +04:00
//! specific implementation of SCFG loader to load rule tables formatted in Hiero-style format
class RuleTableLoaderHiero : public RuleTableLoaderStandard
{
public:
bool Load(const std::vector<FactorType> &input,
const std::vector<FactorType> &output,
2012-10-14 23:52:12 +04:00
const std::string &inFile,
const std::vector<float> &weight,
size_t tableLimit,
const LMList &languageModels,
const WordPenaltyProducer* wpProducer,
RuleTableTrie &);
};
}
#endif