5.1.0-beta.4 (2021-02-10)
New features
- Added new classes,
StringIndexType
,RecognizeEntitiesOptions
,RecognizeLinkedEntitiesOptions
. - A new options to control how the offset and length are calculated by the service. Added
StringIndexType
to all
AnalyzeSentimentOptions
,RecognizeEntitiesOptions
,RecognizeLinkedEntitiesOptions
,RecognizePiiEntitiesOptions
and the default isUTF16CODE_UNIT
if null value is assigned. For more information,
see the Text Analytics documentation. - Added property
length
toCategorizedEntity
,SentenceSentiment
,LinkedEntityMatch
,AspectSentiment
,
OpinionSentiment
, andPiiEntity
. - Added new API,
Mono<Response<RecognizeEntitiesResultCollection>> recognizeEntitiesBatchWithResponse( Iterable<TextDocumentInput> documents, RecognizeEntitiesOptions options)
,
Response<RecognizeEntitiesResultCollection> recognizeEntitiesBatchWithResponse( Iterable<TextDocumentInput> documents, RecognizeEntitiesOptions options, Context context)
,
Mono<Response<RecognizeLinkedEntitiesResultCollection>> recognizeLinkedEntitiesBatchWithResponse( Iterable<TextDocumentInput> documents, RecognizeLinkedEntitiesOptions options)
,
Response<RecognizeLinkedEntitiesResultCollection> recognizeLinkedEntitiesBatchWithResponse( Iterable<TextDocumentInput> documents, RecognizeLinkedEntitiesOptions options, Context context)
Breaking changes
Analysis healthcare entities
- The healthcare entities returned by
beginAnalyzeHealthcareEntities
are now organized as a directed graph where the
edges represent a certain type of healthcare relationship between the source and target entities. Edges are stored
in therelatedEntities
property. - The
links
property ofHealthcareEntity
is renamed todataSources
, a list of objects representing medical
databases, where each object hasname
andentityId
properties. - Replace API
PollerFlux<TextAnalyticsOperationResult, PagedFlux<HealthcareTaskResult>> beginAnalyzeHealthcare(Iterable<TextDocumentInput> documents, RecognizeHealthcareEntityOptions options)
to
PollerFlux<AnalyzeHealthcareEntitiesOperationDetail, PagedFlux<AnalyzeHealthcareEntitiesResultCollection>> beginAnalyzeHealthcareEntities(Iterable<TextDocumentInput> documents, AnalyzeHealthcareEntitiesOptions options)
,
SyncPoller<TextAnalyticsOperationResult, PagedIterable<HealthcareTaskResult>> beginAnalyzeHealthcare(Iterable<TextDocumentInput> documents, RecognizeHealthcareEntityOptions options, Context context)
to
SyncPoller<AnalyzeHealthcareEntitiesOperationDetail, PagedIterable<AnalyzeHealthcareEntitiesResultCollection>> beginAnalyzeHealthcareEntities(Iterable<TextDocumentInput> documents, AnalyzeHealthcareEntitiesOptions options, Context context)
- New overload APIs,
PollerFlux<AnalyzeHealthcareEntitiesOperationDetail, PagedFlux<AnalyzeHealthcareEntitiesResultCollection>> beginAnalyzeHealthcareEntities(Iterable<String> documents, String language, AnalyzeHealthcareEntitiesOptions options)
,
SyncPoller<AnalyzeHealthcareEntitiesOperationDetail, PagedIterable<AnalyzeHealthcareEntitiesResultCollection>> beginAnalyzeHealthcareEntities(Iterable<String> documents, String language, AnalyzeHealthcareEntitiesOptions options, Context context)
- Added
AnalyzeHealthcareEntitiesResultCollection
,AnalyzeHealthcareEntitiesResult
,HealthcareEntityRelationType
- Removed
HealthcareTaskResult
,HealthcareEntityRelation
,HealthcareEntityCollection
,JobMetadata
,JobState
- Renamed
HealthcareEntityLink
toEntityDataSource
,
RecognizeHealthcareEntityOptions
toAnalyzeHealthcareEntitiesOptions
,
RecognizeHealthcareEntitiesResult
toAnalyzeHealthcareEntitiesResult
,
RecognizeHealthcareEntitiesResultCollection
toAnalyzeHealthcareEntitiesResultCollection
TextAnalyticsOperationResult
toAnalyzeHealthcareEntitiesOperationDetail
Analyze multiple actions
- The word "action" are used consistently in our names and documentation instead of "task".
- Replace API
PollerFlux<TextAnalyticsOperationResult, PagedFlux<AnalyzeTasksResult>> beginAnalyzeTasks(Iterable<TextDocumentInput> documents, AnalyzeTasksOptions options)
to
PollerFlux<AnalyzeBatchActionsOperationDetail, PagedFlux<AnalyzeBatchActionsResult>> beginAnalyzeBatchActions(Iterable<TextDocumentInput> documents, TextAnalyticsActions actions, AnalyzeBatchActionsOptions options)
,
SyncPoller<TextAnalyticsOperationResult, PagedIterable<AnalyzeTasksResult>> beginAnalyzeTasks(Iterable<TextDocumentInput> documents, AnalyzeTasksOptions options, Context context)
to
SyncPoller<AnalyzeBatchActionsOperationDetail, PagedIterable<AnalyzeBatchActionsResult>> beginAnalyzeBatchActions(Iterable<TextDocumentInput> documents, TextAnalyticsActions actions, AnalyzeBatchActionsOptions options, Context context)
- Added new overload APIs,
PollerFlux<AnalyzeBatchActionsOperationDetail, PagedFlux<AnalyzeBatchActionsResult>> beginAnalyzeBatchActions(Iterable<String> documents, TextAnalyticsActions actions, String language, AnalyzeBatchActionsOptions options)
,
SyncPoller<AnalyzeBatchActionsOperationDetail, PagedIterable<AnalyzeBatchActionsResult>> beginAnalyzeBatchActions(Iterable<String> documents, TextAnalyticsActions actions, String language, AnalyzeBatchActionsOptions options)
- Added
ExtractKeyPhrasesActionResult
,RecognizeEntitiesActionResult
,RecognizePiiEntitiesActionResult
,
TextAnalyticsActions
,TextAnalyticsActionResult
- Removed
EntitiesTask
,KeyPhrasesTask
,PiiTask
,TextAnalyticsErrorInformation
- Renamed
AnalyzeTasksOptions
toAnalyzeBatchActionsOptions
,
AnalyzeTasksResult
toAnalyzeBatchActionsResult
,
EntitiesTaskParameters
toRecognizeEntitiesOptions
KeyPhrasesTaskParameters
toExtractKeyPhrasesOptions
,
PiiTaskParameters
toRecognizePiiEntityOptions
,
PiiEntityDomainType
toPiiEntitiesDomainType
,
RecognizePiiEntityOptions
toRecognizePiiEntitiesOptions
,
TextAnalyticsOperationResult
toAnalyzeBatchActionsOperationDetail