From d110e79959593a548517654053ae1003ea80cb8b Mon Sep 17 00:00:00 2001
From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl>
Date: Thu, 19 Apr 2012 12:08:22 +0200
Subject: [PATCH] fix ann chan::iob from seg, failed on discontinuous chunks,
 now each cont part treated as separate chunk

---
 libcorpus2/ann/channel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcorpus2/ann/channel.cpp b/libcorpus2/ann/channel.cpp
index 581c9dd..c8be177 100644
--- a/libcorpus2/ann/channel.cpp
+++ b/libcorpus2/ann/channel.cpp
@@ -35,8 +35,8 @@ void AnnotationChannel::make_iob_from_segments()
 			iobs_[i] = IOB::I;
 		} else {
 			iobs_[i] = IOB::B;
-			prev_seg = segments_[i];
 		}
+		prev_seg = segments_[i];
 	}
 }
 
-- 
GitLab