Syntax Isn't Everything: NLP for Rubyists
summary
Live demo shows using Cloud Natural Language via the google-cloud-language gem to pull tweets, compute sentiment (score -1..1 and magnitude) and extract syntax tokens; code builds ASCII and graph diagrams (graph dot files) of dependency trees, runs on a Kubernetes pipeline ingesting a conference hashtag, and handles ~5k free API calls/month; Jabberwocky syntax parses correctly and emoji-based hacks are abandoned for the pre-trained model which mostly succeeds but still mis-parses malformed sentences and relies on probabilistic guesses.
AI-written summary · about
chapters (24)
- 0:00Start
- 0:54Google Cloud Platform
- 3:31Better User Experience
- 5:15Accessibility
- 6:00Improved Understanding
- 7:41Seal
- 8:39English is Horrible
- 10:06You look freezing.
- 11:09Sure, I'd love to.
- 13:01The Turing Test
- 13:47ELIZA
- 15:18Chat Bots
- 17:26gem install google-cloud language
- 18:31Hand Wave
- 18:54Demo
- 20:34Side Quest!!!! Grammar 101
- 20:48Parts of Speech
- 21:36Adjective
- 21:49Attributes
- 22:33Parts of a Sentence
- 22:52The cat eats fish.
- 23:02Side Quest Complete
- 28:25Silly Examples
- 30:03Questions?








