You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateEntityRecognizerRequest.java
+44-22Lines changed: 44 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,10 @@ public class CreateEntityRecognizerRequest extends AmazonWebServiceRequest imple
86
86
87
87
/**
88
88
* <p>
89
-
* The language of the input documents. All documents must be in the same
90
-
* language. Only English ("en") is currently supported.
89
+
* You can specify any of the following languages supported by Amazon
90
+
* Comprehend: English ("en"), Spanish ("es"), French ("fr"), Italian
91
+
* ("it"), German ("de"), or Portuguese ("pt"). All documents must be in the
92
+
* same language.
91
93
* </p>
92
94
* <p>
93
95
* <b>Constraints:</b><br/>
@@ -498,16 +500,20 @@ public CreateEntityRecognizerRequest withClientRequestToken(String clientRequest
498
500
499
501
/**
500
502
* <p>
501
-
* The language of the input documents. All documents must be in the same
502
-
* language. Only English ("en") is currently supported.
503
+
* You can specify any of the following languages supported by Amazon
504
+
* Comprehend: English ("en"), Spanish ("es"), French ("fr"), Italian
505
+
* ("it"), German ("de"), or Portuguese ("pt"). All documents must be in the
Copy file name to clipboardExpand all lines: aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/EntityRecognizerInputDataConfig.java
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public class EntityRecognizerInputDataConfig implements Serializable {
26
26
/**
27
27
* <p>
28
28
* The entity types in the input data for an entity recognizer. A maximum of
29
-
* 12 entity types can be used at one time to train an entity recognizer.
29
+
* 25 entity types can be used at one time to train an entity recognizer.
Copy file name to clipboardExpand all lines: aws-android-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UnsupportedLanguageException.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,10 @@
21
21
* <p>
22
22
* Amazon Comprehend can't process the language of the input text. For all
23
23
* custom entity recognition APIs (such as <code>CreateEntityRecognizer</code>),
24
-
* only English is accepted. For most other APIs, such as those for Custom
25
-
* Classification, Amazon Comprehend accepts text in all supported languages.
26
-
* For a list of supported languages, see <a>supported-languages</a>.
24
+
* only English, Spanish, French, Italian, German, or Portuguese are accepted.
25
+
* For most other APIs, such as those for Custom Classification, Amazon
26
+
* Comprehend accepts text in all supported languages. For a list of supported
0 commit comments