View Source GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter (google_api_content_warehouse v0.4.0)

Recording the output of the snippet filter. We run through a series of snippet filters and store all the conditions that this article passed. A condition is denoted by the "badword_fraction_allowed" in a running window of size - "window_size". If ARTICLE_SNIPPET_NOT_CLEAN annotation is set, this group has 0 items. It can be a part of article logicalentity, but keeping it here for consistency and coherence as SemanticLabel holds all other article metadata.

Attributes

  • badwordFraction (type: float(), default: nil) -
  • windowSize (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter{
  badwordFraction: float() | nil,
  windowSize: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.