Home
last modified time | relevance | path

Searched refs:lang_id (Results 1 – 21 of 21) sorted by relevance

/external/libtextclassifier/lang_id/
Dlang-id_jni.cc30 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile;
31 using libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFileDescriptor;
32 using libtextclassifier3::mobile::lang_id::LangId;
33 using libtextclassifier3::mobile::lang_id::LangIdResult;
68 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFileDescriptor(fd); in TC3_JNI_METHOD() local
69 if (!lang_id->is_valid()) { in TC3_JNI_METHOD()
72 return reinterpret_cast<jlong>(lang_id.release()); in TC3_JNI_METHOD()
78 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); 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()
[all …]
Dlight-sentence.h25 namespace lang_id {
Dcustom-tokenizer.h28 namespace lang_id {
Dmodel-provider.h27 namespace lang_id {
Dlang-id.h33 namespace lang_id {
Dcustom-tokenizer.cc30 namespace lang_id { namespace
Dlang-id.cc43 namespace lang_id { namespace
/external/libtextclassifier/lang_id/features/
Dlight-sentence-features.h26 namespace lang_id {
36 SAFTM_DECLARE_CLASS_REGISTRY_NAME(lang_id::LightSentenceFeature);
Dlight-sentence-features.cc24 lang_id::LightSentenceFeature);
Drelevant-script-feature.h31 namespace lang_id {
Dchar-ngram-feature.h32 namespace lang_id {
Drelevant-script-feature.cc30 namespace lang_id { namespace
Dchar-ngram-feature.cc30 namespace lang_id { namespace
/external/libtextclassifier/
DAndroid.bp212 srcs: ["lang_id/common/flatbuffers/embedding-network.fbs"],
213 out: ["lang_id/common/flatbuffers/embedding-network_generated.h"],
219 srcs: ["lang_id/common/flatbuffers/model.fbs"],
220 out: ["lang_id/common/flatbuffers/model_generated.h"],
331 filename: "lang_id.model",
333 src: "models/lang_id.model",
/external/libtextclassifier/lang_id/script/
Dtiny-script-detector.h24 namespace lang_id {
167 return libtextclassifier3::mobile::lang_id::GetScript(s, num_bytes); in GetScript()
Dtiny-script-detector.cc21 namespace lang_id { namespace
/external/fonttools/Snippets/
Drename-fonts.py34 for plat_id, enc_id, lang_id in (WINDOWS_ENGLISH_IDS, MAC_ROMAN_IDS):
43 langID=lang_id,
/external/libtextclassifier/lang_id/fb_model/
Dlang-id-from-fb.h29 namespace lang_id {
Dlang-id-from-fb.cc23 namespace lang_id { namespace
Dmodel-provider-from-fb.h33 namespace lang_id {
Dmodel-provider-from-fb.cc26 namespace lang_id { namespace