Interface MatchScoreDetails.Builder

  • Method Details

    • overall

      Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.

      Parameters:
      overall - Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • components

      Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.

      Parameters:
      components - Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • components

      Indicates how well the component input matches the returned. It is equal to 1 if all input tokens are recognized and matched.

      This is a convenience method that creates an instance of the ComponentMatchScores.Builder avoiding the need to create one manually via ComponentMatchScores.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to components(ComponentMatchScores).

      Parameters:
      components - a consumer that will call methods on ComponentMatchScores.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: