Added Topic pages, added NER api endpoint, additional sentiment model
Added
- added
TopicPage
class. It can be used to create a topic by specifying keywords, concepts, sources, ... as well as their weights. You can specify a threshold and receive only articles and events that match enough specified conditions to reach the required weight. Alternatively, you can simply sort the results by relevance and get the top-ranked results that are most related to your topic page. SeeTopicPageExamples.py
file for examples on how to use the topic pages. - added named entity extraction endpoint to
Analytics
. CallAnalytics.ner(text)
to extract named entities.
Updated
- sentiment analysis now supports two models - vocabulary based as well as a model using neural networks. Choose the model by specifying the
method
parameter. Possible values for it arevocabulary
(vocabulary based sentiment analysis, default) orrnn
(neural networks based model).