diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index bb43f21..a0029b2 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -22,7 +22,7 @@ jobs: - run: | conda create -n dackar_libs python=3.11 conda init bash && source ~/.bashrc && conda activate dackar_libs - pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy scikit-learn pyspellchecker contextualSpellCheck pandas + pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn pyspellchecker contextualSpellCheck pandas python3 -m spacy download en_core_web_lg python3 -m coreferee install en python3 -m nltk.downloader all diff --git a/README.md b/README.md index 018fada..56894a0 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ open your brower to: http://localhost:8000 conda activate dackar_libs - pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy scikit-learn pyspellchecker contextualSpellCheck pandas + pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy=1.26 scikit-learn pyspellchecker contextualSpellCheck pandas ``` - Download language model from spacy (can not use INL network) @@ -126,7 +126,7 @@ For this project, the users can also try the following steps: ```bash conda create -n nlp_libs python=3.9 conda activate nlp_libs - pip install spacy==3.1 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy scikit-learn==1.2.2 pyspellchecker + pip install spacy==3.1 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn==1.2.2 pyspellchecker ``` **scikit-learn 1.2.2 is required for quantulum3** diff --git a/docs/conf.py b/docs/conf.py index a22b8e9..c495585 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,7 +15,7 @@ # sys.path.insert(0, os.path.abspath('../src')) # from dackar import __version__ -__version__ = 0.1 +__version__ = '0.1' # -- Project information ----------------------------------------------------- diff --git a/docs/install_spacy3.5.rst b/docs/install_spacy3.5.rst index 12ca699..d3626ac 100644 --- a/docs/install_spacy3.5.rst +++ b/docs/install_spacy3.5.rst @@ -11,7 +11,7 @@ How to install dependency libraries conda activate dackar_libs - pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy scikit-learn pyspellchecker contextualSpellCheck pandas + pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy=1.26 scikit-learn pyspellchecker contextualSpellCheck pandas .. conda install -c conda-forge pandas .. scikit-learn 1.2.2 is required for quantulum3