Commit 61181db1 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez

Fix sentiment140 plugin

parent a1663a3f
......@@ -48,7 +48,6 @@ class Sentiment140(SentimentPlugin):
marl__hasPolarity=polarity,
marl__polarityValue=polarity_value)
sentiment.prov__wasGeneratedBy = self.id
entry.sentiments = []
entry.sentiments.append(sentiment)
entry.language = lang
yield entry
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment