Skip to content

Commit

Permalink
Merge pull request #44 from amir-zeldes/develop
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
amir-zeldes authored May 2, 2024
2 parents e78cb84 + 6e32739 commit 4a84603
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions depedit/depedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import io
from six import iteritems, iterkeys

__version__ = "3.4.0.0"
__version__ = "3.4.0.1"

ALIASES = {"form":"text","upostag":"pos","xpostag":"cpos","feats":"morph","deprel":"func","deps":"head2","misc":"func2",
"xpos": "cpos","upos":"pos"}
Expand Down Expand Up @@ -996,7 +996,7 @@ def execute_action(self, result_sets, action_list, transformation):
new_vals_keys[this_key].add(this_val)
if old_val != "_" and isinstance(old_val,str): # Some values already exist
kv = []
for ov in sorted(old_val.split("|")):
for ov in sorted(old_val.split("|")+new_vals):
this_key, this_val = ov.split("=")
if this_key not in new_vals_keys: # Else this needs to be overwritten
kv.append(ov)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
setup(
name = 'depedit',
packages = ['depedit'],
version = '3.4.0.0',
version = '3.4.0.1',
description = 'A simple configurable tool for manipulating dependency trees',
author = 'Amir Zeldes',
author_email = '[email protected]',
url = 'https://github.com/amir-zeldes/depedit',
install_requires=["six"],
license='Apache License, Version 2.0',
download_url = 'https://github.com/amir-zeldes/depedit/releases/tag/3.4.0.0',
download_url = 'https://github.com/amir-zeldes/depedit/releases/tag/3.4.0.1',
keywords = ['NLP', 'parsing', 'syntax', 'dependencies', 'dependency', 'tree', 'treebank', 'conll', 'conllu', 'ud', 'enhanced'],
classifiers = ['Programming Language :: Python',
'Programming Language :: Python :: 2',
Expand Down

0 comments on commit 4a84603

Please sign in to comment.