Searched refs:AddValueMapping (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/actions/ |
D | grammar-actions_test.cc | 205 rules.AddValueMapping("<captured_reply>", {"<reply>"}, in TEST_F() 252 rules.AddValueMapping("<phone>", in TEST_F() 353 rules.AddValueMapping("<flight>", {"<carrier>", "<flight_code>"}, in TEST_F() 491 rules.AddValueMapping("<captured_location>", {"<location>"}, in TEST_F() 493 rules.AddValueMapping("<greeting>", {"hello", "<captured_location>"}, in TEST_F() 550 rules.AddValueMapping("<greeting>", {"<^>", "hello", "there", "<$>"}, in TEST_F() 600 rules.AddValueMapping("<phone>", {"<phone_annotation>"}, in TEST_F()
|
/external/libtextclassifier/native/utils/grammar/utils/ |
D | rules.h | 143 void AddValueMapping(const std::string& lhs, 147 void AddValueMapping(int lhs, const std::vector<RhsElement>& rhs, int64 value,
|
D | rules.cc | 391 void Rules::AddValueMapping(const std::string& lhs, in AddValueMapping() function in libtextclassifier3::grammar::Rules 400 void Rules::AddValueMapping(const int lhs, const std::vector<RhsElement>& rhs, in AddValueMapping() function in libtextclassifier3::grammar::Rules
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator_test.cc | 131 rules.AddValueMapping("<low_confidence_phone>", {"<digits>"}, in TEST_F() 214 rules.AddValueMapping("<flight_selection>", {"<carrier>", "<flight_code>"}, in TEST_F() 277 rules.AddValueMapping("<captured_tracking_number>", {"<tracking_number>"}, in TEST_F() 410 rules.AddValueMapping("<captured_person>", {"<person>"}, in TEST_F()
|