5.1.0b1 (2020-09-17)
New features
- We are now targeting the service's v3.1-preview API as the default. If you would like to still use version v3.0 of the service,
pass inv3.0
to the kwargapi_version
when creating your TextAnalyticsClient - We have added an API
recognize_pii_entities
which returns entities containing personally identifiable information for a batch of documents. Only available for API version v3.1-preview and up. - Added
offset
andlength
properties forCategorizedEntity
,SentenceSentiment
, andLinkedEntityMatch
. These properties are only available for API versions v3.1-preview and up.length
is the number of characters in the text of these modelsoffset
is the offset of the text from the start of the document
- We now have added support for opinion mining. To use this feature, you need to make sure you are using the service's
v3.1-preview API. To get this support passshow_opinion_mining
as True when calling theanalyze_sentiment
endpoint - Add property
bing_entity_search_api_id
to theLinkedEntity
class. This property is only available for v3.1-preview and up, and it is to be
used in conjunction with the Bing Entity Search API to fetch additional relevant information about the returned entity.