5.1.0-beta.1 (2020-09-17)
- We are now targeting the service's v3.1-preview.2 API as the default instead of v3.0.
- We now have added support for opinion mining feature of Sentiment Analysis. To get this support, pass
includeOpinionMining
as True when calling theanalyzeSentiment
endpoint. - We have added the
recognizePiiEntities
API which returns entities containing personal information for a batch of documents and also returns the redacted text. - The
length
andoffset
properties are added to theSentenceSentiment
,Entity
,Match
,PiiEntity
andCategorizedEntity
interfaces to represent the length of the sentence's text and its offset from the start of the document. The unit of distance used is UTF-16 code points. - The
text
property of theSentenceSentiment
interface is no longer marked as optional because the service has always returned it. This interface is used exclusively as an output type so this change does not break existing code. bingEntitySearchApiId
property is now returned for entities returned byrecognizeLinkedEntities
API and is added to theLinkedEntity
interface. This property is to be used in conjunction with the Bing Entity Search API to fetch additional relevant information about the returned entity.