GoogleApi.Language.V2.Model.ClassificationCategory (google_api_language v0.16.3)
View SourceRepresents a category returned from the text classifier.
Attributes
-
confidence
(type:number()
, default:nil
) - The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text. -
name
(type:String.t
, default:nil
) - The name of the category representing the document. -
severity
(type:number()
, default:nil
) - Optional. The classifier's severity of the category. This is only present when the ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has a severity score.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.