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 | 649a4ea65e78193876d7cb5f387ef775362bfea0 (patch) | |
tree | f737bd5bb0fe8a24fdbd82872c4b4851bfc33c09 /extools/sentence_pair.h | |
parent | 2484876aaf430b479ee5aa71bda7e812fa61430f (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); }; |