JasonKessler / scattertext

Beautiful visualizations of how language differs among document types.
Apache License 2.0
2.23k stars 287 forks source link

Scattertext 0.1.8 requires spacy #118

Open synapticarbors opened 1 year ago

synapticarbors commented 1 year ago

With the addition of https://github.com/JasonKessler/scattertext/blob/master/scattertext/__init__.py#L148 into the __init__.py, spacy is now an explicit requirement, because of:

https://github.com/JasonKessler/scattertext/blob/master/scattertext/features/featoffsets/flexible_ngram_features.py#L4

The install requirements of the package should be updated to reflect this.

JasonKessler commented 1 year ago

Thanks for bringing this up and helping support Scattertext. I modified the installation requirements in setup.py to explicitly require spaCy>=3.2.