Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/number/
Dnumber.cc31 bool NumberAnnotator::ClassifyText( in ClassifyText()
65 bool NumberAnnotator::IsCJTterm(UnicodeText::const_iterator token_begin_it, in IsCJTterm()
77 bool NumberAnnotator::TokensAreValidStart(const std::vector<Token>& tokens, in TokensAreValidStart()
85 bool NumberAnnotator::TokensAreValidNumberPrefix( in TokensAreValidNumberPrefix()
120 bool NumberAnnotator::TokensAreValidEnding(const std::vector<Token>& tokens, in TokensAreValidEnding()
143 bool NumberAnnotator::TokensAreValidNumberSuffix( in TokensAreValidNumberSuffix()
178 int NumberAnnotator::FindPercentSuffixEndCodepoint( in FindPercentSuffixEndCodepoint()
197 bool NumberAnnotator::TryParseNumber(const UnicodeText& token_text, in TryParseNumber()
217 bool NumberAnnotator::FindAll(const UnicodeText& context, in FindAll()
278 AnnotatedSpan NumberAnnotator::CreateAnnotatedSpan( in CreateAnnotatedSpan()
[all …]
Dnumber.h38 class NumberAnnotator {
40 explicit NumberAnnotator(const NumberAnnotatorOptions* options, in NumberAnnotator() function
Dnumber_test-include.h36 NumberAnnotator number_annotator_;
/external/libtextclassifier/native/annotator/
Dannotator.h531 std::unique_ptr<const NumberAnnotator> number_annotator_;
Dannotator.cc464 new NumberAnnotator(model_->number_annotator_options(), unilib_)); in ValidateAndInitialize()