1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-13 04:02:29 +00:00

Fix resources sentiment-basic

This commit is contained in:
J. Fernando Sánchez 2018-06-20 12:29:01 +02:00
parent 48ba936a7b
commit dbc238989b
2 changed files with 1 additions and 4 deletions

View File

@ -35,9 +35,6 @@ push:
stage: push
script:
- make -e docker-push
only:
- master
- fix-makefiles
deploy:
stage: deploy

View File

@ -34,7 +34,7 @@ class SentimentBasic(SentimentPlugin):
pos_path = "unigram_spanish.pickle"
maxPolarityValue = 1
minPolarityValue = -1
nltk_resources = ['punkt','wordnet']
nltk_resources = ['punkt','wordnet', 'omw']
def _load_swn(self):
self.swn_path = self.find_file(self.sentiword_path)