take the large spacy model
This commit is contained in:
parent
bc842244c7
commit
8d9a7fa603
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ def countWords(concatedToots: str, number: int) -> list:
|
||||||
list
|
list
|
||||||
List containing tuple of word and word frequency.
|
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)
|
doc = nlp(concatedToots)
|
||||||
|
|
||||||
# noun tokens that arent stop words or punctuations
|
# noun tokens that arent stop words or punctuations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue