Spaces:
Runtime error
Runtime error
Commit
·
e31a276
1
Parent(s):
8b070c3
Update comparativesIdentification.py
Browse files
comparativesIdentification.py
CHANGED
@@ -6,7 +6,6 @@ import numpy as np
|
|
6 |
|
7 |
from sklearn.metrics.pairwise import cosine_similarity
|
8 |
|
9 |
-
spacy.cli.download("en_core_web_sm")
|
10 |
|
11 |
# use spacy small because in that way we are closer to a BOW model which is the one we care in our case since we just compare words
|
12 |
nlp_comparatives = spacy.load('en_core_web_sm', disable=["parser", "ner"])
|
|
|
6 |
|
7 |
from sklearn.metrics.pairwise import cosine_similarity
|
8 |
|
|
|
9 |
|
10 |
# use spacy small because in that way we are closer to a BOW model which is the one we care in our case since we just compare words
|
11 |
nlp_comparatives = spacy.load('en_core_web_sm', disable=["parser", "ner"])
|