1.0.0-beta.5 (2020-05-27)
New features
- Added Text property and
getText()
toSentenceSentiment
. Warnings
property added to each document-level response object returned from the endpoints. It is a list ofTextAnalyticsWarnings
.- Added
CategorizedEntityCollection
,KeyPhrasesCollection
,LinkedEntityCollection
for havinggetWarnings()
to retrieve warnings. - Added a new enum value
ADDRESS
toEntityCategory
. - Text analytics SDK update the service to version
v3.0
fromv3.0-preview.1
.
Breaking changes
- Removed pagination feature, which removed
TextAnalyticsPagedIterable
,TextAnalyticsPagedFlux
andTextAnalyticsPagedResponse
- Removed overload methods for API that takes a list of String, only keep max-overload API that has a list of String, language or country hint, and
TextAnalyticsRequestOption
. - Renamed
apiKey()
tocredential()
on TextAnalyticsClientBuilder. - Removed
getGraphemeLength()
andgetGraphemeOffset()
fromCategorizedEntity
,SentenceSentiment
, andLinkedEntityMatch
. getGraphemeCount()
inTextDocumentStatistics
has been renamed togetCharacterCount()
.getScore()
inDetectedLanguage
has been renamed togetConfidenceScore()
.getSubCategory()
inCategorizedEntity
has been renamed togetSubcategory()
.getLinkedEntityMatches()
inLinkedEntity
has been renamed togetMatches()
.getCode()
inTextAnalyticsException
andTextAnalyticsError
has been renamed togetErrorCode()
.getCode()
inTextAnalyticsWarning
has been renamed togetWarningCode()
.- Async client returns errors, mono error or flux error but no longer throws exception. Sync client throws exceptions only.
- Deprecated
TextDocumentInput(String id, String text, String language)
constructor, but addedsetLanguage()
setter sincelanguage
is optional. - Renamed
RecognizeCategorizedEntitiesResult
toRecognizeEntitiesResult
. - Renamed
DocumentResult
toTextAnalyticsResult
. - Removed
getServiceVersion()
from both synchronous and asynchronous clients. - Replaced all single input asynchronous APIs, e.x.,
TextAnalyticsPagedFlux<CategorizedEntity> recognizeEntities(String document)
toMono<CategorizedEntityCollection> recognizeEntities(String document)
.TextAnalyticsPagedFlux<LinkedEntity> recognizeLinkedEntities(String document)
toMono<LinkedEntityCollection> recognizeLinkedEntities(String document)
.TextAnalyticsPagedFlux<String> extractKeyPhrases(String document)
toMono<KeyPhrasesCollection> extractKeyPhrases(String document)
.
- Replaced all single input synchronous APIs, e.x.,
TextAnalyticsPagedIterable<CategorizedEntity> recognizeEntities(String document)
toCategorizedEntityCollection recognizeEntities(String document)
.TextAnalyticsPagedIterable<LinkedEntity> recognizeLinkedEntities(String document)
toLinkedEntityCollection recognizeLinkedEntities(String document)
.TextAnalyticsPagedIterable<String> extractKeyPhrases(String document)
toKeyPhrasesCollection extractKeyPhrases(String document)
.