Skip to content

Commit 3ae4d2d

Browse files
committed
chore(natural-language-understanding-v1): update comments
1 parent e11a3ff commit 3ae4d2d

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model/ClassificationsOptions.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -14,11 +14,7 @@
1414

1515
import com.ibm.cloud.sdk.core.service.model.GenericModel;
1616

17-
/**
18-
* Returns text classifications for the content.
19-
*
20-
* <p>Supported languages: English only.
21-
*/
17+
/** Returns text classifications for the content. */
2218
public class ClassificationsOptions extends GenericModel {
2319

2420
protected String model;
@@ -73,7 +69,11 @@ public Builder newBuilder() {
7369
*
7470
* <p>Enter a [custom
7571
* model](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-customizing)
76-
* ID of the classification model to be used.
72+
* ID of the classifications model to be used.
73+
*
74+
* <p>You can analyze tone by using a language-specific model ID. See [Tone analytics
75+
* (Classifications)](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-tone_analytics)
76+
* for more information.
7777
*
7878
* @return the model
7979
*/

natural-language-understanding/src/main/java/com/ibm/watson/natural_language_understanding/v1/model/Features.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -14,7 +14,6 @@
1414

1515
import com.google.gson.annotations.SerializedName;
1616
import com.ibm.cloud.sdk.core.service.model.GenericModel;
17-
1817
import java.util.Map;
1918

2019
/** Analysis features and options. */
@@ -240,8 +239,6 @@ public Builder newBuilder() {
240239
*
241240
* <p>Returns text classifications for the content.
242241
*
243-
* <p>Supported languages: English only.
244-
*
245242
* @return the classifications
246243
*/
247244
public ClassificationsOptions classifications() {

0 commit comments

Comments
 (0)