OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClassifyText
(Results
1 - 4
of
4
) sorted by null
/external/libtextclassifier/tests/
text-classification-model_test.cc
232
TEST(TextClassificationModelTest,
ClassifyText
) {
241
FindBestResult(model->
ClassifyText
(
244
FindBestResult(model->
ClassifyText
("you@android.com", {0, 15})));
245
EXPECT_EQ("other", FindBestResult(model->
ClassifyText
(
247
EXPECT_EQ("phone", FindBestResult(model->
ClassifyText
(
249
EXPECT_EQ("other", FindBestResult(model->
ClassifyText
(
254
FindBestResult(model->
ClassifyText
(
259
FindBestResult(model->
ClassifyText
(
264
FindBestResult(model->
ClassifyText
(
270
EXPECT_EQ("other", FindBestResult(model->
ClassifyText
("obama", {0, 5})))
[
all
...]
/external/libtextclassifier/smartselect/
text-classification-model.h
62
std::vector<std::pair<std::string, float>>
ClassifyText
(
text-classification-model.cc
453
TextClassificationModel::
ClassifyText
(const std::string& context,
462
TC_LOG(ERROR) << "Trying to run
ClassifyText
with invalid indices: "
/external/libtextclassifier/
textclassifier_jni.cc
197
ff_model->
ClassifyText
(ToStlString(env, context),
Completed in 58 milliseconds