MPPTextClassifierResult
@interface MPPTextClassifierResult : MPPTaskResult
Represents the classification results generated by MPPTextClassifier
. *
-
The
MPPClassificationResult
instance containing one set of results per classifier head. *Declaration
Objective-C
@property (nonatomic, readonly) MPPClassificationResult *_Nonnull classificationResult;
-
Initializes a new
MPPTextClassifierResult
with the givenMPPClassificationResult
and timestamp (in milliseconds).Declaration
Objective-C
- (nonnull instancetype) initWithClassificationResult: (nonnull MPPClassificationResult *)classificationResult timestampInMilliseconds:(NSInteger)timestampInMilliseconds;
Parameters
classificationResult
The
MPPClassificationResult
instance containing one set of results per classifier head.timestampInMilliseconds
The timestamp (in milliseconds) for this result.
Return Value
An instance of
MPPTextClassifierResult
initialized with the givenMPPClassificationResult
and timestamp (in milliseconds).