From 3f31261e9a5c90e2d6f094e32dfc5fc583943e79 Mon Sep 17 00:00:00 2001
From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl>
Date: Fri, 21 Jun 2013 14:35:10 +0200
Subject: [PATCH] fix setting par attr: use correct function name

---
 iobber/iobber_txt.py | 3 ++-
 setup.py             | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/iobber/iobber_txt.py b/iobber/iobber_txt.py
index 51775b0..a79df25 100755
--- a/iobber/iobber_txt.py
+++ b/iobber/iobber_txt.py
@@ -145,7 +145,8 @@ def main(files, tagger_config, tagger_dir, shall_chunk,
 				# prepare new paragraph: chunker will need AnnotatedSentence objects
 				new_par = corpus2.Chunk()
 				for attr_key in par.attributes():
-					new_par.set_attr(attr_key, par.get_attribute(attr_key))
+					new_par.set_attribute(
+						attr_key, par.get_attribute(attr_key))
 
 				for sent in par.sentences():
 					# let it be wrapped and cloned if necessary
diff --git a/setup.py b/setup.py
index 21b94b5..2f2abfc 100755
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
 from setuptools import setup
 
 setup(name='iobber',
-	version='1.1.0',
+	version='1.1.1',
 	description='Chunker for Slavic languages based on CRF++ and WCCL',
 	author= "Adam Radziszewski, Adam Pawlaczek",
 	author_email="adam.radziszewski@pwr.wroc.pl, adam@pawlaczek.eu",
-- 
GitLab