mosesdecoder/moses/TranslationModel/RuleTable/LoaderHiero.h

31 lines
651 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
2012-11-12 23:56:18 +04:00
#include "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,
size_t tableLimit,
RuleTableTrie &);
};
}
#endif