diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-20 00:18:07 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-20 00:18:07 +0000 |
commit | 2b0ba6ca2e27b68b9358d350deff7645d3d2e324 (patch) | |
tree | 2317fc91e731f95700632f1da662a282acaba45c /extools/sentence_pair.cc | |
parent | f28e6d45671035d39dcfc25070c72f6e120032e1 (diff) |
tests compile
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@332 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'extools/sentence_pair.cc')
-rw-r--r-- | extools/sentence_pair.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extools/sentence_pair.cc b/extools/sentence_pair.cc index 4cbcc98e..55609db4 100644 --- a/extools/sentence_pair.cc +++ b/extools/sentence_pair.cc @@ -71,6 +71,7 @@ int AnnotatedParallelSentence::ReadAlignmentPoint(const char* buf, exit(1); } (*b) = 0; + //TODO: is this what is intended? parses as A && B || C && D. while(ch < end && (c == 0 && (!permit_col || (permit_col && buf[ch] != ':')) || c != 0 && buf[ch] != '-')) { if ((buf[ch] < '0') || (buf[ch] > '9')) { cerr << "Alignment point badly formed 4: " << string(buf, start, end-start) << endl << buf << endl << buf[ch] << endl; |