Skip to content

Commit 855d420

Browse files
authored
[TA] Healthcare recognition and Analyze LRO (Azure#17687)
* [TA] CodeGen based on 3.1-preview.3 (Azure#17182) - only codegen and fixes after codegen, there is no new implementation added. * [TA] Healthcare Analyze feature (Azure#17234) * Added support for Healthcare Analyze and Cancellation endpoints * [TA] Regenerate the swagger v3.1-Preview.3 with latest autorest version (Azure#17358) * regenerate with latest autorest and swagger, use 4.0.4 autorest to codegen instead of v4.0.2 * [TA] Add analyze tasks feature support (Azure#17267) * Add analyze multiple tasks and update healthcare features.
1 parent e63c3e1 commit 855d420

File tree

263 files changed

+12339
-427
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+12339
-427
lines changed

eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,9 @@
471471
<suppress checks="[a-zA-Z0-9]*" files="com.azure.data.schemaregistry.implementation.*"/>
472472
<suppress checks="[a-zA-Z0-9]*" files="com.microsoft.opentelemetry.exporter.azuremonitor.implementation.*"/>
473473

474+
<!-- Use the logger in a Utility static method. -->
475+
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.ai.textanalytics.implementation.Utility.java"/>
476+
474477
<!-- Suppress the check on code-gen classes -->
475478
<suppress checks="LineLength" files="com.azure.ai.formrecognizer.implementation.FormRecognizerClientImplBuilder"/>
476479
<suppress checks="LineLength" files="com.azure.ai.formrecognizer.implementation.FormRecognizerClientImpl"/>

eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,13 @@
13511351
<Bug pattern="UWF_UNWRITTEN_FIELD" />
13521352
</Match>
13531353

1354+
<!-- TextAnalyticsException fields re serializable -->
1355+
<Match>
1356+
<Class name="com.azure.ai.textanalytics.models.TextAnalyticsException" />
1357+
<Field name="errorInformationList" />
1358+
<Bug pattern="SE_BAD_FIELD" />
1359+
</Match>
1360+
13541361
<!-- Exception is required to catch, ref: code comment in the OrderbyRowComparer::compare() method -->
13551362
<Match>
13561363
<Class name="com.azure.cosmos.implementation.query.orderbyquery.OrderbyRowComparer"/>

sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22
## 5.1.0-beta.3 (Unreleased)
3+
### New features
4+
- Added support for healthcare analysis feature. It is represented as a long-running operation. Cancellation supported.
5+
- Added support for analyze tasks feature, It analyzes multiple tasks (such as, entity recognition, PII entity recognition
6+
and key phrases extraction) simultaneously in a list of document.
37

48
## 5.0.1 (2020-11-12)
59
### Dependency updates
@@ -40,14 +44,14 @@ about the returned entity.
4044
- First stable release of `azure-ai-textanalytics`.
4145

4246
## 1.0.0-beta.5 (2020-05-27)
43-
**New features**
47+
### New features
4448
- Added Text property and `getText()` to `SentenceSentiment`.
4549
- `Warnings` property added to each document-level response object returned from the endpoints. It is a list of `TextAnalyticsWarnings`.
4650
- Added `CategorizedEntityCollection`, `KeyPhrasesCollection`, `LinkedEntityCollection` for having `getWarnings()` to retrieve warnings.
4751
- Added a new enum value `ADDRESS` to `EntityCategory`.
4852
- Text analytics SDK update the service to version `v3.0` from `v3.0-preview.1`.
4953

50-
**Breaking changes**
54+
### Breaking changes
5155
- Removed pagination feature, which removed `TextAnalyticsPagedIterable`, `TextAnalyticsPagedFlux` and `TextAnalyticsPagedResponse`
5256
- 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`.
5357
- Renamed `apiKey()` to `credential()` on TextAnalyticsClientBuilder.
@@ -75,18 +79,18 @@ about the returned entity.
7579
## 1.0.0-beta.4 (2020-04-07)
7680
- Throws an illegal argument exception when the given list of documents is an empty list.
7781

78-
**Breaking changes**
82+
### Breaking changes
7983
- Renamed all input parameters `text` to `document`, and `inputTexts` to `documents`.
8084
- Removed all PII endpoints and update with related changes, such as remove related models, samples, codesnippets, docstrings, etc from this library.
8185
- Replaced `TextAnalyticsApiKeyCredential` with `AzureKeyCredential`.
8286

8387
## 1.0.0-beta.3 (2020-03-10)
84-
**New features**
88+
### New features
8589
- Introduced `TextAnalyticsPagedFlux`, `TextAnalyticsPagedIterable`, and `TextAnalyticsPagedResponse` type. Moved `modelVersion` amd `TextDocumentBatchStatistics` into `TextAnalyticsPagedResponse`. All collection APIs are return `TextAnalyticsPagedFlux` and `TextAnalyticsPagedIterable` in the asynchronous and synchronous client, respectively. So `DocumentResultCollection` is no longer required. Most of existing API surface are changes. Please check up `TextAnalyticsAsyncClient` and `TextAnalyticsClient` for more detail.
8690
- Introduced `EntityCategory` class to support major entity categories that the service supported.
8791
- Added `getDefaultCountryHint()`, `getDefaultLanguage()` and `getServiceVersion()` to `TextAnalyticsClient`
8892

89-
**Breaking changes**
93+
### Breaking changes
9094
- Supported `Iterable<T>` instead of `List<T>` text inputs.
9195
- Default language and country hint can only be assigned value when building a Text Analytics client.
9296
- Renamed `showStatistics()` to `isIncludeStatistics()` in the `TextAnalyticsRequestOptions`.
@@ -99,7 +103,7 @@ about the returned entity.
99103

100104
## 1.0.0-beta.2 (2020-02-12)
101105

102-
**Breaking changes**
106+
### Breaking changes
103107

104108
- The single text, module-level operations return an atomic type of the operation result. For example, `detectLanguage(String text)` returns a `DetectedLanguage` rather than a `DetectLanguageResult`.
105109

@@ -139,11 +143,11 @@ about the returned entity.
139143
- `getLinkedEntities()` to `getEntities()` and variable `linkedEntities` to `entities`.
140144
- Added suffix of `batch` to all operations' method name that takes a collection of input.
141145

142-
**New features**
146+
### New features
143147

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

146-
**Fixes and improvements**
150+
### Breaking changes
147151

148152
- If you try to access a result attribute on a `DocumentError` object, a `TextAnalyticsException` is raised with a custom error message that provides the document ID and error of the invalid document.
149153

0 commit comments

Comments
 (0)