mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h
2013-05-29 18:16:15 +01:00

32 lines
651 B
C++

//
// 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 "LoaderStandard.h"
namespace Moses
{
//! 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,
const std::string &inFile,
size_t tableLimit,
RuleTableTrie &);
};
}
#endif