mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-14 12:42:27 +00:00
Fix resources sentiment-basic
This commit is contained in:
parent
48ba936a7b
commit
dbc238989b
@ -35,9 +35,6 @@ push:
|
|||||||
stage: push
|
stage: push
|
||||||
script:
|
script:
|
||||||
- make -e docker-push
|
- make -e docker-push
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- fix-makefiles
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
@ -34,7 +34,7 @@ class SentimentBasic(SentimentPlugin):
|
|||||||
pos_path = "unigram_spanish.pickle"
|
pos_path = "unigram_spanish.pickle"
|
||||||
maxPolarityValue = 1
|
maxPolarityValue = 1
|
||||||
minPolarityValue = -1
|
minPolarityValue = -1
|
||||||
nltk_resources = ['punkt','wordnet']
|
nltk_resources = ['punkt','wordnet', 'omw']
|
||||||
|
|
||||||
def _load_swn(self):
|
def _load_swn(self):
|
||||||
self.swn_path = self.find_file(self.sentiword_path)
|
self.swn_path = self.find_file(self.sentiword_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user