Home
last modified time | relevance | path

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

/external/libtextclassifier/
Dtextclassifier_jni.cc369 const std::string context_utf8 = ToStlString(env, context); in JNI_METHOD() local
371 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in JNI_METHOD()
373 context_utf8, input_indices, FromJavaSelectionOptions(env, options)); in JNI_METHOD()
374 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); in JNI_METHOD()
390 const std::string context_utf8 = ToStlString(env, context); in JNI_METHOD() local
392 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in JNI_METHOD()
394 ff_model->ClassifyText(context_utf8, input_indices, in JNI_METHOD()
406 std::string context_utf8 = ToStlString(env, context); in JNI_METHOD() local
408 model->Annotate(context_utf8, FromJavaAnnotationOptions(env, options)); in JNI_METHOD()
427 ConvertIndicesUTF8ToBMP(context_utf8, annotations[i].span); in JNI_METHOD()