Spaces:
Runtime error
Runtime error
Commit
·
4d6cc44
1
Parent(s):
799ebd6
Update comparativesIdentification.py
Browse files
comparativesIdentification.py
CHANGED
@@ -6,8 +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"])
|
13 |
|
|
|
6 |
|
7 |
from sklearn.metrics.pairwise import cosine_similarity
|
8 |
|
|
|
|
|
9 |
# 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
|
10 |
nlp_comparatives = spacy.load('en_core_web_sm', disable=["parser", "ner"])
|
11 |
|