Class MessageOutputSpelling

All Implemented Interfaces:

public class MessageOutputSpelling
Properties describing any spelling corrections in the user input that was received.
  • Constructor Details

    • MessageOutputSpelling

      public MessageOutputSpelling()
  • Method Details

    • getText

      public String getText()
      Gets the text.

      The user input text that was used to generate the response. If spelling autocorrection is enabled, this text reflects any spelling corrections that were applied.

      the text
    • getOriginalText

      public String getOriginalText()
      Gets the originalText.

      The original user input text. This property is returned only if autocorrection is enabled and the user input was corrected.

      the originalText
    • getSuggestedText

      public String getSuggestedText()
      Gets the suggestedText.

      Any suggested corrections of the input text. This property is returned only if spelling correction is enabled and autocorrection is disabled.

      the suggestedText