Searched refs:TextContext (Results 1 – 16 of 16) sorted by relevance
/external/libtextclassifier/native/utils/grammar/ |
D | analyzer.cc | 49 const TextContext& input, UnsafeArena* arena, in Parse() 79 TextContext Analyzer::BuildTextContextForInput( in BuildTextContextForInput() 81 TextContext context; in BuildTextContextForInput()
|
D | analyzer.h | 42 const TextContext& input, UnsafeArena* arena, 50 TextContext BuildTextContextForInput(
|
D | text-context.h | 29 struct TextContext { struct
|
/external/libtextclassifier/native/utils/grammar/semantics/ |
D | composer.h | 51 StatusOr<const SemanticValue*> Eval(const TextContext& text_context, 63 StatusOr<const SemanticValue*> Eval(const TextContext& text_context,
|
D | composer_test.cc | 86 const TextContext text = TextContextForText("Month: January"); in TEST_F() 99 const TextContext text = TextContextForText("Month: February"); in TEST_F() 162 const TextContext text = TextContextForText("Event: January 2020"); in TEST_F()
|
D | composer.cc | 85 const TextContext& text_context, const Derivation& derivation, in Eval() 99 const TextContext& text_context, const SemanticExpressionNode* derivation, in Eval()
|
D | eval-context.h | 33 const TextContext* text_context = nullptr;
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | parser.h | 43 std::vector<Derivation> Parse(const TextContext& input, 60 std::vector<Symbol> SortedSymbolsForInput(const TextContext& input,
|
D | parser.cc | 82 std::vector<Symbol> Parser::SortedSymbolsForInput(const TextContext& input, in SortedSymbolsForInput() 254 std::vector<Derivation> Parser::Parse(const TextContext& input, in Parse()
|
D | parser_test.cc | 165 TextContext context = TextContextForText("Please dial 911"); in TEST_F()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 116 const grammar::TextContext& input_context, in InstantiateAnnotatedSpanFromDerivation() 132 const grammar::TextContext& input_context, in InstantiateClassificationFromDerivation() 204 grammar::TextContext input_context = in Annotate() 235 grammar::TextContext input_context = in SuggestSelection() 276 grammar::TextContext input_context = in ClassifyText()
|
D | grammar-annotator.h | 68 const grammar::TextContext& input_context, 75 const grammar::TextContext& input_context,
|
/external/libtextclassifier/native/actions/ |
D | grammar-actions.cc | 40 const grammar::TextContext& text_context, const int message_index, in InstantiateActionsFromMatch() 145 grammar::TextContext text = analyzer_.BuildTextContextForInput( in SuggestActions()
|
D | grammar-actions.h | 49 bool InstantiateActionsFromMatch(const grammar::TextContext& text_context,
|
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/ |
D | span-eval_test.cc | 37 TextContext text = TextContextForText("This a test."); in TEST_F()
|
/external/libtextclassifier/native/utils/grammar/testing/ |
D | utils.h | 79 TextContext TextContextForText(const std::string& text) { in TextContextForText() 80 TextContext context; in TextContextForText()
|