take the large spacy model

This commit is contained in:
rnsrk 2023-03-17 21:25:44 +01:00
parent bc842244c7
commit 8d9a7fa603

View file

@ -154,7 +154,7 @@ def countWords(concatedToots: str, number: int) -> list:
list
List containing tuple of word and word frequency.
"""
nlp = spacy.load('en_core_web_md')
nlp = spacy.load('en_core_web_lg')
doc = nlp(concatedToots)
# noun tokens that arent stop words or punctuations