View Source GoogleApi.AIPlatform.V1.Model.NlpSaftLangIdLocalesResult (google_api_ai_platform v0.5.0)
Attributes
-
predictions
(type:list(GoogleApi.AIPlatform.V1.Model.NlpSaftLangIdLocalesResultLocale.t)
, default:nil
) - List of locales in which the text would be considered acceptable. Sorted in descending order according to each locale's respective likelihood. For example, if a Portuguese text is acceptable in both Brazil and Portugal, but is more strongly associated with Brazil, then the predictions would be ["pt-BR", "pt-PT"], in that order. May be empty, indicating that the model did not predict any acceptable locales.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.NlpSaftLangIdLocalesResult{ predictions: [GoogleApi.AIPlatform.V1.Model.NlpSaftLangIdLocalesResultLocale.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.