| # Core dependencies |
| gradio>=4.0.0 |
| pandas>=1.5.0 |
| numpy>=1.21.0 |
|
|
| # YAKE keyword extraction |
| yake>=0.4.8 |
|
|
| # RAKE keyword extraction |
| rake-nltk>=1.0.6 |
| nltk==3.8.1 |
|
|
| # For TF-IDF and TextRank helpers |
| scikit-learn>=1.0.0 |
| networkx>=2.8 |
|
|
| # pke: the paper's keyphrase methods (TopicRank, MultipartiteRank, PositionRank, TextRank) |
| git+https://github.com/boudinfl/pke.git |
| spacy>=3.7,<3.8 |
|
|
| # spaCy model installed as a wheel (do NOT rely on `python -m spacy download` on Spaces) |
| en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl |