Class ClassificationCategory (2.3.0)

public sealed class ClassificationCategory : IMessage<ClassificationCategory>, IEquatable<ClassificationCategory>, IDeepCloneable<ClassificationCategory>, IBufferMessage, IMessage

Represents a category returned from the text classifier.

Inheritance

Object > ClassificationCategory

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

ClassificationCategory()

public ClassificationCategory()

ClassificationCategory(ClassificationCategory)

public ClassificationCategory(ClassificationCategory other)
Parameter
NameDescription
otherClassificationCategory

Properties

Confidence

public float Confidence { get; set; }

The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.

Property Value
TypeDescription
Single

Name

public string Name { get; set; }

The name of the category representing the document, from the predefined taxonomy.

Property Value
TypeDescription
String