- What is NLP?
- Deep Learning
- White Papers
AlchemyAPI provides the ability to extract keyword-level sentiment (positive/negative statements), in addition to performing document-level, user-targeted sentiment, directional sentiment, and entity-level sentiment analysis.
Sentiment analysis is the process of identifying positive or negative statements, feelings, and opinions within text.
Keyword-level sentiment output is disabled by default. Enabling this feature results in counting of one additional transaction against your daily API limit. To enable keyword-level sentiment analysis, you may utilize the following HTTP parameter with your API calls:
NOTE: Sentiment analysis is currently available for English and German-language content only. Support for outputting sentiment data for entities in other languages is currently in development.
When keyword-level sentiment analysis is enabled, sentiment data is included for every detected keyword within AlchemyAPI responses.
The following is an example XML-formatted response (for "Moammar Gadhafi"):
NOTE: Keyword-level sentiment analysis is supported within all AlchemyAPI response formats, including XML, JSON, and RDF.