From f0854b53aa7a1550656284aa9922507ba8c670b0 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 19 Jan 2021 10:04:02 +0100 Subject: [PATCH] Added comments --- app/CMakeLists.txt | 6 ++++++ app/src/main/java/eu/faircode/email/TextHelper.java | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 9bbde589fa..aaec3598bb 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -5,11 +5,14 @@ cmake_minimum_required(VERSION 3.4.1) add_library(fairemail SHARED src/main/jni/fairemail.cc + + #https://github.com/google/compact_enc_det src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det.cc src/main/jni/compact_enc_det/compact_enc_det/compact_enc_det_hint_code.cc src/main/jni/compact_enc_det/util/encodings/encodings.cc src/main/jni/compact_enc_det/util/languages/languages.cc + #https://github.com/google/cld3 src/main/jni/cld_3/src/base.cc src/main/jni/cld_3/src/embedding_feature_extractor.cc src/main/jni/cld_3/src/embedding_network.cc @@ -34,10 +37,13 @@ add_library(fairemail SHARED src/main/jni/cld_3/src/unicodetext.cc src/main/jni/cld_3/src/utils.cc src/main/jni/cld_3/src/workspace.cc + + #protobuf 3.6.1.3 src/main/jni/cld_3/protos/feature_extractor.pb.cc src/main/jni/cld_3/protos/sentence.pb.cc src/main/jni/cld_3/protos/task_spec.pb.cc + #https://github.com/protocolbuffers/protobuf/ src/main/jni/google/protobuf/stubs/bytestream.cc src/main/jni/google/protobuf/stubs/bytestream.h src/main/jni/google/protobuf/stubs/common.cc diff --git a/app/src/main/java/eu/faircode/email/TextHelper.java b/app/src/main/java/eu/faircode/email/TextHelper.java index e135187be1..712012371c 100644 --- a/app/src/main/java/eu/faircode/email/TextHelper.java +++ b/app/src/main/java/eu/faircode/email/TextHelper.java @@ -64,7 +64,6 @@ public class TextHelper { System.arraycopy(octets, 0, sample, 0, MAX_SAMPLE_SIZE); } - // https://github.com/google/cld3 Log.i("cld3 sample=" + sample.length); DetectResult result = jni_detect_language(sample); Log.i("Language=" + result);