DetectionResult
public struct DetectionResult
Describes the result of interpret() API when the analyzed text contains a person/place
-
Declaration
Swift
public let type: Predictions.Entity.Kind
-
Declaration
Swift
public let targetText: String
-
Declaration
Swift
public let score: Float?
-
Declaration
Swift
public let range: Range<String.Index>
-
Declaration
Swift
public init( type: Predictions.Entity.Kind, targetText: String, score: Float?, range: Range<String.Index> )