EntityDetectionResult
public struct EntityDetectionResult
Describes the result of interpret() API when the analyzed text contains a person/place
-
Declaration
Swift
public let type: EntityType
-
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: EntityType, targetText: String, score: Float?, range: Range<String.Index>)