1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Fix sentiment140 plugin

This commit is contained in:
J. Fernando Sánchez 2018-06-18 17:43:10 +02:00
parent a1663a3f31
commit 61181db199

View File

@ -48,7 +48,6 @@ class Sentiment140(SentimentPlugin):
marl__hasPolarity=polarity, marl__hasPolarity=polarity,
marl__polarityValue=polarity_value) marl__polarityValue=polarity_value)
sentiment.prov__wasGeneratedBy = self.id sentiment.prov__wasGeneratedBy = self.id
entry.sentiments = []
entry.sentiments.append(sentiment) entry.sentiments.append(sentiment)
entry.language = lang entry.language = lang
yield entry yield entry