diff --git a/README.md b/README.md index 5fb02a1f02d7909a727eba8f476e37f377e5fcbb..6c267bdb6a404dfd837fa8710963f775b59d55e6 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 308e9e4a6e5daabe056f2e6a84ae17ed1dd8fa16..39f449a46a10ac9720943fe659faa60f412cafcc 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 61426058a9b8369ac3eb4cdf5ca2711032c15f45..695704fe24f675f97c468c5c6c72829131eb0c1b 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 a5680e76bb7f34702d83dc7a67cd4f5503a93b6f..8dc83678d24cbe7932a01b0a7b319773fe87d481 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,