Skip to content

Commit bc146b3

Browse files
Merge pull request #28 from DeepLcom/context-parameter-ga
Remove alpha label from context parameter
2 parents 801421f + 544becb commit bc146b3

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ a `TextTranslationOptions`, with the following setters:
160160
- `setGlossaryId()` is also available for backward-compatibility, accepting
161161
a string containing the glossary ID.
162162
- `setContext()`: specifies additional context to influence translations, that is not
163-
translated itself. Note this is an **alpha feature**: it may be deprecated at
164-
any time, or incur charges if it becomes generally available.
163+
translated itself. Characters in the `context` parameter are not counted toward billing.
165164
See the [API documentation][api-docs-context-param] for more information and
166165
example usage.
167166
- `setTagHandling()`: type of tags to parse before translation, options are

deepl-java/src/main/java/com/deepl/api/TextTranslationOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public TextTranslationOptions setGlossary(String glossaryId) {
6565
}
6666

6767
/**
68-
* Specifies additional context to influence translations, that is not translated itself. Note:
69-
* this is an alpha feature: it may be deprecated at any time, or incur charges if it becomes
70-
* generally available. See the API documentation for more information and example usage.
68+
* Specifies additional context to influence translations, that is not translated itself.
69+
* Characters in the `context` parameter are not counted toward billing.
70+
* See the API documentation for more information and example usage.
7171
*/
7272
public TextTranslationOptions setContext(String context) {
7373
this.context = context;

0 commit comments

Comments
 (0)