Searched refs:NumberAnnotator (Results 1 – 5 of 5) sorted by relevance
31 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 …]
38 class NumberAnnotator {40 explicit NumberAnnotator(const NumberAnnotatorOptions* options, in NumberAnnotator() function
36 NumberAnnotator number_annotator_;
531 std::unique_ptr<const NumberAnnotator> number_annotator_;
464 new NumberAnnotator(model_->number_annotator_options(), unilib_)); in ValidateAndInitialize()