Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
61181db1
Commit
61181db1
authored
Jun 18, 2018
by
J. Fernando Sánchez
Browse files
Fix sentiment140 plugin
parent
a1663a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
senpy/plugins/sentiment/sentiment140/sentiment140_plugin.py
View file @
61181db1
...
@@ -48,7 +48,6 @@ class Sentiment140(SentimentPlugin):
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment