diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-26 21:49:45 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-26 21:49:45 +0000 |
commit | 6ddaff1341e565dd91dca7ea763d0ea4d897f4c7 (patch) | |
tree | 884fe1de5075cfaf6897b3b31b51586c1a0cb09a /extools/sentence_pair.h | |
parent | 81e37133c966e8de993ec922b0008c405b29fe02 (diff) |
some experimental stuff
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@625 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'extools/sentence_pair.h')
-rw-r--r-- | extools/sentence_pair.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); }; |