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

Weighted language

Attributes

  • bcp47Tag (type: String.t, default: nil) - Bcp47 language code. Note, this is not the same as OceanCode used by goodoc::Document.
  • weight (type: number(), default: nil) - Weight of language. This specifies how likely it is to see the language in the input text. The values don't have to add up to 1.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocLanguageCombinationLanguage{
  bcp47Tag: String.t() | nil,
  weight: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.