Commit 2d1025ee authored by Grzegorz Kostkowski's avatar Grzegorz Kostkowski

Version 0.7

parent 5c21c4cf
Pipeline #40 failed with stage
in 29 seconds
# Unreleased
## 0.7
### Changed
- ccl_emo now use latest version of package wosedon from PyPI
- fix bug with english emotion's structure
## 0.6
### Changed
- Add new graph resource with amb polarity
......
......@@ -134,7 +134,8 @@ class EmoGraph(ResourceI):
Otherwise: uses first available emotion component.
'''
def _get_emotion_component(comp_dict):
if lu_id: # for only one specified lex unit
is_emo_for_lus = isinstance(comp_dict, dict)
if lu_id and is_emo_for_lus: # for only one specified lex unit
component = comp_dict.get(lu_id, None)
if component:
if isinstance(component[0], tuple):
......
......@@ -17,7 +17,7 @@ setuptools.setup(
author='Arkadiusz Janz, Grzegorz Kostkowski',
description='''Tool for annotating *.ccl documents with emotions-related
annotations.''',
version='0.6',
version='0.7',
license='',
install_requires=requirements,
packages=[
......
Markdown is supported
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