From dbc238989b76f6ac080dcbb3a5b64897a067b55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Wed, 20 Jun 2018 12:29:01 +0200 Subject: [PATCH] Fix resources sentiment-basic --- .gitlab-ci.yml | 3 --- sentiment-basic/sentiment-basic.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d48f52c..f4464d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,9 +35,6 @@ push: stage: push script: - make -e docker-push - only: - - master - - fix-makefiles deploy: stage: deploy diff --git a/sentiment-basic/sentiment-basic.py b/sentiment-basic/sentiment-basic.py index c62e4f4..1883ed8 100644 --- a/sentiment-basic/sentiment-basic.py +++ b/sentiment-basic/sentiment-basic.py @@ -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)