From ba7bb1cb3ffd226befbca8cf291a0ae842b02d4b Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 16 Jun 2021 10:45:20 +0200 Subject: [PATCH 1/3] requirements --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 52fdbe5b..ffec5897 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='hazm', - version='0.7.1', + version='0.7.1a', description='Python library for digesting Persian text.', author='Alireza Nourian', author_email='az.nourian@gmail.com', @@ -18,14 +18,14 @@ classifiers=[ 'Topic :: Text Processing', 'Natural Language :: Persian', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], - install_requires=['nltk==3.4', 'libwapiti>=0.2.1;platform_system!="Windows"'], + install_requires=['nltk>=3.4.5', 'libwapiti>=0.2.1;platform_system!="Windows"'], extras_require={'wapiti': ['libwapiti>=0.2.1']}, ) From 859ad078c4ab3e1e36914f5c1e14aafa529abe30 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 16 Jun 2021 10:51:09 +0200 Subject: [PATCH 2/3] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5f7ddee..8023939b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Python library for digesting Persian text. + Dependency parser + Interfaces for Persian corpora + [NLTK](http://nltk.org/) compatible -+ Python 2.7, 3.4, 3.5, 3.6, 3.7 and 3.8 support ++ Python 3.4, 3.5, 3.6, 3.7, 3.8 and 3.9 support + [![Build Status](https://api.travis-ci.org/sobhe/hazm.svg?branch=master)](https://travis-ci.org/sobhe/hazm) From a99c04f5b91769f42e3573ceeae89eb7e5e4d6b0 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 7 May 2024 14:20:04 +0200 Subject: [PATCH 3/3] relax numpy version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 999320e3..4f8fb553 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ python= ">=3.8, <3.12" nltk="^3.8.1" gensim="^4.3.1" python-crfsuite="^0.9.9" -numpy = "1.24.3" +numpy = "~1.24" scikit-learn = "^1.2.2" fasttext-wheel = "^0.9.2" flashtext = "^2.7"