mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
26 lines
300 B
C++
26 lines
300 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "moses/Phrase.h"
|
|
|
|
#include "SLabel.h"
|
|
|
|
namespace Moses
|
|
{
|
|
namespace Syntax
|
|
{
|
|
|
|
struct SVertex;
|
|
|
|
struct SHyperedge {
|
|
SVertex *head;
|
|
std::vector<SVertex*> tail;
|
|
SLabel label;
|
|
};
|
|
|
|
Phrase GetOneBestTargetYield(const SHyperedge &h);
|
|
|
|
} // Syntax
|
|
} // Moses
|