Skip to content

Commit

Permalink
Text analytics Preview 1 (#6161)
Browse files Browse the repository at this point in the history
Have a preview version of Text Analytics
  • Loading branch information
mssfang authored Dec 19, 2019
1 parent cf32dc2 commit 71ff41a
Show file tree
Hide file tree
Showing 148 changed files with 12,135 additions and 5 deletions.
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ known_content_issues:
- ['sdk/storage/microsoft-azure-storage-blob/README.md', '#3113']
- ['sdk/storage/microsoft-azure-storage-blob/swagger/README.md', '#3113']
- ['sdk/storage/README.md', '#3113']
- ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#3113']
- ['sdk/template/azure-sdk-template/README.md','has other required sections']
- ['sdk/storage/azure-storage-file-share/swagger/README.md','has other required sections']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,15 @@
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]test[/\\].*" />
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]samples[/\\].*" />
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]implementation[/\\].*" />

<!-- Suppress the check on code-gen classes -->
<suppress checks="LineLength" files="com.azure.ai.textanalytics.implementation.TextAnalyticsClientImplBuilder"/>
<suppress checks="LineLength" files="com.azure.ai.textanalytics.implementation.TextAnalyticsClientImpl"/>

<!-- Suppress this until all endpoints are implemented. -->
<!-- Fix with https://github.com/Azure/azure-sdk-for-java/issues#6500 -->
<suppress checks="MissingJavadocMethod" files=".*[/\\]textanalytics[/\\].*"/>
<!-- TODO: Fix with https://github.com/Azure/azure-sdk-for-java/issues#6716 Method name should follow a common vocabulary. -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files=".*[/\\]textanalytics[/\\].*"/>

</suppressions>
5 changes: 5 additions & 0 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
</scm>

<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions eng/spotbugs-aggregate-report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<source>..\..\sdk\storage\azure-storage-file-datalake\src\samples\java\com</source>
<source>..\..\sdk\storage\azure-storage-queue\src\main\java\com</source>
<source>..\..\sdk\storage\azure-storage-queue\src\samples\java\com</source>
<source>..\..\sdk\textanalytics\azure-ai-textanalytics\src\main\java\com</source>
</sources>
</configuration>
</execution>
Expand Down Expand Up @@ -144,6 +145,11 @@
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-ai-textanalytics;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-appconfiguration</artifactId>
Expand Down
7 changes: 4 additions & 3 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
com.azure:azure-sdk-all;1.0.0;1.0.0
com.azure:azure-sdk-parent;1.6.0;1.6.0
com.azure:azure-client-sdk-parent;1.7.0;1.7.0
com.azure:azure-ai-textanalytics;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-core;1.1.0;1.2.0-beta.1
com.azure:azure-core-amqp;1.0.0-beta.9;1.0.0-beta.9
com.azure:azure-core-http-netty;1.1.0;1.2.0-beta.1
Expand All @@ -13,12 +14,13 @@ com.azure:azure-core-test;1.1.0-beta.1;1.1.0-beta.2
com.azure:azure-core-tracing-opencensus;1.0.0-beta.5;1.0.0-beta.6
com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-data-appconfiguration;1.0.0-beta.7;1.0.0-beta.8
com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-identity;1.0.1;1.1.0-beta.1
com.azure:azure-messaging-eventhubs;5.0.0-beta.6;5.0.0-beta.7
com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-security-keyvault-certificates;4.0.0-beta.7;4.0.0-beta.8
com.azure:azure-security-keyvault-keys;4.0.1;4.1.0-beta.1
com.azure:azure-security-keyvault-secrets;4.0.1;4.1.0-beta.1
com.azure:azure-messaging-eventhubs;5.0.0-beta.6;5.0.0-beta.7
com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-sdk-template;1.0.4-beta.2;1.0.4-beta.2
com.azure:azure-storage-blob;12.2.0-beta.1;12.2.0-beta.2
com.azure:azure-storage-blob-batch;12.1.0;12.2.0-beta.1
Expand All @@ -27,7 +29,6 @@ com.azure:azure-storage-common;12.2.0-beta.1;12.2.0-beta.2
com.azure:azure-storage-file-share;12.1.0-beta.1;12.1.0-beta.2
com.azure:azure-storage-file-datalake;12.0.0-beta.8;12.0.0-beta.9
com.azure:azure-storage-queue;12.2.0-beta.1;12.2.0-beta.2
com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1

# This is a temporary fix for libaries that need the unreleased dependency version of core
unreleased_com.azure:azure-core;1.2.0-beta.1;1.2.0-beta.1
Expand Down
10 changes: 8 additions & 2 deletions pom.client.xml
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@
<title>Azure Telemetry - OpenCensus</title>
<packages>com.azure.core.tracing*</packages>
</group>
<group>
<title>Azure Text Analytics</title>
<packages>com.azure.ai.textanalytics*</packages>
</group>
</groups>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
Expand Down Expand Up @@ -647,6 +651,7 @@
-snippetpath ${project.basedir}/sdk/storage/azure-storage-common/src/samples/java
-snippetpath ${project.basedir}/sdk/storage/azure-storage-file-share/src/samples/java
-snippetpath ${project.basedir}/sdk/storage/azure-storage-queue/src/samples/java
-snippetpath ${project.basedir}/sdk/textanalytics/azure-ai-textanalytics/src/samples/java
</additionalOptions>
<doclint>all</doclint>
</configuration>
Expand Down Expand Up @@ -1063,7 +1068,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -1223,6 +1228,7 @@
<module>sdk/core/azure-core-test</module>
<module>sdk/core/azure-core-tracing-opencensus</module>
<module>sdk/core/azure-core-tracing-opentelemetry</module>
<module>sdk/e2e</module>
<module>sdk/eventhubs/azure-messaging-eventhubs</module>
<module>sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob</module>
<module>sdk/identity/azure-identity</module>
Expand All @@ -1236,6 +1242,6 @@
<module>sdk/storage/azure-storage-file-share</module>
<module>sdk/storage/azure-storage-file-datalake</module>
<module>sdk/storage/azure-storage-queue</module>
<module>sdk/e2e</module>
<module>sdk/textanalytics/azure-ai-textanalytics</module>
</modules>
</project>
16 changes: 16 additions & 0 deletions sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Release History

## 1.0.0-beta.1 (Unreleased)

For details on the Azure SDK for Java (January 2020 Preview) release refer to the [release announcement]().

### Added
- Initial release of this module.
- Support for subscription key and AAD authentication for both synchronous and asynchronous clients.
- Added Detect Language, Recognize Entity, Recognize PII entity, Recognize Linking Entity, Analyze Sentiment APIs.

This package's
[documentation]()
and
[samples]()
demonstrate the new API.
Loading

0 comments on commit 71ff41a

Please sign in to comment.