Home
last modified time | relevance | path

Searched refs:token_text (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/utils/
Dtokenizer-utils.h79 const std::string token_text = UnicodeText::UTF8Substring(start_it, it); in TokenizeWithFilter() local
80 if (!token_text.empty()) { in TokenizeWithFilter()
82 Token{token_text, token_start_codepoint, codepoint_idx}); in TokenizeWithFilter()
96 const std::string token_text = in TokenizeWithFilter() local
98 tokens.push_back(Token{token_text, token_start_codepoint, codepoint_idx}); in TokenizeWithFilter()
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DParser.pm36 my $token_text;
38 $token_text = '<missing EOF>';
41 $token_text = '<missing ' . $self->get_token_names()->[$expected_token_type] . '>';
46 text => $token_text
/external/libtextclassifier/native/annotator/number/
Dnumber.cc197 bool NumberAnnotator::TryParseNumber(const UnicodeText& token_text, in TryParseNumber() argument
201 if (token_text.ToUTF8String().size() >= max_number_of_digits_) { in TryParseNumber()
204 const bool is_double = unilib_->ParseDouble(token_text, parsed_double_value); in TryParseNumber()
233 const UnicodeText token_text = in FindAll() local
241 if (!TryParseNumber(token_text, is_negative, &parsed_int_value, in FindAll()
Dnumber.h102 bool TryParseNumber(const UnicodeText& token_text, bool is_negative,
/external/antlr/runtime/Ruby/test/functional/lexer/
Dproperties.rb100 lexer.token_text.should == ' '
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc359 const std::string token_text = in PrepareText() local
367 tokenizer_->TokenizeSingleToken(token_text); in PrepareText()