Classification

public struct Classification : Codable, Equatable

Response from the classifier for a phrase.

  • Unique identifier for this classifier.

    Declaration

    Swift

    public var classifierID: String?
  • url

    Link to the classifier.

    Declaration

    Swift

    public var url: String?
  • The submitted phrase.

    Declaration

    Swift

    public var text: String?
  • The class with the highest confidence.

    Declaration

    Swift

    public var topClass: String?
  • An array of up to ten class-confidence pairs sorted in descending order of confidence.

    Declaration

    Swift

    public var classes: [ClassifiedClass]?