Skip to content

Latest commit

 

History

History
488 lines (402 loc) · 37.2 KB

File metadata and controls

488 lines (402 loc) · 37.2 KB

Release History

5.3.0 (2023-06-19)

Features Added

  • Added the following methods: TextAnalyticsClient.AnalyzeActions and TextAnalyticsClient.AnalyzeActionsAsync.
  • Hid TextAnalyticsClient.StartAnalyzeActions and TextAnalyticsClient.StartAnalyzeActionsAsync in favor of TextAnalyticsClient.AnalyzeActions and TextAnalyticsClient.AnalyzeActionsAsync. These methods can still be used but are not shown in code suggestions.
  • Added the following methods: TextAnalyticsClient.AnalyzeHealthcareEntities and TextAnalyticsClient.AnalyzeHealthcareEntitiesAsync.
  • Hid TextAnalyticsClient.StartAnalyzeHealthcareEntities and TextAnalyticsClient.StartAnalyzeHealthcareEntitiesAsync in favor of TextAnalyticsClient.AnalyzeHealthcareEntities and TextAnalyticsClient.AnalyzeHealthcareEntitiesAsync. These methods can still be used but are not shown in code suggestions.
  • Added the following methods: TextAnalyticsClient.SingleLabelClassify and TextAnalyticsClient.SingleLabelClassifyAsync.
  • Hid TextAnalyticsClient.StartSingleLabelClassify and TextAnalyticsClient.StartSingleLabelClassifyAsync in favor of TextAnalyticsClient.SingleLabelClassify and TextAnalyticsClient.SingleLabelClassifyAsync. These methods can still be used but are not shown in code suggestions.
  • Added the following methods: TextAnalyticsClient.MultiLabelClassify and TextAnalyticsClient.MultiLabelClassifyAsync.
  • Hid TextAnalyticsClient.StartMultiLabelClassify and TextAnalyticsClient.StartMultiLabelClassifyAsync in favor of TextAnalyticsClient.MultiLabelClassify and TextAnalyticsClient.MultiLabelClassifyAsync. These methods can still be used but are not shown in code suggestions.
  • Added the following methods: TextAnalyticsClient.RecognizeCustomEntities and TextAnalyticsClient.RecognizeCustomEntitiesAsync.
  • Hid TextAnalyticsClient.StartRecognizeCustomEntities and TextAnalyticsClient.StartRecognizeCustomEntitiesAsync in favor of TextAnalyticsClient.RecognizeCustomEntities and TextAnalyticsClient.RecognizeCustomEntitiesAsync. These methods can still be used but are not shown in code suggestions.

Breaking Changes

Note: The following breaking changes only apply when upgrading from the previous beta versions (5.3.0-beta.*) and do not impact stable versions.

  • Changes to extractive summarization:
    • Renamed the TextAnalyticsClient.StartExtractSummary and TextAnalyticsClient.StartExtractSummaryAsync methods to TextAnalyticsClient.ExtractiveSummarize and TextAnalyticsClient.ExtractiveSummarizeAsync respectively.
    • Renamed the TextAnalyticsActions.ExtractSummaryActions property to TextAnalyticsActions.ExtractiveSummarizeActions.
    • Renamed the AnalyzeActionResult.ExtractSummaryResults property to AnalyzeActionResult.ExtractiveSummarizeResults.
    • Renamed the ExtractSummaryAction class to ExtractiveSummarizeAction.
    • Renamed the ExtractSummaryActionResult class to ExtractiveSummarizeActionResult.
    • Renamed the ExtractSummaryOperation class to ExtractiveSummarizeOperation.
    • Renamed the ExtractSummaryOptions class to ExtractiveSummarizeOptions.
    • Renamed the ExtractSummaryResult class to ExtractiveSummarizeResult.
    • Renamed the ExtractSummaryResultCollection class to ExtractiveSummarizeResultCollection.
    • Renamed the SummarySentencesOrder enum to ExtractiveSummarySentencesOrder.
    • Renamed the SummarySentence class to ExtractiveSummarySentence.
  • Changes to abstractive summarization:
    • Renamed the TextAnalyticsClient.StartAbstractSummary and TextAnalyticsClient.StartAbstractSummaryAsync methods to TextAnalyticsClient.AbstractiveSummarize and TextAnalyticsClient.AbstractiveSummarizeAsync respectively.
    • Renamed the TextAnalyticsActions.AbstractSummaryActions property to TextAnalyticsActions.AbstractiveSummarizeActions.
    • Renamed the AnalyzeActionResult.AbstractSummaryResults property to AnalyzeActionResult.AbstractiveSummarizeResults.
    • Renamed the AbstractSummaryAction class to AbstractiveSummarizeAction.
    • Renamed the AbstractSummaryActionResult class to AbstractiveSummarizeActionResult.
    • Renamed the AbstractSummaryOperation class to AbstractiveSummarizeOperation.
    • Renamed the AbstractSummaryOptions class to AbstractiveSummarizeOptions.
    • Renamed the AbstractSummaryResult class to AbstractiveSummarizeResult.
    • Renamed the AbstractSummaryResultCollection class to AbstractiveSummarizeResultCollection.
    • Renamed the AbstractSummaryAction class to AbstractiveSummaryAction.
    • Renamed the SummaryContext class to AbstractiveSummaryContext.
  • Removed support for dynamic classification:
    • Removed the following methods: TextAnalyticsClient.DynamicClassify and TextAnalyticsClient.DynamicClassifyAsync.
    • Removed the following methods: TextAnalyticsClient.DynamicClassifyBatch and TextAnalyticsClient.DynamicClassifyBatchAsync.
    • Removed the DynamicClassifyDocumentResultCollection class.
    • Removed the ClassificationType enum.

Other Changes

The client now defaults to targeting service API version 2023-04-01.

5.3.0-beta.3 (2023-03-11)

Other Changes

  • Upgraded dependent Azure.Core to 1.30.0.

5.3.0-beta.2 (2023-03-07)

Features Added

  • Added support for logging the "warn-text" response header.

Breaking Changes

Note: The following breaking changes only apply when upgrading from the previous beta version (5.3.0-beta.1) and do not impact stable versions.

  • Changes to dynamic classification:
    • Added the classificationType parameter to the following methods: TextAnalyticsClient.DynamicClassify, TextAnalyticsClient.DynamicClassifyAsync, TextAnalyticsClient.DynamicClassifyBatch and TextAnalyticsClient.DynamicClassifyBatchAsync.
    • Removed the options parameter from the following methods for consistency: TextAnalyticsClient.DynamicClassify and TextAnalyticsClient.DynamicClassifyAsync.
    • Removed the DynamicClassifyOptions class for consistency.
  • Changes to abstractive summarization:
    • Renamed AbstractSummaryAction.MaxSentenceCount to AbstractSummaryAction.SentenceCount.
    • Renamed AbstractSummaryOptions.MaxSentenceCount to AbstractSummaryOptions.SentenceCount.
  • Changes to Fast Healthcare Interoperability Resources (FHIR) bundles as part of healthcare text analysis.
    • Renamed the WellKnownFhirVersion enum to FhirVersion.
    • Changed the type of the AnalyzeHealthcareEntitiesResult.FhirBundle property from IReadOnlyDictionary<string, object> to BinaryData.
  • Changes to named entity recognition (NER) resolutions:
    • Removed the BooleanResolution class; boolean resolutions are not supported by the service.
  • Changes to automatic language detection:
    • Removed the AbstractSummaryOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the AnalyzeActionsOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the AnalyzeHealthcareEntitiesOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the ExtractSummaryOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the MultiLabelClassifyOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the RecognizeCustomEntitiesOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.
    • Removed the SingleLabelClassifyOptions.AutoDetectionDefaultLanguage property; the property is not supported by the service.

5.3.0-beta.1 (2022-12-01)

Features Added

  • Added support for dynamic classification.
    • Added the following methods: TextAnalyticsClient.DynamicClassify and TextAnalyticsClient.DynamicClassifyAsync.
    • Added the following methods: TextAnalyticsClient.DynamicClassifyBatch and TextAnalyticsClient.DynamicClassifyBatchAsync.
    • Added the following classes: DynamicClassifyDocumentResultCollection and DynamicClassifyOptions.
    • Added the ClassificationType enum.
  • Added support for extractive summarization.
    • Added the TextAnalyticsActions.ExtractSummaryActions property to support extractive summarization in a batch of actions.
    • Added the TextAnalyticsClient.StartExtractSummary and TextAnalyticsClient.StartExtractSummaryAsync methods to perform extractive summarization on a collection of documents.
  • Added support for abstractive summarization.
    • Added the TextAnalyticsActions.AbstractSummaryActions property to support abstractive summarization in a batch of actions.
    • Added the TextAnalyticsClient.StartAbstractSummary and TextAnalyticsClient.StartAbstractSummaryAsync methods to perform abstractive summarization on a collection of documents.
  • Added support for Fast Healthcare Interoperability Resources (FHIR) bundles as part of healthcare text analysis.
    • Added the AnalyzeHealthcareEntitiesOptions.FhirVersion and AnalyzeHealthcareEntitiesOptions.DocumentType properties.
    • Added the AnalyzeHealthcareEntitiesAction.FhirVersion and AnalyzeHealthcareEntitiesAction.DocumentType properties.
    • Added the AnalyzeHealthcareEntitiesResult.FhirBundle property.
    • Added the WellKnownFhirVersion and HealthcareDocumentType enums.
  • Added support for confidence scores in healthcare entity relations.
    • Added the HealthcareEntityRelation.ConfidenceScore property.
  • Added support for named entity recognition (NER) resolutions.
    • Added the CategorizedEntity.Resolutions property.
    • Added the following classes: AgeResolution, AreaResolution, BaseResolution, BooleanResolution, CurrencyResolution, DateTimeResolution, InformationResolution, LengthResolution, NumberResolution, NumericRangeResolution, OrdinalResolution, SpeedResolution, TemperatureResolution, TemporalSpanResolution VolumeResolution, and WeightResolution.
    • Added the following enums: AgeUnit, AreaUnit, DateTimeSubKind, InformationUnit,LengthUnit, NumberKind, RangeKind, RelativeTo, SpeedUnit, TemperatureUnit,TemporalModifier, VolumeUnit, and WeightUnit.
  • Added support for automatic language detection.
    • Added the AbstractSummaryOptions.AutoDetectionDefaultLanguage property.
    • Added the AbstractSummaryResult.DetectedLanguage property.
    • Added the AnalyzeActionsOptions.AutoDetectionDefaultLanguage property.
    • Added the AnalyzeHealthcareEntitiesOptions.AutoDetectionDefaultLanguage property.
    • Added the AnalyzeHealthcareEntitiesResult.DetectedLanguage property.
    • Added the AnalyzeSentimentResult.DetectedLanguage property.
    • Added the ClassifyDocumentResult.DetectedLanguage property.
    • Added the ExtractKeyPhrasesResult.DetectedLanguage property.
    • Added the ExtractSummaryOptions.AutoDetectionDefaultLanguage property.
    • Added the ExtractSummaryResult.DetectedLanguage property.
    • Added the MultiLabelClassifyOptions.AutoDetectionDefaultLanguage property.
    • Added the RecognizeCustomEntitiesOptions.AutoDetectionDefaultLanguage property.
    • Added the RecognizeEntitiesResult.DetectedLanguage property.
    • Added the RecognizeLinkedEntitiesResult.DetectedLanguage property.
    • Added the RecognizePiiEntitiesResult.DetectedLanguage property.
    • Added the SingleLabelClassifyOptions.AutoDetectionDefaultLanguage property.
  • Added support for script detection.
    • Added the DetectedLanguage.Script property.
    • Added the ScriptKind enum.

Other Changes

The client now defaults to targeting service API version 2022-10-01-preview.

5.2.0 (2022-09-08)

Features Added

  • Added DisplayName property to the following classes to set the optional display name of the operations below:
    • AnalyzeHealthcareEntitiesOptions
    • MultiLabelClassifyOptions
    • RecognizeCustomEntitiesOptions
    • SingleLabelClassifyOptions
  • Added DisplayName property to the following operations to read the optional display name set on options classes above:
    • AnalyzeHealthcareEntitiesOperation from AnalyzeHealthcareEntitiesOptions
    • ClassifyDocumentOperation from MultiLabelClassifyOptions and SingleLabelClassifyOptions
    • RecognizeCustomEntitiesOperation from RecognizeCustomEntitiesOptions
  • Added the following members to HealthcareEntityCategory following proper naming guidelines:
    • Age
    • GeneOrProtein
    • SymptomOrSign

Breaking Changes

  • Changed type MultiLabelClassifyOptions.IncludeStatistics from bool to bool?.
  • Changed type RecognizeCustomEntitiesOptions.IncludeStatistics from bool to bool?.
  • Changed type SingleLabelClassifyOptions.IncludeStatistics from bool to bool?.

Bugs Fixed

  • The values of HealthcareEntityCategory have been redefined to match what the service actually returns. (#20024)

Other Changes

  • Validate that a number of operations and model properties are only used for API versions in which they were defined, or newer API versions.

5.2.0-beta.4 (2022-08-12)

Features Added

  • Added AnalyzeActionsOperation.Cancel and CancelAsync to cancel a batch of actions.
  • Added AnalyzeActionsResult.AnalyzeHealthcareEntitiesResults to get healthcare entities from a batch of actions.
  • Added TextAnalyticsActions.AnalyzeHealthcareEntitiesActions to analyze healthcare entities in a batch of actions.
  • Added TextAnalyticsClient.StartRecognizeCustomEntities and StartRecognizeCustomEntitiesAsync to recognize custom entities in a collection of documents.
  • Added TextAnalyticsClient.StartSingleLabelClassify and StartSingleLabelClassifyAsync to classify documents with a single label.
  • Added TextAnalyticsClient.StartMultiLabelClassify and StartMultiLabelClassifyAsync to classify documents with multiple labels.

Breaking Changes

  • Merged MultiCategoryClassifyResult and SingleCategoryClassifyResult into ClassifyDocumentResult.
  • Removed Extractive Text Summarization and related models. To access this beta feature, install the 5.2.0-beta.3 version of the client library.
  • Removed Extractive Text Summarization, Multi Label Classification, and Single Label Classification from legacy client library.
  • Removed HealthcareTaskParameters.FhirVersion and AnalyzeHealthcareEntitiesResult.FhirBundle. To access this beta feature, install the 5.2.0-beta.3 version of the client library.
  • Renamed LabelClassifyResult.Classifications to LabelClassifyResult.ClassificationCategories.
  • Renamed MultiCategoryClassifyAction to MultiLabelClassifyAction.
  • Renamed MultiCategoryClassifyActionResult to MultiLabelClassifyActionResult.
  • Renamed MultiCategoryClassifyResult to ClassifyDocumentResult.
  • Renamed MultiCategoryClassifyResultCollection to ClassifyDocumentResultCollection.
  • Renamed SingleCategoryClassifyAction to SingleLabelClassifyAction.
  • Renamed SingleCategoryClassifyActionResult to SingleLabelClassifyActionResult.
  • Renamed SingleCategoryClassifyResult to ClassifyDocumentResult.
  • Renamed SingleCategoryClassifyResultCollection to ClassifyDocumentResultCollection.

Other Changes

  • We are now targeting the service version 2022-05-01 API as the default instead of 3.2-preview.2.
  • The legacy client library is now targeting the service version 3.1.

5.2.0-beta.3 (2022-05-18)

Features Added

  • Added keyword argument FhirVersion to AnalyzeHealthcareEntitiesOptions. Use the keyword to indicate the version for the property AnalyzeHealthcareEntitiesResult.FhirBundle that represents a FHIR compatible object for consumption in other Healthcare tools.
  • Added property FhirBundle to AnalyzeHealthcareEntitiesResult.

Breaking Changes

  • Enum EntityCategory.IPAddress now uses the underlying string IPAddress value instead of IP to align with the Text Analytics service behavior.

Bugs Fixed

  • Long-Running operation rehydration has been patched to stop throwing a NullReferenceException. Issue 24692.
  • TextAnalyticsAudience has been added to allow the user to select the Azure cloud where the resource is located. Issue 18520.
  • In AnalyzeHealthcareEntitiesOperation, Cancel calls won't overwrite the response from GetRawResponse anymore. PR 28375

Other Changes

This is the first version of the client library that targets the Azure Cognitive Service for Language APIs which includes the existing text analysis and natural language processing features found in the Text Analytics client library. In addition, the service API has changed from semantic to date-based versioning. This version of the client library defaults to the latest supported API version, which currently is 2022-04-01-preview.

5.1.1 (2021-11-19)

Breaking changes

  • Enum EntityCategory.IPAddress now uses the underlying string IPAddress value instead of IP to align with the Text Analytics service behavior.

Bug Fixes

  • Long-Running operation rehydration has been patched to stop throwing a NullReferenceException. Issue 24692.

5.2.0-beta.2 (2021-11-02)

Features Added

  • Adding support for three new actions in StartAnalyzeActions: RecognizeCustomEntities, SingleCategoryClassify, and MultiCategoriesClassify. The new actions allow you to use custom models to perform entity recognition and category classification.
  • Added property ActionName to all xxActions input types so user can specify a name per action. If not provided, service will generate a name.
  • Added property ActionName to all xxActionResult output types that displays the name of each action.
  • Added suppport for multiple actions of the same type.

Bugs Fixed

  • AnalyzeActionsOperation.GetValuesAsync() and AnalyzeHealthcareEntitiesOperation.GetValuesAsync() are now validating that the operation has completed successfully before attempting to return any values. An InvalidOperationException is thrown if this is not true.

Other Changes

  • We are now targeting the service version 3.2-preview.2 API as the default instead of 3.2-preview.1.

5.2.0-beta.1 (2021-08-09)

Features Added

  • The client defaults to the latest supported service version, which currently is 3.2-preview.1.
  • Added property ExtractSummaryActions to TextAnalyticsActions to support the new 'extractive text summarization' API. This action can be used to get a summary for the input document by extracting the most relevant sentences.

5.1.0 (2021-07-07)

New features

  • Added support for service version 3.0. This can be specified in the TextAnalyticsClientOptions object under the ServiceVersion enum. By default the SDK targets latest supported service version.
  • Added AAD support for the StartAnalyzeHealthcareEntities methods.
  • Added value None to enum PiiEntityDomainType to allow user to specify no domain.
  • Added new overload methods to all xxActions types that take a xxOptions object to facilitate a transition from a singular method to an actions method.
  • The parameter CategoriesFilter in RecognizePiiEntitiesActions has been enabled for StartAnalyzeActions methods.

Breaking changes

  • Changed behavior in StartAnalyzeActions and StartAnalyzeActionsAsync where now accepts a single action per action type. An ArgumentException is raised if duplicate actions are passed.
  • Changed type RecognizePiiEntitiesOptions.DomainFilter from PiiEntityDomainType? to PiiEntityDomainType.
  • Changed type AnalyzeActionsOptions.IncludeStatistics from bool to bool?.
  • Renamed StartAnalyzeBatchActions to StartAnalyzeActions.
  • Renamed AnalyzeBatchActionsOperation to AnalyzeActionsOperation.
  • Renamed AnalyzeBatchActionsResult to AnalyzeActionsResult.
  • Renamed AnalyzeBatchActionsOptions to AnalyzeActionsOptions.
  • TextAnalyticsActions now takes xxAction types, instead of xxOptions types. Renames and types are as follow:
    • ExtractKeyPhrasesOptions changed to new type ExtractKeyPhrasesActions.
    • RecognizeEntitiesOptions changed to new type RecognizeEntitiesActions.
    • RecognizePiiEntitiesOptions changed to new type RecognizePiiEntitiesActions.
    • RecognizeLinkedEntitiesOptions changed to new type RecognizeLinkedEntitiesActions.
    • AnalyzeSentimentOptions changed to new type AnalyzeSentimentActions.
  • Renamed type TextAnalyticsActionDetails to TextAnalyticsActionResult.
  • Renamed type PiiEntityDomainType to PiiEntityDomain.
  • Renamed type Results to DocumentsResults in AnalyzeSentimentActionResult, ExtractKeyPhrasesActionResult, RecognizeEntitiesActionResult, RecognizeLinkedEntitiesActionResult, and RecognizePiiEntitiesActionResult.
  • Renamed all types under AnalyzeActionsResult from xxActionsResults to ``xxResults`.
  • Removed property Statistics from AnalyzeActionsResult as it is not currently returned by the service even if the user passes IncludeStatistics = true.
  • Removed property StringIndexType from TextAnalyticsRequestOptions. This SDK will keep using UTF-16 code unit as the default encoding.
  • Removed type ExtractKeyPhrasesOptions and respective exposure.
  • Removed type RecognizeEntitiesOptions and respective exposure.
  • Removed type RecognizeLinkedEntitiesOptions and respective exposure.

5.1.0-beta.7 (2021-05-18)

New features

  • Added property DisableServiceLogs to TextAnalyticsRequestOptions.
  • Added support for Sentiment Analysis as an action type for StartAnalyzeBatchActions.
  • Changed type of IncludeOpinionMining to bool?.

Breaking changes

  • The client defaults to the latest supported service version, which currently is 3.1-preview.5.
  • Renamed type TextElementsV8 to TextElementV8 in model StringIndexType.

5.1.0-beta.6 (2021-04-06)

New features

  • Add overloads to ExtractKeyPhrasesBatch and ExtractKeyPhrasesBatchAsync to on TextAnalyticsClient to accept ExtractKeyPhrasesOptions and hid the previous methods (non-breaking change).
  • Add overloads to RecognizeEntitiesBatch and RecognizeEntitiesBatchAsync to on TextAnalyticsClient to accept RecognizeEntitiesOptions and hid the previous methods (non-breaking change).
  • Add overloads to RecognizeLinkedEntitiesBatch and RecognizeLinkedEntitiesBatch to on TextAnalyticsClient to accept RecognizeLinkedEntitiesOptions and hid the previous methods (non-breaking change).

Breaking changes

  • Renamed TotalActions to ActionsTotal.

5.1.0-beta.5 (2021-03-09)

New features

  • Added ability to filter the categories returned in a Personally Identifiable Information recognition with the optional parameter CategoriesFilter in RecognizePiiEntitiesOptions.
  • Added the ability to recognize linked entities under StartAnalyzeBatchActions.
  • Added RecognizeLinkedEntitiesOptions to TextAnalyticsActions.
  • Added RecognizeLinkedEntitiesActionsResults to AnalyzeBatchActionsResult.
  • AnalyzeHealthcareEntitiesResult, now exposes the property EntityRelationsof type HealthcareEntityRelation.
  • Introduced HealthcareEntityRelation class which will determine all the different relations between the entities as Roles.
  • Added HealthcareEntityRelationRole, which exposes Name and Entity of type string and HealthcareEntity respectively.
  • HealthcareEntityAssertion is added to HealthcareEntity which further exposes EntityAssociation, EntityCertainty and EntityConditionality.
  • Added new types under HealthcareRelationType class.

Breaking changes

  • Renamed AspectSentiment to TargetSentiment.
  • Renamed MinedOpinion to SentenceOpinion.
  • Renamed OpinionSentiment to AssessmentSentiment.
  • For PiiEntity.Category the type of the property is now PiiEntityCategory instead of EntityCategory.
  • Removed RelatedEntities.
  • RecognizePiiEntitiesOptions.Domain is now a nullable type.
  • In StartAnalyzeBatchActions when all actions return status failed the SDK will no longer throw an exception. The request will succeed and the errors will be located at the specific action level.

Fixes

  • RecognizePiiEntities and TextAnalyticsActions.RecognizePiiEntitiesOptions were always passing PiiEntityDomainType.PHI. Now, it is only passed when requested by the user 19086.

5.1.0-beta.4 (2021-02-10)

New features

  • Added property Length to CategorizedEntity, SentenceSentiment, LinkedEntityMatch, AspectSentiment, OpinionSentiment, and PiiEntity.
  • StringIndexType has been added to all endpoints that expose the new properties Offset and Length to determine the encoding which service should use. It is added into the TextAnalyticsRequestOptions class and default for this SDK is UTF-16 code unit.
  • AnalyzeHealthcareEntitiesOperation now exposes the properties CreatedOn, ExpiresOn, LastModified, and Status.
  • AnalyzeBatchActionsOperation now exposes the properties CreatedOn, ExpiresOn, LastModified, Status, ActionsFailed, ActionsInProgress, ActionsSucceeded, DisplayName, and TotalActions.

Breaking changes

  • Renamed JobStatus to TextAnalyticsOperationStatus.

Analyze Healthcare Entities

  • Pagination support was added for all StartAnalyzeHealthcareEntities methods.
  • Moved Cancel and CancelAsync for Healthcare from TextAnalyticsClient to AnalyzeHealthcareEntitiesOperation.
  • The healthcare entities returned by StartAnalyzeHealthcareEntities 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.
  • Renamed StartHealthcareBatch and StartHealthcareBatchAsync to StartAnalyzeHealthcareEntities and StartAnalyzeHealthcareEntitiesAsync respectively.
  • Renamed RecognizeHealthcareEntitiesResultCollection to AnalyzeHealthcareEntitiesResultCollection.
  • Renamed DocumentHealthcareResult to AnalyzeHealthcareEntitiesResult.
  • Renamed HealthcareOperation to AnalyzeHealthcareEntitiesOperation.
  • Renamed HealthcareOptions to AnalyzeHealthcareEntitiesOptions, and removed types Skip and Top from it. Pagination is now done automatically by the SDK.
  • Renamed HealthcareEntityLink to EntityDataSource with DataSource to EntityDataSource and Id to Name.
  • Renamed HealthcareRelation to HealthcareRelationType.
  • Removed method GetHealthcareEntities as pagination is now done with the main StartAnalyzeHealthcareEntities methods.
  • Removed HealthcareTaskResult.
  • Removed StartHealthcare and StartHealthcareAsync methods.
  • Removed IsNegated property from HealthcareEntity.

Analyze batch actions

  • The word action is now used consistently in our names and documentation instead of task.
  • Pagination support was added for all StartAnalyzeBatchActions methods.
  • Renamed methods StartAnalyzeOperationBatch and StartAnalyzeOperationBatchAsync to StartAnalyzeBatchActions and StartAnalyzeBatchActionsAsync respectively.
  • Type TextAnalyticsActions added to StartAnalyzeBatchActions methods to specify the actions to execute in the batch of documents instead of in AnalyzeOperationOptions.
  • The way to configure the options for each action is now exposed in the respective ExtractKeyPhrasesOptions, RecognizeEntitiesOptions, or RecognizePiiEntitiesOptions object.
  • Results for the StartAnalyzeBatchActions method are now returned in a AnalyzeHealthcareEntitiesResultCollection object that contains information per type of action.
  • Renamed AnalyzeOperation to AnalyzeBatchActionsOperation.
  • Reuse PiiEntityDomainType instead of PiiTaskParametersDomain.
  • Removed AnalyzeTasks, EntitiesTask, EntitiesTaskParameters, EntityRecognitionTasksItem, JobManifestTasks, KeyPhraseExtractionTasksItem, KeyPhrasesTask, KeyPhrasesTaskParameters, PiiTask, PiiTaskParameters.

5.1.0-beta.3 (2020-11-19)

New Features

  • Added HealthcareOperation long running operation for new asynchronous Text Analytics for health hosted API with support for batch processing. Note this is a currently in a gated preview where AAD is not supported. More information here.
  • Added AnalyzeOperation long running operation for new asynchronous Analyze API to support batch processing of Named entity recognition, Personally Identifiable Information and Key phrase extraction.
  • Both new features listed above are available in West US2, East US2, Central US, North Europe and West Europe regions and in Standard tier.

Breaking changes

  • Modified the way to turn on Opinion Mining feature in AnalyzeSentiment to a bool property called IncludeOpinionMining.

5.1.0-beta.2 (2020-10-06)

Breaking changes

  • Removed property Length from CategorizedEntity, SentenceSentiment, LinkedEntityMatch, AspectSentiment, OpinionSentiment, and PiiEntity.

5.1.0-beta.1 (2020-09-17)

New Features

  • It defaults to the latest supported API version, which currently is 3.1-preview.2.
  • ErrorCode value returned from the service is now surfaced in RequestFailedException.
  • Added the RecognizePiiEntities endpoint which returns entities containing Personally Identifiable Information. This feature is available in the Text Analytics service v3.1-preview.1 and above.
  • Support added for Opinion Mining. This feature is available in the Text Analytics service v3.1-preview.1 and above.
  • Added Offset and Length properties for CategorizedEntity, SentenceSentiment, and LinkedEntityMatch. The default encoding is UTF-16 code units. For additional information see https://aka.ms/text-analytics-offsets
  • TextAnalyticsError and TextAnalyticsWarning now are marked as immutable.
  • Added property BingEntitySearchApiId to the LinkedEntity class. This property is only available for v3.1-preview.2 and up, and it is to be used in conjunction with the Bing Entity Search API to fetch additional relevant information about the returned entity.

5.0.0 (2020-07-27)

  • Re-release of version 1.0.1 with updated version 5.0.0.

1.0.1 (2020-06-23)

Fixes

  • The document confidence scores for analyze sentiment now contains the values the Text Analytics service returns (12889).
  • TextAnalyticsErrorCode casing is now pascal case instead of camel case (12888).

1.0.0 (2020-06-09)

  • First stable release of Azure.AI.TextAnalytics package.

1.0.0-preview.5 (2020-05-27)

Breaking changes

  • Now targets the service's v3.0 API, instead of the v3.0-preview.1 API
  • Removed GraphemeLength and GraphemeOffset from CategorizedEntity, SentenceSentiment, and LinkedEntityMatch.
  • GraphemeCount in TextDocumentStatistics has been renamed to CharacterCount.
  • DetectedLanguage property SentimentScores has been renamed to ConfidenceScores.
  • TextAnalyticsError property Code has been renamed to ErrorCode and it is an TextAnalyticsErrorCode instead of a string.
  • Single operation method RecognizeEntitiesAsync and RecognizeEntities now returns a CategorizedEntityCollection.
  • Single operation method ExtractKeyPhrasesAsync and ExtractKeyPhrases now returns a KeyPhraseCollection.
  • Single operation method RecognizeLinkedEntitiesAsync and RecognizeLinkedEntities now returns a LinkedEntityCollection.

Added

  • Added Text property to SentenceSentiment.
  • Warnings property added to each document-level response object returned from the endpoints. It is a list of TextAnalyticsWarnings.

1.0.0-preview.4 (2020-04-07)

Breaking changes

  • Replaced TextAnalyticsApiKeyCredential with AzureKeyCredential.
  • Renamed all input parameters inputText to document, and inputs to documents.
  • Removed the RecognizePiiEntities endpoint and all related models (RecognizePiiEntitiesResult and PiiEntity) from this library.

Added

  • Refactor common properties from DetectLanguageInput and TextDocumentInput into it's own type TextAnalyticsInput.
  • Mock support for the Text Analytics client with respective samples.
  • Integration for ASP.NET Core.

1.0.0-preview.3 (2020-03-10)

Breaking changes

  • In both DocumentSentiment and SentenceSentiment property SentimentScores has been renamed to ConfidenceScores.
  • In LinkedEntity, property Id has been renamed to DataSourceEntityId.
  • Change wording in all documentation from text inputs to documents.
  • Properties Length and Offset have been renamed to GraphemeLength and GraphemeOffset for the SentenceSentiment, CategorizedEntity, PiiEntity, and LinkedEntityMatch objects, to make it clear that the offsets and lengths are in units of Unicode graphemes.
  • CharacterCount in TextDocumentStatistics has been renamed to GraphemeCount.
  • Unified DocumentSentimentLabel and SentenceSentimentLabel into TextSentiment.
  • SentimentConfidenceScorePerLabel renamed to SentimentConfidenceScores.
  • Extensible ENUM SubCategory has been deleted and managed as a string throughout the code.
  • Score has been renamed to ConfidenceScore for types CategorizedEntity, LinkedEntityMatch, and PiiEntity.

New Features

  • Added DetectLanguageInput.None for user convenience when overriding the default behavior of CountryHint.
  • Added PersonType, Skill, Product, IP Address, and Event to the EntityCategory ENUM.

1.0.0-preview.2 (2020-02-11)

Breaking changes

  • The TextAnalyticsError model has been simplified to an object with properties Code, Message, and Target.
  • To use an API key as the credential for authenticating the client, a new credential class TextAnalyticsApiKeyCredential("<api_key>") must be passed in for the credential parameter. Passing the API key as a string is no longer supported.
  • Reference to subscription key changed to API key.
  • DetectLanguages has been renamed to DetectLanguage. Same applies for DetectLanguagesAsync to DetectLanguageAsync.
  • All batch overload methods have been renamed by adding the suffix Batch or BatchAsync accordingly. For example, instead of AnalyzeSentimentAsync now we have AnalyzeSentimentBatchAsync.
  • Added a new parameter TextAnalyticsRequestOptions options to batch method overloads accepting a list of documents for allowing the users to opt for batch operation statistics.
  • All single text operation methods now return an atomic type of the operation result. For example DetectLanguage(String text) returns a DetectedLanguage rather than a DetectLanguageResult.
  • NamedEntity.Type and NamedEntity.SubType have been renamed to NamedEntity.Category and NamedEntity.SubCategory.
  • NamedEntity has been renamed to CategorizedEntity.
  • RecognizeEntitiesResult property NamedEntities has been renamed to Entities.
  • RecognizePiiEntitiesResult now contains a list of PiiEntity instead of NamedEntity.
  • RecognizePiiEntitiesResult property NamedEntities has been renamed to Entities.
  • RecognizeLinkedEntitiesResult property LinkedEntities has been renamed to Entities.
  • DetectLanguageResult no longer has a property DetectedLanguages. Use PrimaryLanguage to access the detected language in text.
  • Created class DocumentSentiment that includes a list of SentenceSentiment.
  • Sentiment label and sentiment scores are now part of DocumentSentiment and SentenceSentiment.
  • Renamed TextSentiment to SentenceSentiment.
  • Renamed SentimentClass to SentimentLabel.
  • Extandable ENUMs created for Category, and SubCategory.

New Features

Credential class TextAnalyticsApiKeyCredential provides an UpdateCredential() method which allows you to update the API key for long-lived clients.

Fixes and improvements

A new HasError property has added to <document>Collection types to allow you to check if an operation on a particular document succeeded or failed. If you try to access a result attribute where the operation was unsuccessful, an InvalidOperationException is raised with a custom error message that provides information about the error.

1.0.0-preview.1 (2020-01-09)

This is the first preview of the Azure.AI.TextAnalytics client library. It is not a direct replacement for Microsoft.Azure.CognitiveServices.Language.TextAnalytics, as applications currently using that library would require code changes to use Azure.AI.TextAnalytics.

This package's documentation and samples demonstrate the new API.

Major changes from Microsoft.Azure.CognitiveServices.Language.TextAnalytics

  • This library supports only the Text Analytics Service v3.0-preview.1 API, whereas the previous library supports only earlier versions.
  • The namespace/package name for Azure Text Analytics client library has changed from Microsoft.Azure.CognitiveServices.Language.TextAnalytics to Azure.AI.TextAnalytics
  • Added support for:
    • Subscription key and AAD authentication for both synchronous and asynchronous clients.
    • Detect Language.
    • Separation of Entity Recognition and Entity Linking.
    • Identification of Personally Identifiable Information.
    • Analyze Sentiment APIs including analysis for mixed sentiment.