mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
add SCFG::Manager
This commit is contained in:
parent
3d9bc30f15
commit
f7d430839d
34
contrib/other-builds/moses2/SCFG/Manager.cpp
Normal file
34
contrib/other-builds/moses2/SCFG/Manager.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Manager.cpp
|
||||
*
|
||||
* Created on: 23 Oct 2015
|
||||
* Author: hieu
|
||||
*/
|
||||
#include <boost/foreach.hpp>
|
||||
#include <vector>
|
||||
#include <sstream>
|
||||
#include "Manager.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Moses2
|
||||
{
|
||||
namespace SCFG
|
||||
{
|
||||
|
||||
Manager::Manager(System &sys, const TranslationTask &task, const std::string &inputStr, long translationId)
|
||||
:ManagerBase(sys, task, inputStr, translationId)
|
||||
{}
|
||||
|
||||
Manager::~Manager() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
void Manager::Decode()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
35
contrib/other-builds/moses2/SCFG/Manager.h
Normal file
35
contrib/other-builds/moses2/SCFG/Manager.h
Normal file
@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Manager.h
|
||||
*
|
||||
* Created on: 23 Oct 2015
|
||||
* Author: hieu
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <deque>
|
||||
#include "../Search/Manager.h"
|
||||
|
||||
namespace Moses2
|
||||
{
|
||||
|
||||
namespace SCFG
|
||||
{
|
||||
|
||||
class Manager : public Moses2::ManagerBase
|
||||
{
|
||||
public:
|
||||
Manager(System &sys, const TranslationTask &task, const std::string &inputStr, long translationId);
|
||||
|
||||
virtual ~Manager();
|
||||
void Decode();
|
||||
|
||||
protected:
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user