Remove extra letter from text classifier API

PiperOrigin-RevId: 551942087
This commit is contained in:
Sebastian Schmidt 2023-07-28 13:54:44 -07:00 committed by Copybara-Service
parent 8ab9185c1d
commit b4bcfab4f5

View File

@ -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_