Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SHyperedge.h « Syntax « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd19f27c8321ba86eb7b0340d4f6f9e5b92a7a6f (plain)
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
#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