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

  /external/libtextclassifier/tests/
feature-processor_test.cc 204 using FeatureProcessor::SpanToLabel;
211 TEST(FeatureProcessorTest, SpanToLabel) {
227 ASSERT_TRUE(feature_processor.SpanToLabel({5, 8}, tokens, &label));
229 ASSERT_TRUE(feature_processor.SpanToLabel({5, 9}, tokens, &label));
240 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 8}, tokens, &label2));
242 ASSERT_TRUE(feature_processor2.SpanToLabel({6, 9}, tokens, &label2));
244 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 9}, tokens, &label2));
248 ASSERT_TRUE(feature_processor2.SpanToLabel({4, 9}, tokens, &label2));
250 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 10}, tokens, &label2));
258 ASSERT_TRUE(feature_processor3.SpanToLabel({6, 15}, tokens, &label2))
    [all...]
  /external/libtextclassifier/smartselect/
feature-processor.h 189 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,
feature-processor.cc 246 bool FeatureProcessor::SpanToLabel(

Completed in 82 milliseconds