Home
last modified time | relevance | path

Searched refs:libtextclassifier3 (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/libtextclassifier/native/actions/
Dactions_jni.cc41 using libtextclassifier3::ActionsSuggestions;
42 using libtextclassifier3::ActionsSuggestionsResponse;
43 using libtextclassifier3::ActionSuggestion;
44 using libtextclassifier3::ActionSuggestionOptions;
45 using libtextclassifier3::Annotator;
46 using libtextclassifier3::Conversation;
47 using libtextclassifier3::IntentGenerator;
48 using libtextclassifier3::ScopedLocalRef;
49 using libtextclassifier3::StatusOr;
50 using libtextclassifier3::ToStlString;
[all …]
Dactions_model.fbs31 namespace libtextclassifier3;
40 namespace libtextclassifier3;
49 namespace libtextclassifier3.TensorflowLiteModelSpec_;
56 namespace libtextclassifier3;
125 namespace libtextclassifier3;
146 namespace libtextclassifier3;
214 namespace libtextclassifier3;
248 namespace libtextclassifier3;
290 namespace libtextclassifier3;
311 namespace libtextclassifier3;
[all …]
Dactions-suggestions.cc36 namespace libtextclassifier3 { namespace
113 std::unique_ptr<libtextclassifier3::ScopedMmap> mmap, const UniLib* unilib, in FromScopedMmap()
139 std::unique_ptr<libtextclassifier3::ScopedMmap> mmap, in FromScopedMmap()
169 std::unique_ptr<libtextclassifier3::ScopedMmap> mmap; in FromFileDescriptor()
171 mmap.reset(new libtextclassifier3::ScopedMmap(fd, offset, size)); in FromFileDescriptor()
173 mmap.reset(new libtextclassifier3::ScopedMmap(fd)); in FromFileDescriptor()
183 std::unique_ptr<libtextclassifier3::ScopedMmap> mmap; in FromFileDescriptor()
185 mmap.reset(new libtextclassifier3::ScopedMmap(fd, offset, size)); in FromFileDescriptor()
187 mmap.reset(new libtextclassifier3::ScopedMmap(fd)); in FromFileDescriptor()
196 std::unique_ptr<libtextclassifier3::ScopedMmap> mmap( in FromFileDescriptor()
[all …]
/external/libtextclassifier/native/utils/utf8/
Dunilib.h40 namespace libtextclassifier3 {
92 return libtextclassifier3::IsPercentage(codepoint); in IsPercentage()
96 return libtextclassifier3::IsSlash(codepoint); in IsSlash()
100 return libtextclassifier3::IsMinus(codepoint); in IsMinus()
104 return libtextclassifier3::IsNumberSign(codepoint); in IsNumberSign()
108 return libtextclassifier3::IsDot(codepoint); in IsDot()
112 return libtextclassifier3::IsLatinLetter(codepoint); in IsLatinLetter()
116 return libtextclassifier3::IsArabicLetter(codepoint); in IsArabicLetter()
120 return libtextclassifier3::IsCyrillicLetter(codepoint); in IsCyrillicLetter()
124 return libtextclassifier3::IsChineseLetter(codepoint); in IsChineseLetter()
[all …]
Dunilib-javaicu.cc32 namespace libtextclassifier3 { namespace
42 return libtextclassifier3::IsOpeningBracket(codepoint); in IsOpeningBracket()
46 return libtextclassifier3::IsClosingBracket(codepoint); in IsClosingBracket()
50 return libtextclassifier3::IsWhitespace(codepoint); in IsWhitespace()
54 return libtextclassifier3::IsDigit(codepoint); in IsDigit()
58 return libtextclassifier3::IsLower(codepoint); in IsLower()
62 return libtextclassifier3::IsUpper(codepoint); in IsUpper()
66 return libtextclassifier3::IsPunctuation(codepoint); in IsPunctuation()
70 return libtextclassifier3::ToLower(codepoint); in ToLower()
74 return libtextclassifier3::ToUpper(codepoint); in ToUpper()
[all …]
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc51 using libtextclassifier3::AnnotatedSpan;
52 using libtextclassifier3::Annotator;
53 using libtextclassifier3::ClassificationResult;
54 using libtextclassifier3::CodepointSpan;
55 using libtextclassifier3::JniHelper;
56 using libtextclassifier3::Model;
57 using libtextclassifier3::ScopedLocalRef;
58 using libtextclassifier3::StatusOr;
63 using libtextclassifier3::CalendarLib;
64 using libtextclassifier3::UniLib;
[all …]
Dentity-data.fbs17 namespace libtextclassifier3.EntityData_.Datetime_;
29 namespace libtextclassifier3.EntityData_.Datetime_.DatetimeComponent_;
46 namespace libtextclassifier3.EntityData_.Datetime_.DatetimeComponent_;
61 namespace libtextclassifier3.EntityData_.Datetime_;
69 namespace libtextclassifier3.EntityData_;
76 namespace libtextclassifier3.EntityData_;
86 namespace libtextclassifier3.EntityData_;
93 namespace libtextclassifier3.EntityData_.PaymentCard_;
110 namespace libtextclassifier3.EntityData_;
119 namespace libtextclassifier3.EntityData_;
[all …]
Dmodel.fbs32 namespace libtextclassifier3;
45 namespace libtextclassifier3;
56 namespace libtextclassifier3;
136 namespace libtextclassifier3;
160 namespace libtextclassifier3;
180 namespace libtextclassifier3;
195 namespace libtextclassifier3;
207 namespace libtextclassifier3;
228 namespace libtextclassifier3.RegexModel_;
263 namespace libtextclassifier3;
[all …]
Dannotator_jni.h112 namespace libtextclassifier3 {
116 libtextclassifier3::CodepointSpan ConvertIndicesBMPToUTF8(
117 const std::string& utf8_str, libtextclassifier3::CodepointSpan bmp_indices);
121 libtextclassifier3::CodepointSpan ConvertIndicesUTF8ToBMP(
123 libtextclassifier3::CodepointSpan utf8_indices);
/external/libtextclassifier/native/lang_id/
Dlang-id-wrapper.cc24 namespace libtextclassifier3 { namespace
28 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromPath( in LoadFromPath()
30 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> langid_model = in LoadFromPath()
31 libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile(langid_model_path); in LoadFromPath()
35 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromDescriptor( in LoadFromDescriptor()
37 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> langid_model = in LoadFromDescriptor()
38 libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFileDescriptor( in LoadFromDescriptor()
44 const libtextclassifier3::mobile::lang_id::LangId* model, const std::string& text) { in GetPredictions()
49 const libtextclassifier3::mobile::lang_id::LangId* model, const char* text, in GetPredictions()
66 libtextclassifier3::mobile::lang_id::LangIdResult langid_result; in GetPredictions()
[all …]
Dlang-id-wrapper.h26 namespace libtextclassifier3 {
31 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromPath(
35 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromDescriptor(
42 const libtextclassifier3::mobile::lang_id::LangId* model, const std::string& text);
46 const libtextclassifier3::mobile::lang_id::LangId* model, const char* text,
51 std::string GetLanguageTags(const libtextclassifier3::mobile::lang_id::LangId* model,
Dlang-id_jni.cc30 using libtextclassifier3::JniHelper;
31 using libtextclassifier3::ScopedLocalRef;
32 using libtextclassifier3::StatusOr;
33 using libtextclassifier3::ToStlString;
34 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile;
35 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFileDescriptor;
36 using libtextclassifier3::mobile::lang_id::LangId;
37 using libtextclassifier3::mobile::lang_id::LangIdResult;
105 libtextclassifier3::langid::GetPredictions(model, text_str); in TC3_JNI_METHOD()
Dlang-id.cc46 namespace libtextclassifier3 { namespace
201 libtextclassifier3::mobile::ApproxScriptDetector::RegisterClass(); in RegisterClasses()
202 libtextclassifier3::mobile::lang_id::ContinuousBagOfNgramsFunction::RegisterClass(); in RegisterClasses()
203 libtextclassifier3::mobile::lang_id::TinyScriptDetector::RegisterClass(); in RegisterClasses()
204 libtextclassifier3::mobile::lang_id::RelevantScriptFeature::RegisterClass(); in RegisterClasses()
/external/libtextclassifier/native/annotator/grammar/dates/
Ddates.fbs21 namespace libtextclassifier3.dates;
60 namespace libtextclassifier3.dates;
67 namespace libtextclassifier3.dates;
79 namespace libtextclassifier3.dates;
92 namespace libtextclassifier3.dates;
104 namespace libtextclassifier3.dates;
116 namespace libtextclassifier3.dates;
134 namespace libtextclassifier3.dates.RelativeParameter_;
146 namespace libtextclassifier3.dates.RelativeParameter_;
157 namespace libtextclassifier3.dates.RelativeParameter_;
[all …]
/external/libtextclassifier/native/utils/grammar/
Drules.fbs24 namespace libtextclassifier3.grammar.RulesSet_.Rules_;
40 namespace libtextclassifier3.grammar.RulesSet_.Rules_;
48 namespace libtextclassifier3.grammar.RulesSet_.Rules_;
62 namespace libtextclassifier3.grammar.RulesSet_.Rules_;
67 namespace libtextclassifier3.grammar.RulesSet_;
92 namespace libtextclassifier3.grammar.RulesSet_;
97 namespace libtextclassifier3.grammar.RulesSet_;
113 namespace libtextclassifier3.grammar.RulesSet_.Nonterminals_;
121 namespace libtextclassifier3.grammar.RulesSet_;
151 namespace libtextclassifier3.grammar.RulesSet_;
[all …]
/external/libtextclassifier/native/lang_id/common/lite_base/
Dcompact-logging.h27 namespace libtextclassifier3 {
111 ::libtextclassifier3::mobile::internal_logging::LogMessage( \
112 ::libtextclassifier3::mobile::internal_logging::severity, __FILE__, __LINE__) \
132 ::libtextclassifier3::mobile::internal_logging::NullStream().stream()
170 ::libtextclassifier3::mobile::internal_logging::LogMessage( \
171 ::libtextclassifier3::mobile::internal_logging::INFO, __FILE__, __LINE__) \
Dcompact-logging-levels.h21 namespace libtextclassifier3 {
31 namespace libtextclassifier3 {
Dcompact-logging-raw.cc30 namespace libtextclassifier3 { namespace
71 namespace libtextclassifier3 { namespace
/external/libtextclassifier/native/utils/intents/
Dintent-config.fbs20 namespace libtextclassifier3;
48 namespace libtextclassifier3;
62 namespace libtextclassifier3;
81 namespace libtextclassifier3;
87 namespace libtextclassifier3;
99 namespace libtextclassifier3;
109 namespace libtextclassifier3;
126 namespace libtextclassifier3;
140 namespace libtextclassifier3;
156 namespace libtextclassifier3;
[all …]
/external/libtextclassifier/native/utils/base/
Dlogging.h28 namespace libtextclassifier3 {
123 ::libtextclassifier3::logging::LogMessage( \
124 ::libtextclassifier3::logging::severity, __FILE__, __LINE__) \
143 #define TC3_NULLSTREAM ::libtextclassifier3::logging::NullStream().stream()
173 ::libtextclassifier3::logging::LogMessage( \
174 ::libtextclassifier3::logging::INFO, __FILE__, __LINE__) \
/external/libtextclassifier/native/annotator/translate/
Dtranslate.h26 namespace libtextclassifier3 {
33 const libtextclassifier3::mobile::lang_id::LangId* langid_model, in TranslateAnnotator()
75 const libtextclassifier3::mobile::lang_id::LangId* langid_model_;
/external/libtextclassifier/native/utils/
Dresources.fbs20 namespace libtextclassifier3;
27 namespace libtextclassifier3;
33 namespace libtextclassifier3;
/external/libtextclassifier/native/lang_id/common/
Dutf8.h21 namespace libtextclassifier3 {
35 namespace libtextclassifier3 {
Dregistry.h137 namespace libtextclassifier3 {
295 const char ::libtextclassifier3::mobile::RegisterableClass<base_class>::kRegistryName[]
301 ::libtextclassifier3::mobile::RegisterableClass<base_class>::kRegistryName[] \
/external/libtextclassifier/native/lang_id/common/math/
Dhash.h21 namespace libtextclassifier3 {
35 namespace libtextclassifier3 {

12345678910>>...14