Home
last modified time | relevance | path

Searched refs:TYPE_TERM (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dlexer_test.cc90 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 …]
Dlexer.h55 TYPE_TERM, enumerator
Dlexer.cc27 return Symbol::Type::TYPE_TERM; in GetSymbolType()
Dparser.cc228 case Symbol::Type::TYPE_TERM: { in EmitSymbol()