From c6adccab151c6e86fd411894a1224e94ff21d692 Mon Sep 17 00:00:00 2001 From: amir-zeldes Date: Tue, 15 Mar 2022 16:17:49 -0400 Subject: [PATCH 1/2] add conllu requirement --- hebpipe/lib/_version.py | 2 +- requirements.txt | 3 ++- setup.py | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hebpipe/lib/_version.py b/hebpipe/lib/_version.py index 6694d63..62a5405 100644 --- a/hebpipe/lib/_version.py +++ b/hebpipe/lib/_version.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -__version__ = "2.0.0.0" +__version__ = "2.0.0.1" __author__ = "Amir Zeldes" __copyright__ = "Copyright 2018-2022, Amir Zeldes" __license__ = "Apache 2.0 License" diff --git a/requirements.txt b/requirements.txt index 847c54a..08f234b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,5 @@ joblib xmltodict diaparser flair==0.6.1 -stanza \ No newline at end of file +stanza +conllu \ No newline at end of file diff --git a/setup.py b/setup.py index f1cafc8..8eb1d24 100644 --- a/setup.py +++ b/setup.py @@ -3,16 +3,16 @@ setup( name = 'hebpipe', packages = find_packages(), - version = '2.0.0.0', + version = '2.0.0.1', description = 'A pipeline for Hebrew NLP', author = 'Amir Zeldes', author_email = 'amir.zeldes@georgetown.edu', package_data = {'':['README.md','LICENSE.md','requirements.txt'],'hebpipe':['lib/*','data/*','bin/*','models/models_go_here.txt']}, install_requires=['numpy','pandas','scipy','joblib','xgboost==0.81','rftokenizer','depedit','xmltodict', - 'diaparser','flair==0.6.1','stanza'], + 'diaparser','flair==0.6.1','stanza','conllu'], url = 'https://github.com/amir-zeldes/HebPipe', license='Apache License, Version 2.0', - download_url = 'https://github.com/amir-zeldes/HebPipe/releases/tag/v2.0.0.0', + download_url = 'https://github.com/amir-zeldes/HebPipe/releases/tag/v2.0.0.1', keywords = ['NLP', 'Hebrew', 'segmentation', 'tokenization', 'tagging', 'parsing','morphology','POS','lemmatization'], classifiers = ['Programming Language :: Python', 'Programming Language :: Python :: 2', From 020e82a2c5ddbad526d683971d129953d1ebbaf4 Mon Sep 17 00:00:00 2001 From: amir-zeldes Date: Tue, 15 Mar 2022 16:30:31 -0400 Subject: [PATCH 2/2] stanza model path --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8eb1d24..0190c3f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ description = 'A pipeline for Hebrew NLP', author = 'Amir Zeldes', author_email = 'amir.zeldes@georgetown.edu', - package_data = {'':['README.md','LICENSE.md','requirements.txt'],'hebpipe':['lib/*','data/*','bin/*','models/models_go_here.txt']}, + package_data = {'':['README.md','LICENSE.md','requirements.txt'],'hebpipe':['lib/*','data/*','bin/*','models/models_go_here.txt','models/stanza/stanza_models_here.txt']}, install_requires=['numpy','pandas','scipy','joblib','xgboost==0.81','rftokenizer','depedit','xmltodict', 'diaparser','flair==0.6.1','stanza','conllu'], url = 'https://github.com/amir-zeldes/HebPipe',