opener-opinion-detector-basic 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/ext/hack/Rakefile +0 -2
  4. data/lib/opener/opinion_detector_basic/version.rb +1 -1
  5. data/opener-opinion-detector-basic.gemspec +0 -1
  6. data/task/compile.rake +1 -1
  7. data/task/requirements.rake +0 -1
  8. metadata +2 -142
  9. data/core/vendor/src/crfsuite/AUTHORS +0 -1
  10. data/core/vendor/src/crfsuite/COPYING +0 -27
  11. data/core/vendor/src/crfsuite/ChangeLog +0 -103
  12. data/core/vendor/src/crfsuite/INSTALL +0 -236
  13. data/core/vendor/src/crfsuite/Makefile.am +0 -19
  14. data/core/vendor/src/crfsuite/Makefile.in +0 -783
  15. data/core/vendor/src/crfsuite/README +0 -183
  16. data/core/vendor/src/crfsuite/aclocal.m4 +0 -9018
  17. data/core/vendor/src/crfsuite/autogen.sh +0 -38
  18. data/core/vendor/src/crfsuite/compile +0 -143
  19. data/core/vendor/src/crfsuite/config.guess +0 -1502
  20. data/core/vendor/src/crfsuite/config.h.in +0 -198
  21. data/core/vendor/src/crfsuite/config.sub +0 -1714
  22. data/core/vendor/src/crfsuite/configure +0 -14273
  23. data/core/vendor/src/crfsuite/configure.in +0 -149
  24. data/core/vendor/src/crfsuite/crfsuite.sln +0 -42
  25. data/core/vendor/src/crfsuite/depcomp +0 -630
  26. data/core/vendor/src/crfsuite/example/chunking.py +0 -49
  27. data/core/vendor/src/crfsuite/example/crfutils.py +0 -179
  28. data/core/vendor/src/crfsuite/example/ner.py +0 -270
  29. data/core/vendor/src/crfsuite/example/pos.py +0 -78
  30. data/core/vendor/src/crfsuite/example/template.py +0 -88
  31. data/core/vendor/src/crfsuite/frontend/Makefile.am +0 -29
  32. data/core/vendor/src/crfsuite/frontend/Makefile.in +0 -640
  33. data/core/vendor/src/crfsuite/frontend/dump.c +0 -116
  34. data/core/vendor/src/crfsuite/frontend/frontend.vcxproj +0 -129
  35. data/core/vendor/src/crfsuite/frontend/iwa.c +0 -273
  36. data/core/vendor/src/crfsuite/frontend/iwa.h +0 -65
  37. data/core/vendor/src/crfsuite/frontend/learn.c +0 -439
  38. data/core/vendor/src/crfsuite/frontend/main.c +0 -137
  39. data/core/vendor/src/crfsuite/frontend/option.c +0 -93
  40. data/core/vendor/src/crfsuite/frontend/option.h +0 -86
  41. data/core/vendor/src/crfsuite/frontend/readdata.h +0 -38
  42. data/core/vendor/src/crfsuite/frontend/reader.c +0 -136
  43. data/core/vendor/src/crfsuite/frontend/tag.c +0 -427
  44. data/core/vendor/src/crfsuite/genbinary.sh.in +0 -15
  45. data/core/vendor/src/crfsuite/include/Makefile.am +0 -11
  46. data/core/vendor/src/crfsuite/include/Makefile.in +0 -461
  47. data/core/vendor/src/crfsuite/include/crfsuite.h +0 -1063
  48. data/core/vendor/src/crfsuite/include/crfsuite.hpp +0 -555
  49. data/core/vendor/src/crfsuite/include/crfsuite_api.hpp +0 -400
  50. data/core/vendor/src/crfsuite/include/os.h +0 -61
  51. data/core/vendor/src/crfsuite/install-sh +0 -520
  52. data/core/vendor/src/crfsuite/lib/cqdb/COPYING +0 -28
  53. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.am +0 -21
  54. data/core/vendor/src/crfsuite/lib/cqdb/Makefile.in +0 -549
  55. data/core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj +0 -86
  56. data/core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h +0 -524
  57. data/core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c +0 -587
  58. data/core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c +0 -976
  59. data/core/vendor/src/crfsuite/lib/crf/Makefile.am +0 -46
  60. data/core/vendor/src/crfsuite/lib/crf/Makefile.in +0 -721
  61. data/core/vendor/src/crfsuite/lib/crf/crf.vcxproj +0 -216
  62. data/core/vendor/src/crfsuite/lib/crf/src/crf1d.h +0 -353
  63. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c +0 -705
  64. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c +0 -943
  65. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c +0 -352
  66. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c +0 -994
  67. data/core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c +0 -550
  68. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite.c +0 -492
  69. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h +0 -236
  70. data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c +0 -272
  71. data/core/vendor/src/crfsuite/lib/crf/src/dataset.c +0 -106
  72. data/core/vendor/src/crfsuite/lib/crf/src/dictionary.c +0 -118
  73. data/core/vendor/src/crfsuite/lib/crf/src/holdout.c +0 -80
  74. data/core/vendor/src/crfsuite/lib/crf/src/logging.c +0 -91
  75. data/core/vendor/src/crfsuite/lib/crf/src/logging.h +0 -48
  76. data/core/vendor/src/crfsuite/lib/crf/src/params.c +0 -335
  77. data/core/vendor/src/crfsuite/lib/crf/src/params.h +0 -80
  78. data/core/vendor/src/crfsuite/lib/crf/src/quark.c +0 -172
  79. data/core/vendor/src/crfsuite/lib/crf/src/quark.h +0 -46
  80. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.c +0 -1107
  81. data/core/vendor/src/crfsuite/lib/crf/src/rumavl.h +0 -160
  82. data/core/vendor/src/crfsuite/lib/crf/src/train_arow.c +0 -408
  83. data/core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c +0 -242
  84. data/core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c +0 -507
  85. data/core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c +0 -338
  86. data/core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c +0 -435
  87. data/core/vendor/src/crfsuite/lib/crf/src/vecmath.h +0 -341
  88. data/core/vendor/src/crfsuite/ltmain.sh +0 -8413
  89. data/core/vendor/src/crfsuite/missing +0 -376
  90. data/core/vendor/src/crfsuite/swig/Makefile.am +0 -13
  91. data/core/vendor/src/crfsuite/swig/Makefile.in +0 -365
  92. data/core/vendor/src/crfsuite/swig/crfsuite.cpp +0 -2
  93. data/core/vendor/src/crfsuite/swig/export.i +0 -32
  94. data/core/vendor/src/crfsuite/swig/python/README +0 -92
  95. data/core/vendor/src/crfsuite/swig/python/crfsuite.py +0 -329
  96. data/core/vendor/src/crfsuite/swig/python/export_wrap.cpp +0 -14355
  97. data/core/vendor/src/crfsuite/swig/python/export_wrap.h +0 -63
  98. data/core/vendor/src/crfsuite/swig/python/prepare.sh +0 -9
  99. data/core/vendor/src/crfsuite/swig/python/sample_tag.py +0 -52
  100. data/core/vendor/src/crfsuite/swig/python/sample_train.py +0 -68
  101. data/core/vendor/src/crfsuite/swig/python/setup.py +0 -44
  102. data/core/vendor/src/crfsuite/win32/stdint.h +0 -679
  103. data/core/vendor/src/liblbfgs/AUTHORS +0 -1
  104. data/core/vendor/src/liblbfgs/COPYING +0 -22
  105. data/core/vendor/src/liblbfgs/ChangeLog +0 -120
  106. data/core/vendor/src/liblbfgs/INSTALL +0 -231
  107. data/core/vendor/src/liblbfgs/Makefile.am +0 -10
  108. data/core/vendor/src/liblbfgs/Makefile.in +0 -638
  109. data/core/vendor/src/liblbfgs/NEWS +0 -0
  110. data/core/vendor/src/liblbfgs/README +0 -71
  111. data/core/vendor/src/liblbfgs/aclocal.m4 +0 -6985
  112. data/core/vendor/src/liblbfgs/autogen.sh +0 -38
  113. data/core/vendor/src/liblbfgs/config.guess +0 -1411
  114. data/core/vendor/src/liblbfgs/config.h.in +0 -64
  115. data/core/vendor/src/liblbfgs/config.sub +0 -1500
  116. data/core/vendor/src/liblbfgs/configure +0 -21146
  117. data/core/vendor/src/liblbfgs/configure.in +0 -107
  118. data/core/vendor/src/liblbfgs/depcomp +0 -522
  119. data/core/vendor/src/liblbfgs/include/lbfgs.h +0 -745
  120. data/core/vendor/src/liblbfgs/install-sh +0 -322
  121. data/core/vendor/src/liblbfgs/lbfgs.sln +0 -26
  122. data/core/vendor/src/liblbfgs/lib/Makefile.am +0 -24
  123. data/core/vendor/src/liblbfgs/lib/Makefile.in +0 -499
  124. data/core/vendor/src/liblbfgs/lib/arithmetic_ansi.h +0 -133
  125. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h +0 -294
  126. data/core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h +0 -298
  127. data/core/vendor/src/liblbfgs/lib/lbfgs.c +0 -1371
  128. data/core/vendor/src/liblbfgs/lib/lib.vcxproj +0 -95
  129. data/core/vendor/src/liblbfgs/ltmain.sh +0 -6426
  130. data/core/vendor/src/liblbfgs/missing +0 -353
  131. data/core/vendor/src/liblbfgs/sample/Makefile.am +0 -15
  132. data/core/vendor/src/liblbfgs/sample/Makefile.in +0 -433
  133. data/core/vendor/src/liblbfgs/sample/sample.c +0 -81
  134. data/core/vendor/src/liblbfgs/sample/sample.cpp +0 -126
  135. data/core/vendor/src/liblbfgs/sample/sample.vcxproj +0 -105
  136. data/core/vendor/src/svm_light/LICENSE.txt +0 -59
  137. data/core/vendor/src/svm_light/Makefile +0 -105
  138. data/core/vendor/src/svm_light/kernel.h +0 -40
  139. data/core/vendor/src/svm_light/svm_classify.c +0 -197
  140. data/core/vendor/src/svm_light/svm_common.c +0 -985
  141. data/core/vendor/src/svm_light/svm_common.h +0 -301
  142. data/core/vendor/src/svm_light/svm_hideo.c +0 -1062
  143. data/core/vendor/src/svm_light/svm_learn.c +0 -4147
  144. data/core/vendor/src/svm_light/svm_learn.h +0 -169
  145. data/core/vendor/src/svm_light/svm_learn_main.c +0 -397
  146. data/core/vendor/src/svm_light/svm_loqo.c +0 -211
  147. data/task/c.rake +0 -36
  148. data/task/submodules.rake +0 -5
@@ -1,499 +0,0 @@
1
- # Makefile.in generated by automake 1.9.2 from Makefile.am.
2
- # @configure_input@
3
-
4
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
- # 2003, 2004 Free Software Foundation, Inc.
6
- # This Makefile.in is free software; the Free Software Foundation
7
- # gives unlimited permission to copy and/or distribute it,
8
- # with or without modifications, as long as this notice is preserved.
9
-
10
- # This program is distributed in the hope that it will be useful,
11
- # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
- # PARTICULAR PURPOSE.
14
-
15
- @SET_MAKE@
16
-
17
- # $Id$
18
-
19
-
20
- SOURCES = $(liblbfgs_la_SOURCES)
21
-
22
- srcdir = @srcdir@
23
- top_srcdir = @top_srcdir@
24
- VPATH = @srcdir@
25
- pkgdatadir = $(datadir)/@PACKAGE@
26
- pkglibdir = $(libdir)/@PACKAGE@
27
- pkgincludedir = $(includedir)/@PACKAGE@
28
- top_builddir = ..
29
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30
- INSTALL = @INSTALL@
31
- install_sh_DATA = $(install_sh) -c -m 644
32
- install_sh_PROGRAM = $(install_sh) -c
33
- install_sh_SCRIPT = $(install_sh) -c
34
- INSTALL_HEADER = $(INSTALL_DATA)
35
- transform = $(program_transform_name)
36
- NORMAL_INSTALL = :
37
- PRE_INSTALL = :
38
- POST_INSTALL = :
39
- NORMAL_UNINSTALL = :
40
- PRE_UNINSTALL = :
41
- POST_UNINSTALL = :
42
- build_triplet = @build@
43
- host_triplet = @host@
44
- subdir = lib
45
- DIST_COMMON = $(liblbfgsinclude_HEADERS) $(srcdir)/Makefile.am \
46
- $(srcdir)/Makefile.in
47
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48
- am__aclocal_m4_deps = $(top_srcdir)/configure.in
49
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50
- $(ACLOCAL_M4)
51
- mkinstalldirs = $(install_sh) -d
52
- CONFIG_HEADER = $(top_builddir)/config.h
53
- CONFIG_CLEAN_FILES =
54
- am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55
- am__vpath_adj = case $$p in \
56
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57
- *) f=$$p;; \
58
- esac;
59
- am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
60
- am__installdirs = "$(DESTDIR)$(libdir)" \
61
- "$(DESTDIR)$(liblbfgsincludedir)"
62
- libLTLIBRARIES_INSTALL = $(INSTALL)
63
- LTLIBRARIES = $(lib_LTLIBRARIES)
64
- liblbfgs_la_LIBADD =
65
- am_liblbfgs_la_OBJECTS = lbfgs.lo
66
- liblbfgs_la_OBJECTS = $(am_liblbfgs_la_OBJECTS)
67
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
68
- depcomp = $(SHELL) $(top_srcdir)/depcomp
69
- am__depfiles_maybe = depfiles
70
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
71
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
72
- LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC) $(DEFS) \
73
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
74
- $(AM_CFLAGS) $(CFLAGS)
75
- CCLD = $(CC)
76
- LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
77
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
78
- SOURCES = $(liblbfgs_la_SOURCES)
79
- DIST_SOURCES = $(liblbfgs_la_SOURCES)
80
- liblbfgsincludeHEADERS_INSTALL = $(INSTALL_HEADER)
81
- HEADERS = $(liblbfgsinclude_HEADERS)
82
- ETAGS = etags
83
- CTAGS = ctags
84
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
85
- ACLOCAL = @ACLOCAL@
86
- AMDEP_FALSE = @AMDEP_FALSE@
87
- AMDEP_TRUE = @AMDEP_TRUE@
88
- AMTAR = @AMTAR@
89
- AR = @AR@
90
- AUTOCONF = @AUTOCONF@
91
- AUTOHEADER = @AUTOHEADER@
92
- AUTOMAKE = @AUTOMAKE@
93
- AWK = @AWK@
94
- CC = @CC@
95
- CCDEPMODE = @CCDEPMODE@
96
- CFLAGS = @CFLAGS@
97
- CPP = @CPP@
98
- CPPFLAGS = @CPPFLAGS@
99
- CXX = @CXX@
100
- CXXCPP = @CXXCPP@
101
- CXXDEPMODE = @CXXDEPMODE@
102
- CXXFLAGS = @CXXFLAGS@
103
- CYGPATH_W = @CYGPATH_W@
104
- DEFS = @DEFS@
105
- DEPDIR = @DEPDIR@
106
- ECHO = @ECHO@
107
- ECHO_C = @ECHO_C@
108
- ECHO_N = @ECHO_N@
109
- ECHO_T = @ECHO_T@
110
- EGREP = @EGREP@
111
- EXEEXT = @EXEEXT@
112
- F77 = @F77@
113
- FFLAGS = @FFLAGS@
114
- INCLUDES = @INCLUDES@
115
- INSTALL_DATA = @INSTALL_DATA@
116
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
117
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
118
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
119
- LDFLAGS = @LDFLAGS@
120
- LIBOBJS = @LIBOBJS@
121
- LIBS = @LIBS@
122
- LIBTOOL = @LIBTOOL@
123
- LN_S = @LN_S@
124
- LTLIBOBJS = @LTLIBOBJS@
125
- MAINT = @MAINT@
126
- MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
127
- MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
128
- MAKEINFO = @MAKEINFO@
129
- OBJEXT = @OBJEXT@
130
- PACKAGE = @PACKAGE@
131
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
132
- PACKAGE_NAME = @PACKAGE_NAME@
133
- PACKAGE_STRING = @PACKAGE_STRING@
134
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
135
- PACKAGE_VERSION = @PACKAGE_VERSION@
136
- PATH_SEPARATOR = @PATH_SEPARATOR@
137
- RANLIB = @RANLIB@
138
- SET_MAKE = @SET_MAKE@
139
- SHELL = @SHELL@
140
- STRIP = @STRIP@
141
- VERSION = @VERSION@
142
- ac_ct_AR = @ac_ct_AR@
143
- ac_ct_CC = @ac_ct_CC@
144
- ac_ct_CXX = @ac_ct_CXX@
145
- ac_ct_F77 = @ac_ct_F77@
146
- ac_ct_RANLIB = @ac_ct_RANLIB@
147
- ac_ct_STRIP = @ac_ct_STRIP@
148
- am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
149
- am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
150
- am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
151
- am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
152
- am__include = @am__include@
153
- am__leading_dot = @am__leading_dot@
154
- am__quote = @am__quote@
155
- am__tar = @am__tar@
156
- am__untar = @am__untar@
157
- bindir = @bindir@
158
- build = @build@
159
- build_alias = @build_alias@
160
- build_cpu = @build_cpu@
161
- build_os = @build_os@
162
- build_vendor = @build_vendor@
163
- datadir = @datadir@
164
- exec_prefix = @exec_prefix@
165
- host = @host@
166
- host_alias = @host_alias@
167
- host_cpu = @host_cpu@
168
- host_os = @host_os@
169
- host_vendor = @host_vendor@
170
- includedir = @includedir@
171
- infodir = @infodir@
172
- install_sh = @install_sh@
173
- libdir = @libdir@
174
- libexecdir = @libexecdir@
175
- localstatedir = @localstatedir@
176
- mandir = @mandir@
177
- mkdir_p = @mkdir_p@
178
- oldincludedir = @oldincludedir@
179
- prefix = @prefix@
180
- program_transform_name = @program_transform_name@
181
- sbindir = @sbindir@
182
- sharedstatedir = @sharedstatedir@
183
- sysconfdir = @sysconfdir@
184
- target_alias = @target_alias@
185
- EXTRA_DIST = \
186
- lib.vcxproj
187
-
188
- liblbfgsincludedir = $(includedir)
189
- liblbfgsinclude_HEADERS = \
190
- ../include/lbfgs.h
191
-
192
- lib_LTLIBRARIES = liblbfgs.la
193
- liblbfgs_la_SOURCES = \
194
- arithmetic_ansi.h \
195
- arithmetic_sse_double.h \
196
- arithmetic_sse_float.h \
197
- ../include/lbfgs.h \
198
- lbfgs.c
199
-
200
- liblbfgs_la_LDFLAGS = \
201
- -no-undefined \
202
- -release @VERSION@
203
-
204
- AM_CFLAGS = @CFLAGS@
205
- all: all-am
206
-
207
- .SUFFIXES:
208
- .SUFFIXES: .c .lo .o .obj
209
- $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
210
- @for dep in $?; do \
211
- case '$(am__configure_deps)' in \
212
- *$$dep*) \
213
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
214
- && exit 0; \
215
- exit 1;; \
216
- esac; \
217
- done; \
218
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
219
- cd $(top_srcdir) && \
220
- $(AUTOMAKE) --gnu lib/Makefile
221
- .PRECIOUS: Makefile
222
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
223
- @case '$?' in \
224
- *config.status*) \
225
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
226
- *) \
227
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
228
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
229
- esac;
230
-
231
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
232
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
233
-
234
- $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
235
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
236
- $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
237
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
238
- install-libLTLIBRARIES: $(lib_LTLIBRARIES)
239
- @$(NORMAL_INSTALL)
240
- test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
241
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
242
- if test -f $$p; then \
243
- f=$(am__strip_dir) \
244
- echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
245
- $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
246
- else :; fi; \
247
- done
248
-
249
- uninstall-libLTLIBRARIES:
250
- @$(NORMAL_UNINSTALL)
251
- @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
252
- p=$(am__strip_dir) \
253
- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
254
- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
255
- done
256
-
257
- clean-libLTLIBRARIES:
258
- -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
259
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
260
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
261
- test "$$dir" != "$$p" || dir=.; \
262
- echo "rm -f \"$${dir}/so_locations\""; \
263
- rm -f "$${dir}/so_locations"; \
264
- done
265
- liblbfgs.la: $(liblbfgs_la_OBJECTS) $(liblbfgs_la_DEPENDENCIES)
266
- $(LINK) -rpath $(libdir) $(liblbfgs_la_LDFLAGS) $(liblbfgs_la_OBJECTS) $(liblbfgs_la_LIBADD) $(LIBS)
267
-
268
- mostlyclean-compile:
269
- -rm -f *.$(OBJEXT)
270
-
271
- distclean-compile:
272
- -rm -f *.tab.c
273
-
274
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lbfgs.Plo@am__quote@
275
-
276
- .c.o:
277
- @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
278
- @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
279
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
280
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281
- @am__fastdepCC_FALSE@ $(COMPILE) -c $<
282
-
283
- .c.obj:
284
- @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
285
- @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
286
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
287
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
288
- @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
289
-
290
- .c.lo:
291
- @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
292
- @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
293
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
294
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
295
- @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
296
-
297
- mostlyclean-libtool:
298
- -rm -f *.lo
299
-
300
- clean-libtool:
301
- -rm -rf .libs _libs
302
-
303
- distclean-libtool:
304
- -rm -f libtool
305
- uninstall-info-am:
306
- install-liblbfgsincludeHEADERS: $(liblbfgsinclude_HEADERS)
307
- @$(NORMAL_INSTALL)
308
- test -z "$(liblbfgsincludedir)" || $(mkdir_p) "$(DESTDIR)$(liblbfgsincludedir)"
309
- @list='$(liblbfgsinclude_HEADERS)'; for p in $$list; do \
310
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
311
- f=$(am__strip_dir) \
312
- echo " $(liblbfgsincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(liblbfgsincludedir)/$$f'"; \
313
- $(liblbfgsincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(liblbfgsincludedir)/$$f"; \
314
- done
315
-
316
- uninstall-liblbfgsincludeHEADERS:
317
- @$(NORMAL_UNINSTALL)
318
- @list='$(liblbfgsinclude_HEADERS)'; for p in $$list; do \
319
- f=$(am__strip_dir) \
320
- echo " rm -f '$(DESTDIR)$(liblbfgsincludedir)/$$f'"; \
321
- rm -f "$(DESTDIR)$(liblbfgsincludedir)/$$f"; \
322
- done
323
-
324
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
325
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
326
- unique=`for i in $$list; do \
327
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
328
- done | \
329
- $(AWK) ' { files[$$0] = 1; } \
330
- END { for (i in files) print i; }'`; \
331
- mkid -fID $$unique
332
- tags: TAGS
333
-
334
- TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
335
- $(TAGS_FILES) $(LISP)
336
- tags=; \
337
- here=`pwd`; \
338
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
339
- unique=`for i in $$list; do \
340
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341
- done | \
342
- $(AWK) ' { files[$$0] = 1; } \
343
- END { for (i in files) print i; }'`; \
344
- if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
345
- test -n "$$unique" || unique=$$empty_fix; \
346
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
347
- $$tags $$unique; \
348
- fi
349
- ctags: CTAGS
350
- CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
351
- $(TAGS_FILES) $(LISP)
352
- tags=; \
353
- here=`pwd`; \
354
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
355
- unique=`for i in $$list; do \
356
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
357
- done | \
358
- $(AWK) ' { files[$$0] = 1; } \
359
- END { for (i in files) print i; }'`; \
360
- test -z "$(CTAGS_ARGS)$$tags$$unique" \
361
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
362
- $$tags $$unique
363
-
364
- GTAGS:
365
- here=`$(am__cd) $(top_builddir) && pwd` \
366
- && cd $(top_srcdir) \
367
- && gtags -i $(GTAGS_ARGS) $$here
368
-
369
- distclean-tags:
370
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
371
-
372
- distdir: $(DISTFILES)
373
- $(mkdir_p) $(distdir)/../include
374
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
375
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
376
- list='$(DISTFILES)'; for file in $$list; do \
377
- case $$file in \
378
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
379
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
380
- esac; \
381
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
382
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
383
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
384
- dir="/$$dir"; \
385
- $(mkdir_p) "$(distdir)$$dir"; \
386
- else \
387
- dir=''; \
388
- fi; \
389
- if test -d $$d/$$file; then \
390
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
391
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
392
- fi; \
393
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
394
- else \
395
- test -f $(distdir)/$$file \
396
- || cp -p $$d/$$file $(distdir)/$$file \
397
- || exit 1; \
398
- fi; \
399
- done
400
- check-am: all-am
401
- check: check-am
402
- all-am: Makefile $(LTLIBRARIES) $(HEADERS)
403
- installdirs:
404
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(liblbfgsincludedir)"; do \
405
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
406
- done
407
- install: install-am
408
- install-exec: install-exec-am
409
- install-data: install-data-am
410
- uninstall: uninstall-am
411
-
412
- install-am: all-am
413
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
414
-
415
- installcheck: installcheck-am
416
- install-strip:
417
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
418
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
419
- `test -z '$(STRIP)' || \
420
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
421
- mostlyclean-generic:
422
-
423
- clean-generic:
424
-
425
- distclean-generic:
426
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
427
-
428
- maintainer-clean-generic:
429
- @echo "This command is intended for maintainers to use"
430
- @echo "it deletes files that may require special tools to rebuild."
431
- clean: clean-am
432
-
433
- clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
434
- mostlyclean-am
435
-
436
- distclean: distclean-am
437
- -rm -rf ./$(DEPDIR)
438
- -rm -f Makefile
439
- distclean-am: clean-am distclean-compile distclean-generic \
440
- distclean-libtool distclean-tags
441
-
442
- dvi: dvi-am
443
-
444
- dvi-am:
445
-
446
- html: html-am
447
-
448
- info: info-am
449
-
450
- info-am:
451
-
452
- install-data-am: install-liblbfgsincludeHEADERS
453
-
454
- install-exec-am: install-libLTLIBRARIES
455
-
456
- install-info: install-info-am
457
-
458
- install-man:
459
-
460
- installcheck-am:
461
-
462
- maintainer-clean: maintainer-clean-am
463
- -rm -rf ./$(DEPDIR)
464
- -rm -f Makefile
465
- maintainer-clean-am: distclean-am maintainer-clean-generic
466
-
467
- mostlyclean: mostlyclean-am
468
-
469
- mostlyclean-am: mostlyclean-compile mostlyclean-generic \
470
- mostlyclean-libtool
471
-
472
- pdf: pdf-am
473
-
474
- pdf-am:
475
-
476
- ps: ps-am
477
-
478
- ps-am:
479
-
480
- uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
481
- uninstall-liblbfgsincludeHEADERS
482
-
483
- .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
484
- clean-libLTLIBRARIES clean-libtool ctags distclean \
485
- distclean-compile distclean-generic distclean-libtool \
486
- distclean-tags distdir dvi dvi-am html html-am info info-am \
487
- install install-am install-data install-data-am install-exec \
488
- install-exec-am install-info install-info-am \
489
- install-libLTLIBRARIES install-liblbfgsincludeHEADERS \
490
- install-man install-strip installcheck installcheck-am \
491
- installdirs maintainer-clean maintainer-clean-generic \
492
- mostlyclean mostlyclean-compile mostlyclean-generic \
493
- mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
494
- uninstall-am uninstall-info-am uninstall-libLTLIBRARIES \
495
- uninstall-liblbfgsincludeHEADERS
496
-
497
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
498
- # Otherwise a system limit (for SysV at least) may be exceeded.
499
- .NOEXPORT:
@@ -1,133 +0,0 @@
1
- /*
2
- * ANSI C implementation of vector operations.
3
- *
4
- * Copyright (c) 2007-2010 Naoaki Okazaki
5
- * All rights reserved.
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining a copy
8
- * of this software and associated documentation files (the "Software"), to deal
9
- * in the Software without restriction, including without limitation the rights
10
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- * copies of the Software, and to permit persons to whom the Software is
12
- * furnished to do so, subject to the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be included in
15
- * all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- * THE SOFTWARE.
24
- */
25
-
26
- /* $Id$ */
27
-
28
- #include <stdlib.h>
29
- #include <memory.h>
30
-
31
- #if LBFGS_FLOAT == 32 && LBFGS_IEEE_FLOAT
32
- #define fsigndiff(x, y) (((*(uint32_t*)(x)) ^ (*(uint32_t*)(y))) & 0x80000000U)
33
- #else
34
- #define fsigndiff(x, y) (*(x) * (*(y) / fabs(*(y))) < 0.)
35
- #endif/*LBFGS_IEEE_FLOAT*/
36
-
37
- inline static void* vecalloc(size_t size)
38
- {
39
- void *memblock = malloc(size);
40
- if (memblock) {
41
- memset(memblock, 0, size);
42
- }
43
- return memblock;
44
- }
45
-
46
- inline static void vecfree(void *memblock)
47
- {
48
- free(memblock);
49
- }
50
-
51
- inline static void vecset(lbfgsfloatval_t *x, const lbfgsfloatval_t c, const int n)
52
- {
53
- int i;
54
-
55
- for (i = 0;i < n;++i) {
56
- x[i] = c;
57
- }
58
- }
59
-
60
- inline static void veccpy(lbfgsfloatval_t *y, const lbfgsfloatval_t *x, const int n)
61
- {
62
- int i;
63
-
64
- for (i = 0;i < n;++i) {
65
- y[i] = x[i];
66
- }
67
- }
68
-
69
- inline static void vecncpy(lbfgsfloatval_t *y, const lbfgsfloatval_t *x, const int n)
70
- {
71
- int i;
72
-
73
- for (i = 0;i < n;++i) {
74
- y[i] = -x[i];
75
- }
76
- }
77
-
78
- inline static void vecadd(lbfgsfloatval_t *y, const lbfgsfloatval_t *x, const lbfgsfloatval_t c, const int n)
79
- {
80
- int i;
81
-
82
- for (i = 0;i < n;++i) {
83
- y[i] += c * x[i];
84
- }
85
- }
86
-
87
- inline static void vecdiff(lbfgsfloatval_t *z, const lbfgsfloatval_t *x, const lbfgsfloatval_t *y, const int n)
88
- {
89
- int i;
90
-
91
- for (i = 0;i < n;++i) {
92
- z[i] = x[i] - y[i];
93
- }
94
- }
95
-
96
- inline static void vecscale(lbfgsfloatval_t *y, const lbfgsfloatval_t c, const int n)
97
- {
98
- int i;
99
-
100
- for (i = 0;i < n;++i) {
101
- y[i] *= c;
102
- }
103
- }
104
-
105
- inline static void vecmul(lbfgsfloatval_t *y, const lbfgsfloatval_t *x, const int n)
106
- {
107
- int i;
108
-
109
- for (i = 0;i < n;++i) {
110
- y[i] *= x[i];
111
- }
112
- }
113
-
114
- inline static void vecdot(lbfgsfloatval_t* s, const lbfgsfloatval_t *x, const lbfgsfloatval_t *y, const int n)
115
- {
116
- int i;
117
- *s = 0.;
118
- for (i = 0;i < n;++i) {
119
- *s += x[i] * y[i];
120
- }
121
- }
122
-
123
- inline static void vec2norm(lbfgsfloatval_t* s, const lbfgsfloatval_t *x, const int n)
124
- {
125
- vecdot(s, x, x, n);
126
- *s = (lbfgsfloatval_t)sqrt(*s);
127
- }
128
-
129
- inline static void vec2norminv(lbfgsfloatval_t* s, const lbfgsfloatval_t *x, const int n)
130
- {
131
- vec2norm(s, x, n);
132
- *s = (lbfgsfloatval_t)(1.0 / *s);
133
- }