Added comments

pull/193/head
M66B 4 years ago
parent d0555b522d
commit f0854b53aa

@ -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

@ -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);

Loading…
Cancel
Save