File size: 300 Bytes
fd49381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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