Home
last modified time | relevance | path

Searched refs:TextContext (Results 1 – 16 of 16) sorted by relevance

/external/libtextclassifier/native/utils/grammar/
Danalyzer.cc49 const TextContext& input, UnsafeArena* arena, in Parse()
79 TextContext Analyzer::BuildTextContextForInput( in BuildTextContextForInput()
81 TextContext context; in BuildTextContextForInput()
Danalyzer.h42 const TextContext& input, UnsafeArena* arena,
50 TextContext BuildTextContextForInput(
Dtext-context.h29 struct TextContext { struct
/external/libtextclassifier/native/utils/grammar/semantics/
Dcomposer.h51 StatusOr<const SemanticValue*> Eval(const TextContext& text_context,
63 StatusOr<const SemanticValue*> Eval(const TextContext& text_context,
Dcomposer_test.cc86 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()
Dcomposer.cc85 const TextContext& text_context, const Derivation& derivation, in Eval()
99 const TextContext& text_context, const SemanticExpressionNode* derivation, in Eval()
Deval-context.h33 const TextContext* text_context = nullptr;
/external/libtextclassifier/native/utils/grammar/parsing/
Dparser.h43 std::vector<Derivation> Parse(const TextContext& input,
60 std::vector<Symbol> SortedSymbolsForInput(const TextContext& input,
Dparser.cc82 std::vector<Symbol> Parser::SortedSymbolsForInput(const TextContext& input, in SortedSymbolsForInput()
254 std::vector<Derivation> Parser::Parse(const TextContext& input, in Parse()
Dparser_test.cc165 TextContext context = TextContextForText("Please dial 911"); in TEST_F()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc116 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()
Dgrammar-annotator.h68 const grammar::TextContext& input_context,
75 const grammar::TextContext& input_context,
/external/libtextclassifier/native/actions/
Dgrammar-actions.cc40 const grammar::TextContext& text_context, const int message_index, in InstantiateActionsFromMatch()
145 grammar::TextContext text = analyzer_.BuildTextContextForInput( in SuggestActions()
Dgrammar-actions.h49 bool InstantiateActionsFromMatch(const grammar::TextContext& text_context,
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dspan-eval_test.cc37 TextContext text = TextContextForText("This a test."); in TEST_F()
/external/libtextclassifier/native/utils/grammar/testing/
Dutils.h79 TextContext TextContextForText(const std::string& text) { in TextContextForText()
80 TextContext context; in TextContextForText()