GoodocSemanticLabelSnippetFilter

GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. badwordFraction (type: float(), default: nil)
    -
  2. windowSize (type: integer(), default: nil)
    -

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter