mosesdecoder/moses/Syntax/T2S/InputTreeToForest.h
Phil Williams ac8f01bc3d Partial merge of t2s branch (implements t2s and f2s algorithms)
Implements search algorithms 7, 8, and 9:

-search-algorithm 7
  tree-to-string (STSG-based, currently a special-case of forest-to-string)

-search-algorithm 8
  tree-to-string (SCFG-based)

-search-algorithm 9
  forest-to-string (STSG-based)
2015-02-02 17:07:54 +00:00

20 lines
298 B
C++

#pragma once
#include "moses/Syntax/F2S/Forest.h"
#include "InputTree.h"
namespace Moses
{
namespace Syntax
{
namespace T2S
{
// Constructs a F2S::Forest given a T2S::InputTree.
const F2S::Forest::Vertex *InputTreeToForest(const InputTree &, F2S::Forest &);
} // T2S
} // Syntax
} // Moses