Searched refs:context_utf8 (Results 1 – 1 of 1) sorted by relevance
/external/libtextclassifier/annotator/ |
D | annotator_jni.cc | 529 const std::string context_utf8 = ToStlString(env, context); in TC3_JNI_METHOD() local 531 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD() 533 context_utf8, input_indices, FromJavaSelectionOptions(env, options)); in TC3_JNI_METHOD() 534 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); in TC3_JNI_METHOD() 552 const std::string context_utf8 = ToStlString(env, context); in TC3_JNI_METHOD() local 554 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD() 558 model_context->model()->ClassifyText(context_utf8, input_indices, in TC3_JNI_METHOD() 563 &classification_options, context_utf8, input_indices, in TC3_JNI_METHOD() 578 const std::string context_utf8 = ToStlString(env, context); in TC3_JNI_METHOD() local 580 model_context->model()->Annotate(context_utf8, in TC3_JNI_METHOD() [all …]
|