HomeSort by relevance Sort by last modified time
    Searched refs:SpanToLabel (Results 1 - 3 of 3) sorted by null

  /external/libtextclassifier/annotator/
feature-processor_test.cc 56 using FeatureProcessor::SpanToLabel;
294 TEST_F(FeatureProcessorTest, SpanToLabel) {
314 ASSERT_TRUE(feature_processor.SpanToLabel({5, 8}, tokens, &label));
316 ASSERT_TRUE(feature_processor.SpanToLabel({5, 9}, tokens, &label));
331 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 8}, tokens, &label2));
333 ASSERT_TRUE(feature_processor2.SpanToLabel({6, 9}, tokens, &label2));
335 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 9}, tokens, &label2));
339 ASSERT_TRUE(feature_processor2.SpanToLabel({4, 9}, tokens, &label2));
341 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 10}, tokens, &label2));
353 ASSERT_TRUE(feature_processor3.SpanToLabel({6, 15}, tokens, &label2))
    [all...]
feature-processor.h 217 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,
feature-processor.cc 260 bool FeatureProcessor::SpanToLabel(

Completed in 3634 milliseconds