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