Added text analytics class; extraction of article links and sentiment
Added
- Added a class
Analytics
that can be used to semantically annotate a document, categorize the document into a predefined taxonomy of categories or to detect a language of a text. In future, more analytics methods will be added to this class. NOTE: the functionality is currently in BETA. The API calls or the provided outputs may change in the future. - Added property
links
into the output of the article format. It contains the list of URLs extracted from the article body (not from the whole HTML but just the part containing the body). - Added sentiment to the news articles. The
sentiment
property will be by default added to the output format for the article. It can benull
if the property is not set.
Removed
- Removed the flag
details
from all the*InfoFlags
that had it (ArticleInfoFlag
,SourceInfoFlag
, etc.). All the properties provided previously by this property are provided anyway using the other flags. - Removed the flag
flags
from all the*InfoFlags
. The flag represents some internal properties that are not publicly useful.