From 6ddaff1341e565dd91dca7ea763d0ea4d897f4c7 Mon Sep 17 00:00:00 2001 From: redpony Date: Thu, 26 Aug 2010 21:49:45 +0000 Subject: some experimental stuff git-svn-id: https://ws10smt.googlecode.com/svn/trunk@625 ec762483-ff6d-05da-a07a-a48fb63a330f --- extools/sentence_pair.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extools/sentence_pair.h') diff --git a/extools/sentence_pair.h b/extools/sentence_pair.h index b5a7ca93..a05275e7 100644 --- a/extools/sentence_pair.h +++ b/extools/sentence_pair.h @@ -29,11 +29,13 @@ struct AnnotatedParallelSentence { int f_len, e_len; + void Align(const short a, const short b); + void AllocateForAlignment(); + static int ReadAlignmentPoint(const char* buf, int start, int end, bool permit_col, short* a, short* b, short* c, short* d); private: void Reset(); - void AllocateForAlignment(); void ParseAlignmentPoint(const char* buf, int start, int end); void ParseSpanLabel(const char* buf, int start, int end); }; -- cgit v1.2.3