cld3 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/LICENSE +2 -2
- data/cld3.gemspec +4 -4
- data/ext/cld3/Makefile +46 -45
- data/ext/cld3/base.o +0 -0
- data/ext/cld3/embedding_feature_extractor.o +0 -0
- data/ext/cld3/embedding_network.o +0 -0
- data/ext/cld3/extconf.rb +1 -1
- data/ext/cld3/feature_extractor.o +0 -0
- data/ext/cld3/feature_extractor.pb.o +0 -0
- data/ext/cld3/feature_types.o +0 -0
- data/ext/cld3/fixunicodevalue.o +0 -0
- data/ext/cld3/fml_parser.o +0 -0
- data/ext/cld3/generated_entities.o +0 -0
- data/ext/cld3/generated_ulscript.o +0 -0
- data/ext/cld3/getonescriptspan.o +0 -0
- data/ext/cld3/lang_id_nn_params.o +0 -0
- data/ext/cld3/language_identifier_features.o +0 -0
- data/ext/cld3/libcld3.so +0 -0
- data/ext/cld3/mkmf.log +2 -2
- data/ext/cld3/nnet_language_identifier.o +0 -0
- data/ext/cld3/nnet_language_identifier_c.cc +1 -1
- data/ext/cld3/nnet_language_identifier_c.o +0 -0
- data/ext/cld3/offsetmap.o +0 -0
- data/ext/cld3/registry.o +0 -0
- data/ext/cld3/relevant_script_feature.o +0 -0
- data/ext/cld3/sentence.pb.o +0 -0
- data/ext/cld3/sentence_features.o +0 -0
- data/ext/cld3/task_context.o +0 -0
- data/ext/cld3/task_context_params.o +0 -0
- data/ext/cld3/task_spec.pb.o +0 -0
- data/ext/cld3/text_processing.o +0 -0
- data/ext/cld3/unicodetext.o +0 -0
- data/ext/cld3/utf8statetable.o +0 -0
- data/ext/cld3/utils.o +0 -0
- data/ext/cld3/workspace.o +0 -0
- data/lib/cld3.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5b3cc203abda97cb85d5dee0983b7f63c626397b8af8b90e2110bb5fedbbdec
|
|
4
|
+
data.tar.gz: 197f66798925404ded7af722d0194a705018d6953b11f4576c4e180ea093675d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 855e8ee464a2842906bfef211e2afb21820fe9a7449b58d91b9ab1908c997966b9dd4c2d5d51f82ceb84b65b5a118736a5aa4eff6ea9548b9a9abc61b297a9d0
|
|
7
|
+
data.tar.gz: e38ddfd81489aeb83bccc7b509dd17ea79c56ba641de37cac2d800d3428ed31e5ac57066016bd118e9e71c30c78d31b4c38a266abe012065495558adf07e68f5
|
data/Gemfile
CHANGED
data/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2017 Akihiko Odaki <
|
|
1
|
+
Copyright 2017 Akihiko Odaki <akihiko.odaki@gmail.com>
|
|
2
2
|
All rights reserved.
|
|
3
3
|
|
|
4
4
|
Apache License
|
|
@@ -189,7 +189,7 @@ All rights reserved.
|
|
|
189
189
|
same "printed page" as the copyright notice for easier
|
|
190
190
|
identification within third-party archives.
|
|
191
191
|
|
|
192
|
-
Copyright 2017, Akihiko Odaki <
|
|
192
|
+
Copyright 2017, Akihiko Odaki <akihiko.odaki@gmail.com>
|
|
193
193
|
|
|
194
194
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
195
195
|
you may not use this file except in compliance with the License.
|
data/cld3.gemspec
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2017 Akihiko Odaki <
|
|
1
|
+
# Copyright 2017 Akihiko Odaki <akihiko.odaki@gmail.com>
|
|
2
2
|
# All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
|
|
17
17
|
Gem::Specification.new do |gem|
|
|
18
18
|
gem.name = "cld3"
|
|
19
|
-
gem.version = "3.4.
|
|
19
|
+
gem.version = "3.4.2"
|
|
20
20
|
gem.summary = "Compact Language Detector v3 (CLD3)"
|
|
21
21
|
gem.description = "Compact Language Detector v3 (CLD3) is a neural network model for language identification."
|
|
22
22
|
gem.license = "Apache-2.0"
|
|
23
23
|
gem.homepage = "https://github.com/akihikodaki/cld3-ruby"
|
|
24
24
|
gem.author = "Akihiko Odaki"
|
|
25
|
-
gem.email = "
|
|
25
|
+
gem.email = "akihiko.odaki@gmail.com"
|
|
26
26
|
gem.required_ruby_version = [ ">= 2.6.0", "< 3.1.0" ]
|
|
27
|
-
gem.add_dependency "ffi", [ ">= 1.1.0", "< 1.
|
|
27
|
+
gem.add_dependency "ffi", [ ">= 1.1.0", "< 1.16.0" ]
|
|
28
28
|
gem.add_development_dependency "rspec", [ ">=3.0.0", "< 3.11.0" ]
|
|
29
29
|
gem.files = Dir[
|
|
30
30
|
"Gemfile", "LICENSE", "LICENSE_CLD3", "README.md",
|
data/ext/cld3/Makefile
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
SHELL = /bin/sh
|
|
3
3
|
|
|
4
4
|
# V=0 quiet, V=1 verbose. other values don't work.
|
|
5
|
-
V =
|
|
5
|
+
V = 1
|
|
6
6
|
Q1 = $(V:1=)
|
|
7
7
|
Q = $(Q1:0=@)
|
|
8
8
|
ECHO1 = $(V:1=@ :)
|
|
@@ -12,53 +12,54 @@ NULLCMD = :
|
|
|
12
12
|
#### Start of system configuration section. ####
|
|
13
13
|
|
|
14
14
|
srcdir = .
|
|
15
|
-
topdir = /
|
|
15
|
+
topdir = /usr/include
|
|
16
16
|
hdrdir = $(topdir)
|
|
17
|
-
arch_hdrdir = /
|
|
17
|
+
arch_hdrdir = /usr/include
|
|
18
18
|
PATH_SEPARATOR = :
|
|
19
19
|
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
|
20
|
-
prefix = $(DESTDIR)/
|
|
21
|
-
rubysitearchprefix = $(
|
|
22
|
-
rubyarchprefix = $(
|
|
23
|
-
rubylibprefix = $(
|
|
24
|
-
exec_prefix = $(
|
|
25
|
-
vendorarchhdrdir = $(vendorhdrdir)/$(
|
|
26
|
-
sitearchhdrdir = $(sitehdrdir)/$(
|
|
27
|
-
rubyarchhdrdir = $(
|
|
20
|
+
prefix = $(DESTDIR)/usr
|
|
21
|
+
rubysitearchprefix = $(sitearchlibdir)/$(RUBY_BASE_NAME)
|
|
22
|
+
rubyarchprefix = $(DESTDIR)/usr/lib64/ruby
|
|
23
|
+
rubylibprefix = $(exec_prefix)/share/ruby
|
|
24
|
+
exec_prefix = $(DESTDIR)/usr
|
|
25
|
+
vendorarchhdrdir = $(vendorhdrdir)/$(arch)
|
|
26
|
+
sitearchhdrdir = $(sitehdrdir)/$(arch)
|
|
27
|
+
rubyarchhdrdir = $(DESTDIR)/usr/include
|
|
28
28
|
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
|
29
29
|
sitehdrdir = $(rubyhdrdir)/site_ruby
|
|
30
|
-
rubyhdrdir = $(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
rubyhdrdir = $(DESTDIR)/usr/include
|
|
31
|
+
rubygemsdir = $(DESTDIR)/usr/share/rubygems
|
|
32
|
+
vendorarchdir = $(DESTDIR)/usr/lib64/ruby/vendor_ruby
|
|
33
|
+
vendorlibdir = $(vendordir)
|
|
34
|
+
vendordir = $(DESTDIR)/usr/share/ruby/vendor_ruby
|
|
35
|
+
sitearchdir = $(DESTDIR)/usr/local/lib64/ruby/site_ruby
|
|
36
|
+
sitelibdir = $(sitedir)
|
|
37
|
+
sitedir = $(DESTDIR)/usr/local/share/ruby/site_ruby
|
|
38
|
+
rubyarchdir = $(rubyarchprefix)
|
|
39
|
+
rubylibdir = $(rubylibprefix)
|
|
39
40
|
sitearchincludedir = $(includedir)/$(sitearch)
|
|
40
41
|
archincludedir = $(includedir)/$(arch)
|
|
41
42
|
sitearchlibdir = $(libdir)/$(sitearch)
|
|
42
|
-
archlibdir = $(
|
|
43
|
+
archlibdir = $(DESTDIR)/usr/lib64
|
|
43
44
|
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
|
44
|
-
mandir = $(
|
|
45
|
+
mandir = $(DESTDIR)/usr/share/man
|
|
45
46
|
localedir = $(datarootdir)/locale
|
|
46
|
-
libdir = $(exec_prefix)/
|
|
47
|
+
libdir = $(exec_prefix)/lib64
|
|
47
48
|
psdir = $(docdir)
|
|
48
49
|
pdfdir = $(docdir)
|
|
49
50
|
dvidir = $(docdir)
|
|
50
51
|
htmldir = $(docdir)
|
|
51
|
-
infodir = $(
|
|
52
|
+
infodir = $(DESTDIR)/usr/share/info
|
|
52
53
|
docdir = $(datarootdir)/doc/$(PACKAGE)
|
|
53
54
|
oldincludedir = $(DESTDIR)/usr/include
|
|
54
|
-
includedir = $(
|
|
55
|
-
localstatedir = $(
|
|
56
|
-
sharedstatedir = $(
|
|
57
|
-
sysconfdir = $(
|
|
58
|
-
datadir = $(
|
|
55
|
+
includedir = $(DESTDIR)/usr/include
|
|
56
|
+
localstatedir = $(DESTDIR)/var
|
|
57
|
+
sharedstatedir = $(DESTDIR)/var/lib
|
|
58
|
+
sysconfdir = $(DESTDIR)/etc
|
|
59
|
+
datadir = $(DESTDIR)/usr/share
|
|
59
60
|
datarootdir = $(prefix)/share
|
|
60
|
-
libexecdir = $(
|
|
61
|
-
sbindir = $(
|
|
61
|
+
libexecdir = $(DESTDIR)/usr/libexec
|
|
62
|
+
sbindir = $(DESTDIR)/usr/sbin
|
|
62
63
|
bindir = $(exec_prefix)/bin
|
|
63
64
|
archdir = $(rubyarchdir)
|
|
64
65
|
|
|
@@ -66,10 +67,10 @@ archdir = $(rubyarchdir)
|
|
|
66
67
|
CC_WRAPPER =
|
|
67
68
|
CC = gcc
|
|
68
69
|
CXX = g++
|
|
69
|
-
LIBRUBY = $(
|
|
70
|
+
LIBRUBY = $(LIBRUBY_SO)
|
|
70
71
|
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
|
71
|
-
LIBRUBYARG_SHARED = -
|
|
72
|
-
LIBRUBYARG_STATIC = -
|
|
72
|
+
LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
|
73
|
+
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static $(MAINLIBS)
|
|
73
74
|
empty =
|
|
74
75
|
OUTFLAG = -o $(empty)
|
|
75
76
|
COUTFLAG = -o $(empty)
|
|
@@ -83,30 +84,30 @@ debugflags = -ggdb3
|
|
|
83
84
|
warnflags = -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable
|
|
84
85
|
cppflags =
|
|
85
86
|
CCDLFLAGS = -fPIC
|
|
86
|
-
CFLAGS = $(CCDLFLAGS)
|
|
87
|
+
CFLAGS = $(CCDLFLAGS) -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC $(ARCH_FLAG)
|
|
87
88
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
|
88
89
|
DEFS =
|
|
89
90
|
CPPFLAGS = $(DEFS) $(cppflags)
|
|
90
|
-
CXXFLAGS = $(CCDLFLAGS)
|
|
91
|
-
ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
|
|
92
|
-
dldflags = -Wl,--
|
|
91
|
+
CXXFLAGS = $(CCDLFLAGS) -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fvisibility=hidden -std=c++11 $(ARCH_FLAG)
|
|
92
|
+
ldflags = -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic
|
|
93
|
+
dldflags = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
|
|
93
94
|
ARCH_FLAG =
|
|
94
95
|
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
|
95
96
|
LDSHARED = $(CC) -shared
|
|
96
97
|
LDSHAREDXX = $(CXX) -shared
|
|
97
|
-
AR =
|
|
98
|
+
AR = ar
|
|
98
99
|
EXEEXT =
|
|
99
100
|
|
|
100
101
|
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
|
101
102
|
RUBY_SO_NAME = ruby
|
|
102
103
|
RUBYW_INSTALL_NAME =
|
|
103
|
-
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(
|
|
104
|
+
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version_dir_name)
|
|
104
105
|
RUBYW_BASE_NAME = rubyw
|
|
105
106
|
RUBY_BASE_NAME = ruby
|
|
106
107
|
|
|
107
|
-
arch =
|
|
108
|
+
arch = aarch64-linux
|
|
108
109
|
sitearch = $(arch)
|
|
109
|
-
ruby_version =
|
|
110
|
+
ruby_version = 2.7.0
|
|
110
111
|
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
|
111
112
|
RUBY = $(ruby)
|
|
112
113
|
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
|
|
@@ -124,8 +125,8 @@ TOUCH = exit >
|
|
|
124
125
|
#### End of system configuration section. ####
|
|
125
126
|
|
|
126
127
|
preload =
|
|
127
|
-
libpath = . $(
|
|
128
|
-
LIBPATH = -L. -L$(
|
|
128
|
+
libpath = . $(archlibdir)
|
|
129
|
+
LIBPATH = -L. -L$(archlibdir)
|
|
129
130
|
DEFFILE =
|
|
130
131
|
|
|
131
132
|
CLEANFILES = mkmf.log
|
|
@@ -140,7 +141,7 @@ LIBS = -lprotobuf -lpthread -lm -lc
|
|
|
140
141
|
ORIG_SRCS = base.cc embedding_feature_extractor.cc embedding_network.cc feature_extractor.cc feature_extractor.pb.cc feature_types.cc fixunicodevalue.cc fml_parser.cc generated_entities.cc generated_ulscript.cc getonescriptspan.cc lang_id_nn_params.cc language_identifier_features.cc nnet_language_identifier.cc nnet_language_identifier_c.cc offsetmap.cc registry.cc relevant_script_feature.cc sentence.pb.cc sentence_features.cc task_context.cc task_context_params.cc task_spec.pb.cc text_processing.cc unicodetext.cc utf8statetable.cc utils.cc workspace.cc
|
|
141
142
|
SRCS = $(ORIG_SRCS)
|
|
142
143
|
OBJS = base.o embedding_feature_extractor.o embedding_network.o feature_extractor.o feature_extractor.pb.o feature_types.o fixunicodevalue.o fml_parser.o generated_entities.o generated_ulscript.o getonescriptspan.o lang_id_nn_params.o language_identifier_features.o nnet_language_identifier.o nnet_language_identifier_c.o offsetmap.o registry.o relevant_script_feature.o sentence.pb.o sentence_features.o task_context.o task_context_params.o task_spec.pb.o text_processing.o unicodetext.o utf8statetable.o utils.o workspace.o
|
|
143
|
-
HDRS = $(srcdir)/base.h $(srcdir)/casts.h $(srcdir)/embedding_feature_extractor.h $(srcdir)/embedding_network.h $(srcdir)/embedding_network_params.h $(srcdir)/feature_extractor.h $(srcdir)/
|
|
144
|
+
HDRS = $(srcdir)/base.h $(srcdir)/casts.h $(srcdir)/embedding_feature_extractor.h $(srcdir)/embedding_network.h $(srcdir)/embedding_network_params.h $(srcdir)/feature_extractor.h $(srcdir)/feature_types.h $(srcdir)/float16.h $(srcdir)/fml_parser.h $(srcdir)/language_identifier_features.h $(srcdir)/lang_id_nn_params.h $(srcdir)/nnet_language_identifier.h $(srcdir)/registry.h $(srcdir)/relevant_script_feature.h $(srcdir)/script_detector.h $(srcdir)/sentence_features.h $(srcdir)/simple_adder.h $(srcdir)/fixunicodevalue.h $(srcdir)/generated_ulscript.h $(srcdir)/getonescriptspan.h $(srcdir)/integral_types.h $(srcdir)/offsetmap.h $(srcdir)/port.h $(srcdir)/stringpiece.h $(srcdir)/text_processing.h $(srcdir)/utf8acceptinterchange.h $(srcdir)/utf8prop_lettermarkscriptnum.h $(srcdir)/utf8repl_lettermarklower.h $(srcdir)/utf8scannot_lettermarkspecial.h $(srcdir)/utf8statetable.h $(srcdir)/task_context.h $(srcdir)/task_context_params.h $(srcdir)/unicodetext.h $(srcdir)/utils.h $(srcdir)/workspace.h $(srcdir)/feature_extractor.pb.h $(srcdir)/sentence.pb.h $(srcdir)/task_spec.pb.h
|
|
144
145
|
LOCAL_HDRS =
|
|
145
146
|
TARGET = libcld3
|
|
146
147
|
TARGET_NAME = libcld3
|
data/ext/cld3/base.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/ext/cld3/extconf.rb
CHANGED
|
Binary file
|
|
Binary file
|
data/ext/cld3/feature_types.o
CHANGED
|
Binary file
|
data/ext/cld3/fixunicodevalue.o
CHANGED
|
Binary file
|
data/ext/cld3/fml_parser.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/ext/cld3/getonescriptspan.o
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/ext/cld3/libcld3.so
CHANGED
|
Binary file
|
data/ext/cld3/mkmf.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"pkg-config --exists protobuf"
|
|
2
2
|
| pkg-config --libs protobuf
|
|
3
3
|
=> "-lprotobuf -lpthread \n"
|
|
4
|
-
"gcc -o conftest -I/
|
|
4
|
+
"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lruby -lm -lc"
|
|
5
5
|
checked program was:
|
|
6
6
|
/* begin */
|
|
7
7
|
1: #include "ruby.h"
|
|
@@ -12,7 +12,7 @@ checked program was:
|
|
|
12
12
|
6: }
|
|
13
13
|
/* end */
|
|
14
14
|
|
|
15
|
-
"gcc -o conftest -I/
|
|
15
|
+
"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lruby -lprotobuf -lpthread -lm -lc"
|
|
16
16
|
checked program was:
|
|
17
17
|
/* begin */
|
|
18
18
|
1: #include "ruby.h"
|
|
Binary file
|
|
Binary file
|
data/ext/cld3/offsetmap.o
CHANGED
|
Binary file
|
data/ext/cld3/registry.o
CHANGED
|
Binary file
|
|
Binary file
|
data/ext/cld3/sentence.pb.o
CHANGED
|
Binary file
|
|
Binary file
|
data/ext/cld3/task_context.o
CHANGED
|
Binary file
|
|
Binary file
|
data/ext/cld3/task_spec.pb.o
CHANGED
|
Binary file
|
data/ext/cld3/text_processing.o
CHANGED
|
Binary file
|
data/ext/cld3/unicodetext.o
CHANGED
|
Binary file
|
data/ext/cld3/utf8statetable.o
CHANGED
|
Binary file
|
data/ext/cld3/utils.o
CHANGED
|
Binary file
|
data/ext/cld3/workspace.o
CHANGED
|
Binary file
|
data/lib/cld3.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# File including an implementation of CLD3 module. Some documentations are
|
|
2
2
|
# extracted from ext/cld3/ext/src/nnet_language_identifier.h.
|
|
3
3
|
#
|
|
4
|
-
# Copyright 2017 Akihiko Odaki <
|
|
4
|
+
# Copyright 2017 Akihiko Odaki <akihiko.odaki@gmail.com>
|
|
5
5
|
# All Rights Reserved.
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cld3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akihiko Odaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: 1.1.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.
|
|
22
|
+
version: 1.16.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: 1.1.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.
|
|
32
|
+
version: 1.16.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: rspec
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
version: 3.11.0
|
|
53
53
|
description: Compact Language Detector v3 (CLD3) is a neural network model for language
|
|
54
54
|
identification.
|
|
55
|
-
email:
|
|
55
|
+
email: akihiko.odaki@gmail.com
|
|
56
56
|
executables: []
|
|
57
57
|
extensions:
|
|
58
58
|
- ext/cld3/extconf.rb
|