Last active
June 19, 2019 09:46
-
-
Save JustinaPetr/63e3e393fd407d59581b809bd0116c90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rasa.nlu.components import Component | |
class SentimentAnalyzer(Component): | |
"""A pre-trained sentiment component""" | |
name = "sentiment" | |
provides = ["entities"] | |
requires = ["tokens"] | |
defaults = {} | |
language_list = ["en"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment