1.0.0-beta.3 (2020-03-10)
New features
- Introduced
TextAnalyticsPagedFlux
,TextAnalyticsPagedIterable
, andTextAnalyticsPagedResponse
type. MovedmodelVersion
amdTextDocumentBatchStatistics
intoTextAnalyticsPagedResponse
. All collection APIs are returnTextAnalyticsPagedFlux
andTextAnalyticsPagedIterable
in the asynchronous and synchronous client, respectively. SoDocumentResultCollection
is no longer required. Most of existing API surface are changes. Please check upTextAnalyticsAsyncClient
andTextAnalyticsClient
for more detail. - Introduced
EntityCategory
class to support major entity categories that the service supported. - Added
getDefaultCountryHint()
,getDefaultLanguage()
andgetServiceVersion()
toTextAnalyticsClient
Breaking changes
- Supported
Iterable<T>
instead ofList<T>
text inputs. - Default language and country hint can only be assigned value when building a Text Analytics client.
- Renamed
showStatistics()
toisIncludeStatistics()
in theTextAnalyticsRequestOptions
. - Renamed
getErrorCodeValue()
togetCode()
in theTextAnalyticsException
. - Renamed
getOffset()
,getLength()
andgetScore()
togetGraphemeOffset()
,getGraphemeLength
andgetConfidenceScore()
inCategorizedEntity
,LinkedEntityMatch
,PiiEntity
. - Renamed
SentimentLabel
toTextSentiment
class. - Renamed
SentimentScorePerLabel
toSentimentConfidenceScores
class. - Renamed
getCharacterCount()
togetGraphemeCount()
in theTextDocumentStatistics
. - Removed
InnerError
,DocumentResultCollection
andTextAnalyticsClientOptions
class.