Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/semantics/
Dcomposer.cc85 const TextContext& text_context, const Derivation& derivation, in Eval() argument
92 return Eval(text_context, in Eval()
99 const TextContext& text_context, const SemanticExpressionNode* derivation, in Eval() argument
102 EvalContext context{&text_context, derivation}; in Eval()
108 Eval(text_context, in Eval()
114 text_context.Span(constituent->codepoint_span), arena); in Eval()
Dcomposer.h51 StatusOr<const SemanticValue*> Eval(const TextContext& text_context,
63 StatusOr<const SemanticValue*> Eval(const TextContext& text_context,
Deval-context.h33 const TextContext* text_context = nullptr; member
/external/libtextclassifier/native/actions/
Dgrammar-actions.cc40 const grammar::TextContext& text_context, const int message_index, in InstantiateActionsFromMatch() argument
80 text_context.Span(capturing_match->codepoint_span); in InstantiateActionsFromMatch()
Dgrammar-actions.h49 bool InstantiateActionsFromMatch(const grammar::TextContext& text_context,
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dspan-eval.h39 context.text_context->Span(context.parse_tree->codepoint_span), arena); in Apply()