GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
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):
Attributes
-
badwordFraction
(type:float()
, default:nil
)
- -
windowSize
(type:integer()
, default:nil
)
-
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabelSnippetFilter