Remove extra letter from text classifier API
PiperOrigin-RevId: 551942087
This commit is contained in:
parent
8ab9185c1d
commit
b4bcfab4f5
|
@ -34,13 +34,13 @@ struct TextClassifierOptions {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Creates a TextClassifier from the provided `options`.
|
// Creates a TextClassifier from the provided `options`.
|
||||||
void* text_classsifier_create(struct TextClassifierOptions options);
|
void* text_classifier_create(struct TextClassifierOptions options);
|
||||||
|
|
||||||
// Performs classification on the input `text`.
|
// Performs classification on the input `text`.
|
||||||
TextClassifierResult text_classifier_classify(void* classifier,
|
TextClassifierResult text_classifier_classify(void* classifier,
|
||||||
char* utf8_text);
|
char* utf8_text);
|
||||||
|
|
||||||
// Shuts down the TextClassifier when all the work is done. Frees all memory.
|
// Shuts down the TextClassifier when all the work is done. Frees all memory.
|
||||||
void text_classsifier_close(void* classifier);
|
void text_classifier_close(void* classifier);
|
||||||
|
|
||||||
#endif // MEDIAPIPE_TASKS_C_TEXT_TEXT_CLASSIFIER_TEXT_CLASSIFIER_H_
|
#endif // MEDIAPIPE_TASKS_C_TEXT_TEXT_CLASSIFIER_TEXT_CLASSIFIER_H_
|
||||||
|
|
Loading…
Reference in New Issue
Block a user