Searched refs:TYPE_TERM (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | lexer_test.cc | 90 ElementsAre(IsSymbol(Symbol::Type::TYPE_TERM, 0, 4, "This"), in TEST_F() 91 IsSymbol(Symbol::Type::TYPE_TERM, 5, 7, "is"), in TEST_F() 92 IsSymbol(Symbol::Type::TYPE_TERM, 8, 9, "a"), in TEST_F() 93 IsSymbol(Symbol::Type::TYPE_TERM, 10, 14, "word"))); in TEST_F() 100 IsSymbol(Symbol::Type::TYPE_TERM, 4, 8, "This"), in TEST_F() 101 IsSymbol(Symbol::Type::TYPE_TERM, 9, 10, "a"), in TEST_F() 103 IsSymbol(Symbol::Type::TYPE_TERM, 14, 17, "cde"))); in TEST_F() 120 ElementsAre(IsSymbol(Symbol::Type::TYPE_TERM, 0, 2, "电话"), in TEST_F() 126 IsSymbol(Symbol::Type::TYPE_TERM, 13, 14, "曹"))); in TEST_F() 133 ElementsAre(IsSymbol(Symbol::Type::TYPE_TERM, 0, 2, "电话"), in TEST_F() [all …]
|
D | lexer.h | 55 TYPE_TERM, enumerator
|
D | lexer.cc | 27 return Symbol::Type::TYPE_TERM; in GetSymbolType()
|
D | parser.cc | 228 case Symbol::Type::TYPE_TERM: { in EmitSymbol()
|