mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
28 lines
464 B
C
28 lines
464 B
C
|
#pragma once
|
||
|
|
||
|
#include <vector>
|
||
|
#include <string>
|
||
|
|
||
|
#include "Forest.h"
|
||
|
|
||
|
namespace MosesTraining
|
||
|
{
|
||
|
namespace Syntax
|
||
|
{
|
||
|
namespace PostprocessEgretForests
|
||
|
{
|
||
|
|
||
|
struct SplitPoint {
|
||
|
int tokenPos;
|
||
|
int charPos;
|
||
|
std::string connector;
|
||
|
};
|
||
|
|
||
|
void MarkSplitPoints(const std::vector<SplitPoint> &, Forest &);
|
||
|
|
||
|
void MarkSplitPoints(const std::vector<SplitPoint> &, std::string &);
|
||
|
|
||
|
} // namespace PostprocessEgretForests
|
||
|
} // namespace Syntax
|
||
|
} // namespace MosesTraining
|