/external/libtextclassifier/native/lang_id/ |
D | lang-id_jni.cc | 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; 78 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() local 79 if (!lang_id->is_valid()) { in TC3_JNI_METHOD() 82 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD() 89 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); in TC3_JNI_METHOD() local 90 if (!lang_id->is_valid()) { in TC3_JNI_METHOD() 93 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD() [all …]
|
D | lang-id-wrapper.cc | 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() 43 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromUnownedBuffer( in LoadFromUnownedBuffer() 45 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> langid_model = in LoadFromUnownedBuffer() 46 libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferBytes(buffer, size); in LoadFromUnownedBuffer() 51 const libtextclassifier3::mobile::lang_id::LangId* model, const std::string& text) { in GetPredictions() [all …]
|
D | lang-id-wrapper.h | 31 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromPath( 35 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromDescriptor( 40 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> LoadFromUnownedBuffer( 47 const libtextclassifier3::mobile::lang_id::LangId* model, const std::string& text); 51 const libtextclassifier3::mobile::lang_id::LangId* model, const char* text, 56 std::string GetLanguageTags(const libtextclassifier3::mobile::lang_id::LangId* model,
|
D | lang-id.cc | 48 namespace lang_id { namespace 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()
|
D | light-sentence.h | 25 namespace lang_id {
|
D | custom-tokenizer.h | 28 namespace lang_id {
|
D | model-provider.h | 27 namespace lang_id {
|
D | lang-id.h | 33 namespace lang_id {
|
D | custom-tokenizer.cc | 30 namespace lang_id { namespace
|
/external/libtextclassifier/native/lang_id/features/ |
D | light-sentence-features.h | 26 namespace lang_id { 36 SAFTM_DECLARE_CLASS_REGISTRY_NAME(lang_id::LightSentenceFeature);
|
D | light-sentence-features.cc | 24 lang_id::LightSentenceFeature);
|
D | relevant-script-feature.h | 31 namespace lang_id {
|
D | char-ngram-feature.h | 32 namespace lang_id {
|
D | relevant-script-feature.cc | 30 namespace lang_id { namespace
|
D | char-ngram-feature.cc | 31 namespace lang_id { namespace
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.h | 33 const libtextclassifier3::mobile::lang_id::LangId* langid_model, in TranslateAnnotator() 75 const libtextclassifier3::mobile::lang_id::LangId* langid_model_;
|
D | translate_test.cc | 65 langid_model_(libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile( in TranslateAnnotatorTest() 71 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> langid_model_;
|
/external/libtextclassifier/native/lang_id/script/ |
D | tiny-script-detector.h | 24 namespace lang_id { 167 return libtextclassifier3::mobile::lang_id::GetScript(s, num_bytes); in GetScript()
|
D | tiny-script-detector.cc | 21 namespace lang_id { namespace
|
/external/libtextclassifier/native/ |
D | FlatBufferHeaders.bp | 33 srcs: ["lang_id/common/flatbuffers/embedding-network.fbs"], 34 out: ["lang_id/common/flatbuffers/embedding-network_generated.h"], 40 srcs: ["lang_id/common/flatbuffers/model.fbs"], 41 out: ["lang_id/common/flatbuffers/model_generated.h"],
|
/external/fonttools/Snippets/ |
D | rename-fonts.py | 33 for plat_id, enc_id, lang_id in (WINDOWS_ENGLISH_IDS, MAC_ROMAN_IDS): 42 langID=lang_id,
|
/external/libtextclassifier/native/lang_id/fb_model/ |
D | lang-id-from-fb.h | 30 namespace lang_id {
|
D | model-provider-from-fb.h | 33 namespace lang_id {
|
D | lang-id-from-fb.cc | 25 namespace lang_id { namespace
|
D | model-provider-from-fb.cc | 29 namespace lang_id { namespace
|