Updated comments

This commit is contained in:
Prianka Liz Kariat 2023-01-06 13:52:18 +05:30
parent bc15882cdc
commit c70fa8095f

View File

@ -18,16 +18,16 @@
NS_ASSUME_NONNULL_BEGIN
/** Represents the classification results generated by `MPPTextClassifier`. */
/** Represents the classification results generated by `MPPTextClassifier`. **/
NS_SWIFT_NAME(TextClassifierResult)
@interface MPPTextClassifierResult : MPPTaskResult
/** The `MPPClassificationResult` instance containing one set of results per classifier head. */
/** The `MPPClassificationResult` instance containing one set of results per classifier head. **/
@property(nonatomic, readonly) MPPClassificationResult *classificationResult;
/**
* Initializes a new `MPPTextClassifierResult` with the given `MPPClassificationResult` and time
* stamp (in milliseconds).
* Initializes a new `MPPTextClassifierResult` with the given `MPPClassificationResult` and
* timestamp (in milliseconds).
*
* @param classificationResult The `MPPClassificationResult` instance containing one set of results
* per classifier head.
@ -35,7 +35,7 @@ NS_SWIFT_NAME(TextClassifierResult)
*
* @return An instance of `MPPTextClassifierResult` initialized with the given
* `MPPClassificationResult` and timestamp (in milliseconds).
*/
**/
- (instancetype)initWithClassificationResult:(MPPClassificationResult *)classificationResult
timestampMs:(NSInteger)timestampMs;