Class AddWordsOptions

All Implemented Interfaces:

public class AddWordsOptions
The addWords options.
  • Method Details

    • newBuilder

      public AddWordsOptions.Builder newBuilder()
      New builder.
      a AddWordsOptions builder
    • customizationId

      public String customizationId()
      Gets the customizationId.

      The customization ID (GUID) of the custom model. You must make the request with credentials for the instance of the service that owns the custom model.

      the customizationId
    • words

      public List<Word> words()
      Gets the words.

      The **Add custom words** method accepts an array of `Word` objects. Each object provides a word that is to be added or updated for the custom model and the word's translation.

      The **List custom words** method returns an array of `Word` objects. Each object shows a word and its translation from the custom model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if the custom model contains no words.

      the words