From c14dfb84496d23eaecf3f0600be1ac4d7f9d33fe Mon Sep 17 00:00:00 2001 From: Lukasz Pszenny <lpszenny@hotmail.com> Date: Mon, 8 May 2023 15:44:50 +0200 Subject: [PATCH] Release 1.0.7 --- README.md | 2 +- combo/data/api.py | 2 +- docs/installation.md | 6 +++--- setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5fb02a1..6c267bd 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Clone this repository and install COMBO (we suggest creating a virtualenv/conda environment with Python 3.6+, as a bundle of required packages will be installed): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.6 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.7 ``` For Python 3.9 you may also need to install cython: ```bash diff --git a/combo/data/api.py b/combo/data/api.py index 308e9e4..39f449a 100644 --- a/combo/data/api.py +++ b/combo/data/api.py @@ -48,7 +48,7 @@ class _TokenList(conllu.TokenList): return 'TokenList<' + ', '.join(token['token'] for token in self) + '>' -def sentence2conllu(sentence: Sentence, keep_semrel: bool = True) -> conllu.TokenList: +def sentence2conllu(sentence: Sentence, keep_semrel: bool = False) -> conllu.TokenList: tokens = [] for token in sentence.tokens: token_dict = collections.OrderedDict(dataclasses.asdict(token)) diff --git a/docs/installation.md b/docs/installation.md index 6142605..695704f 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -2,7 +2,7 @@ Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+): ```bash pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.6 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.7 combo --helpfull ``` @@ -11,7 +11,7 @@ combo --helpfull python -m venv venv source venv/bin/activate pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.6 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.7 ``` ### Conda example: @@ -19,7 +19,7 @@ pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.6 conda create -n combo python=3.8 conda activate combo pip install -U pip setuptools wheel -pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.6 +pip install --index-url https://pypi.clarin-pl.eu/simple combo==1.0.7 ``` ## Problems & solutions diff --git a/setup.py b/setup.py index a5680e7..8dc8367 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ REQUIREMENTS = [ setup( name='combo', - version='1.0.6', + version='1.0.7', author='Mateusz Klimaszewski', author_email='M.Klimaszewski@ii.pw.edu.pl', install_requires=REQUIREMENTS, -- GitLab