Skip to content
Snippets Groups Projects
Commit 3f31261e authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

fix setting par attr: use correct function name

parent 8a52a5d1
No related merge requests found
......@@ -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
......
......@@ -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",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment