Home | History | Annotate | Download | only in libtextclassifier

Lines Matching refs:string

24 #include <string>
42 std::string locales;
54 std::string reference_timezone;
58 std::string locales;
70 std::string reference_timezone;
74 std::string locales;
121 const std::string& path, const UniLib* unilib = nullptr);
135 const std::string& context, CodepointSpan click_indices,
138 // Classifies the selected text given the context string.
141 const std::string& context, CodepointSpan selection_indices,
146 // in the context string and exclude spans classified as 'other'.
148 const std::string& context,
158 // String collection names for various classes.
159 static const std::string& kOtherCollection;
160 static const std::string& kPhoneCollection;
161 static const std::string& kAddressCollection;
162 static const std::string& kDateCollection;
202 const std::string& context,
210 bool ResolveConflict(const std::string& context,
218 // Provides the tokens produced during tokenization of the context string for
226 // Classifies the selected text given the context string with the
230 const std::string& context, const std::vector<Token>& cached_tokens,
236 const std::string& context, CodepointSpan selection_indices,
248 bool RegexClassifyText(const std::string& context,
254 bool DatetimeClassifyText(const std::string& context,
261 // The annotations are sorted by their position in the context string and
263 // Provides the tokens produced during tokenization of the context string for
265 bool ModelAnnotate(const std::string& context,
272 // are non-overlapping and are sorted by their position in the context string.
310 const std::string& reference_timezone,
311 const std::string& locales, ModeFlag mode,
333 std::string collection_name;
344 std::unordered_set<std::string> filtered_collections_annotation_;
345 std::unordered_set<std::string> filtered_collections_classification_;
346 std::unordered_set<std::string> filtered_collections_selection_;