You are working on an NLP feature that needs to classify text by sentiment. Before choosing models or tooling, you need to explain the core ideas behind how sentiment analysis works and what a basic implementation looks like.
What are the basics of sentiment analysis?