Home
last modified time | relevance | path

Searched refs:ff_model (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/tests/
Dtext-classification-model_test.cc177 std::unique_ptr<TextClassificationModel> ff_model( in TEST() local
184 selection = ff_model->SuggestSelection("", {0, 27}); in TEST()
189 selection = ff_model->SuggestSelection("", {-10, 27}); in TEST()
194 selection = ff_model->SuggestSelection("Word 1 2 3 hello!", {0, 27}); in TEST()
199 selection = ff_model->SuggestSelection("Word 1 2 3 hello!", {-30, 300}); in TEST()
204 selection = ff_model->SuggestSelection("Word 1 2 3 hello!", {-10, -1}); in TEST()
209 selection = ff_model->SuggestSelection("Word 1 2 3 hello!", {100, 17}); in TEST()
/external/libtextclassifier/
Dtextclassifier_jni.cc194 TextClassificationModel* ff_model = in Java_android_view_textclassifier_SmartSelection_nativeClassifyText() local
197 ff_model->ClassifyText(ToStlString(env, context), in Java_android_view_textclassifier_SmartSelection_nativeClassifyText()