1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-24 02:22:20 +00:00

Addapted plugins to senpy 0.8.2

This commit is contained in:
militarpancho
2017-03-01 13:23:41 +01:00
parent 65b8873092
commit cc112c5ac5
10 changed files with 13 additions and 37 deletions

View File

@@ -113,7 +113,7 @@ class SentiTextPlugin(SentimentPlugin):
break
lang = params.get("language", "auto")
lang = params.get("language", "en")
p = params.get("prefix", None)
for i in scores:

View File

@@ -4,14 +4,6 @@
"description": "Sentiment classifier using rule-based classification for Spanish. Based on english to spanish translation and SentiWordNet sentiment knowledge. This is a demo plugin that uses only some features from the TASS 2015 classifier. To use the entirely functional classifier you can use the service in: http://senpy.cluster.gsi.dit.upm.es.",
"author": "github.com/nachtkatze",
"version": "0.1",
"extra_params": {
"language": {
"aliases": ["language", "l"],
"required": true,
"options": ["es"],
"default": "es"
}
},
"requirements": [
"nltk>=3.0.5",
"scipy>=0.14.0",