Text Classification
Natural language processing task: determining which of the given categories a text belongs to.
Examples
- spam / not spam;
- sentiment of a review (this is Sentiment Analysis);
- support ticket topic;
- language of the text.
How It Is Solved
Classic approach: embedding of text → classification model → label. Modern approach — LLM with an instruction to 'determine the category' and structured output. Quality is evaluated using metrics like F1 Score.