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:
@@ -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:
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user