Searched refs:classification_options (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 138 ClassificationOptions classification_options; in TEST_F() local 139 classification_options.detected_text_language_tags = "en"; in TEST_F() 141 "isotope", {0, 7}, classification_options))); in TEST_F() 143 classification_options.detected_text_language_tags = "uz"; in TEST_F() 145 "isotope", {0, 7}, classification_options))); in TEST_F() 153 ClassificationOptions classification_options; in TEST_F() local 154 classification_options.detected_text_language_tags = "en"; in TEST_F() 155 classification_options.use_vocab_annotator = true; in TEST_F() 158 "isotope", {0, 7}, classification_options))); in TEST_F() 167 ClassificationOptions classification_options; in TEST_F() local [all …]
|
D | annotator_jni.cc | 667 const libtextclassifier3::ClassificationOptions classification_options, in TC3_JNI_METHOD() 671 classification_options); in TC3_JNI_METHOD() 678 &classification_options, context_utf8, input_indices, in TC3_JNI_METHOD()
|
D | annotator.cc | 350 if (!model_->classification_options()) { in ValidateAndInitialize() 1480 if (model_->classification_options()->max_num_tokens() > 0 && in ModelClassifyText() 1481 model_->classification_options()->max_num_tokens() < in ModelClassifyText() 1578 model_->classification_options()->phone_min_num_digits() || in ModelClassifyText() 1580 model_->classification_options()->phone_max_num_digits()) { in ModelClassifyText() 1586 model_->classification_options()->address_min_num_tokens()) { in ModelClassifyText()
|
D | model.fbs | 556 classification_options:ClassificationModelOptions;
|