andrewtavis / kwx

BERT, LDA, and TFIDF based keyword extraction in Python
BSD 3-Clause "New" or "Revised" License
69 stars 10 forks source link

Edit spaCy loading based on version #47

Open andrewtavis opened 2 years ago

andrewtavis commented 2 years ago

spaCy has new loading mechanisms in the later versions that produce errors in data preparation within kwx.utils. The scripts should be changed to check the spaCy version so that these changes are accounted for and errors are produced.

cicada0007 commented 1 year ago

Hi @andrewtavis 👋

I have gone through the utils.py and changed as you suggested Thank you

andrewtavis commented 1 year ago

Thank you, @cicada0007! I’ll get to reviewing this later in the week :) First glances look good though!