Analyze text with Google NLP: sentiment, emotion, named entities, entity salience, content categories, moderation categories, syntax, and all-in-one annotation. Supports multilingual text analytics for documents, reviews, tickets, and articles.
Use for sentiment analysis, opinion mining, entity extraction, content classification, moderation triage, support ticket routing, review analytics, article tagging, syntax analysis, document annotation, and multilingual text intelligence.
| Method | Path |
|---|---|
| POST | v2/documents:analyzeEntities Finds named entities (currently proper names and common nouns) in the text along with entity types, probability, mentions for each entity, and other properties. |
| POST | v2/documents:analyzeSentiment Analyzes the sentiment of the provided text. |
| POST | v2/documents:annotateText A convenience method that provides all features in one call. |
| POST | v2/documents:classifyText Classifies a document into categories. |
| POST | v2/documents:moderateText Moderates a document for harmful and sensitive categories. |