github Azure/azure-sdk-for-java azure-ai-textanalytics_5.1.0-beta.4

latest releases: azure-resourcemanager-netapp_1.6.0-beta.1, azure-identity-broker_1.1.8, azure-identity_1.14.2...
pre-release3 years ago

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 is UTF16CODE_UNIT if null value is assigned. For more information,
    see the Text Analytics documentation.
  • Added property length to CategorizedEntity, SentenceSentiment, LinkedEntityMatch, AspectSentiment,
    OpinionSentiment, and PiiEntity.
  • 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 the relatedEntities property.
  • The links property of HealthcareEntity is renamed to dataSources, a list of objects representing medical
    databases, where each object has name and entityId 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 to EntityDataSource,
    RecognizeHealthcareEntityOptions to AnalyzeHealthcareEntitiesOptions,
    RecognizeHealthcareEntitiesResult to AnalyzeHealthcareEntitiesResult,
    RecognizeHealthcareEntitiesResultCollection to AnalyzeHealthcareEntitiesResultCollection
    TextAnalyticsOperationResult to AnalyzeHealthcareEntitiesOperationDetail

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 to AnalyzeBatchActionsOptions,
    AnalyzeTasksResult to AnalyzeBatchActionsResult,
    EntitiesTaskParameters to RecognizeEntitiesOptions
    KeyPhrasesTaskParameters to ExtractKeyPhrasesOptions,
    PiiTaskParameters to RecognizePiiEntityOptions,
    PiiEntityDomainType to PiiEntitiesDomainType,
    RecognizePiiEntityOptions to RecognizePiiEntitiesOptions,
    TextAnalyticsOperationResult to AnalyzeBatchActionsOperationDetail

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.