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

fix training: when overlapping chunks in training data, will use head...

fix training: when overlapping chunks in training data, will use head information only from the chunk really taken
parent 080830dc
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,7 @@ class Chunker:
else:
non_O_chan = chan_name
non_O_tag = there_iob
# add -H only when not overlapping
if chan.is_head_at(tok_idx):
non_O_chan += '-H'
# B-NP, I-VP etc. or O
......
......@@ -4,7 +4,7 @@
from setuptools import setup
setup(name='iobber',
version='1.1.1',
version='1.2.0',
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment