Skip to content

Instantly share code, notes, and snippets.

@erichare
Created July 14, 2022 14:22
Show Gist options
  • Save erichare/7eee8e643f87ea119d82919b95cff330 to your computer and use it in GitHub Desktop.
Save erichare/7eee8e643f87ea119d82919b95cff330 to your computer and use it in GitHub Desktop.
Interface with the Daisi for Sentiment Analysis
import pydaisi as pyd
sentiment_analysis = pyd.Daisi("erichare/Sentiment Analysis")
sentiment_analysis.get_sentiment("I am so happy").value
sentiment_analysis.get_sentiment(["I am so happy", "Actually, I'm not sure", "I'm pretty upset"]).value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment