What's Love Got To Do With It? Ruby and Sentiment Analysis
summary
Shows a concrete pipeline: a Ruby app that fetches headlines via News API, sends the concatenated text to IBM Watson NLU for sentiment and emotion scoring, and replies over WhatsApp using the Nexmo Messages API. Demonstrates responses like document sentiment and emotion percentages (example sentence returns ~97% positive, demo returns ~70% joy for “Ruby”), notes free‑tier/API keys and region‑bound Watson URL, and the prototype runs end‑to‑end in the live demo.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:46Why does this matter
- 7:10Sentiment Analysis
- 10:59Polarity
- 16:19APIs
- 17:24Gem File
- 18:07Routes
- 19:15Environment variables
- 19:30News controller
- 25:33Get headlines
- 27:20Send the message
- 28:56Give it a go
related talks
38mWhat's Love Got To Do With It?...
31mSyntax Isn't Everything: NLP For Rubyists
46mPractical Machine Learning and Rails
33mSyntax Isn't Everything: NLP for Rubyists
39mNatural Language Processing with Ruby
39mSentiment Analysis, its techniques and applications
43mSentiment Analysis in Action: Building Your Real-time Pipeline
38mMachine Learning for Poets: The eMiLy App
