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.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/ext/hack/Rakefile +0 -2
- data/lib/opener/opinion_detector_basic/version.rb +1 -1
- data/opener-opinion-detector-basic.gemspec +0 -1
- data/task/compile.rake +1 -1
- data/task/requirements.rake +0 -1
- metadata +2 -142
- data/core/vendor/src/crfsuite/AUTHORS +0 -1
- data/core/vendor/src/crfsuite/COPYING +0 -27
- data/core/vendor/src/crfsuite/ChangeLog +0 -103
- data/core/vendor/src/crfsuite/INSTALL +0 -236
- data/core/vendor/src/crfsuite/Makefile.am +0 -19
- data/core/vendor/src/crfsuite/Makefile.in +0 -783
- data/core/vendor/src/crfsuite/README +0 -183
- data/core/vendor/src/crfsuite/aclocal.m4 +0 -9018
- data/core/vendor/src/crfsuite/autogen.sh +0 -38
- data/core/vendor/src/crfsuite/compile +0 -143
- data/core/vendor/src/crfsuite/config.guess +0 -1502
- data/core/vendor/src/crfsuite/config.h.in +0 -198
- data/core/vendor/src/crfsuite/config.sub +0 -1714
- data/core/vendor/src/crfsuite/configure +0 -14273
- data/core/vendor/src/crfsuite/configure.in +0 -149
- data/core/vendor/src/crfsuite/crfsuite.sln +0 -42
- data/core/vendor/src/crfsuite/depcomp +0 -630
- data/core/vendor/src/crfsuite/example/chunking.py +0 -49
- data/core/vendor/src/crfsuite/example/crfutils.py +0 -179
- data/core/vendor/src/crfsuite/example/ner.py +0 -270
- data/core/vendor/src/crfsuite/example/pos.py +0 -78
- data/core/vendor/src/crfsuite/example/template.py +0 -88
- data/core/vendor/src/crfsuite/frontend/Makefile.am +0 -29
- data/core/vendor/src/crfsuite/frontend/Makefile.in +0 -640
- data/core/vendor/src/crfsuite/frontend/dump.c +0 -116
- data/core/vendor/src/crfsuite/frontend/frontend.vcxproj +0 -129
- data/core/vendor/src/crfsuite/frontend/iwa.c +0 -273
- data/core/vendor/src/crfsuite/frontend/iwa.h +0 -65
- data/core/vendor/src/crfsuite/frontend/learn.c +0 -439
- data/core/vendor/src/crfsuite/frontend/main.c +0 -137
- data/core/vendor/src/crfsuite/frontend/option.c +0 -93
- data/core/vendor/src/crfsuite/frontend/option.h +0 -86
- data/core/vendor/src/crfsuite/frontend/readdata.h +0 -38
- data/core/vendor/src/crfsuite/frontend/reader.c +0 -136
- data/core/vendor/src/crfsuite/frontend/tag.c +0 -427
- data/core/vendor/src/crfsuite/genbinary.sh.in +0 -15
- data/core/vendor/src/crfsuite/include/Makefile.am +0 -11
- data/core/vendor/src/crfsuite/include/Makefile.in +0 -461
- data/core/vendor/src/crfsuite/include/crfsuite.h +0 -1063
- data/core/vendor/src/crfsuite/include/crfsuite.hpp +0 -555
- data/core/vendor/src/crfsuite/include/crfsuite_api.hpp +0 -400
- data/core/vendor/src/crfsuite/include/os.h +0 -61
- data/core/vendor/src/crfsuite/install-sh +0 -520
- data/core/vendor/src/crfsuite/lib/cqdb/COPYING +0 -28
- data/core/vendor/src/crfsuite/lib/cqdb/Makefile.am +0 -21
- data/core/vendor/src/crfsuite/lib/cqdb/Makefile.in +0 -549
- data/core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj +0 -86
- data/core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h +0 -524
- data/core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c +0 -587
- data/core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c +0 -976
- data/core/vendor/src/crfsuite/lib/crf/Makefile.am +0 -46
- data/core/vendor/src/crfsuite/lib/crf/Makefile.in +0 -721
- data/core/vendor/src/crfsuite/lib/crf/crf.vcxproj +0 -216
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d.h +0 -353
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c +0 -705
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c +0 -943
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c +0 -352
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c +0 -994
- data/core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c +0 -550
- data/core/vendor/src/crfsuite/lib/crf/src/crfsuite.c +0 -492
- data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h +0 -236
- data/core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c +0 -272
- data/core/vendor/src/crfsuite/lib/crf/src/dataset.c +0 -106
- data/core/vendor/src/crfsuite/lib/crf/src/dictionary.c +0 -118
- data/core/vendor/src/crfsuite/lib/crf/src/holdout.c +0 -80
- data/core/vendor/src/crfsuite/lib/crf/src/logging.c +0 -91
- data/core/vendor/src/crfsuite/lib/crf/src/logging.h +0 -48
- data/core/vendor/src/crfsuite/lib/crf/src/params.c +0 -335
- data/core/vendor/src/crfsuite/lib/crf/src/params.h +0 -80
- data/core/vendor/src/crfsuite/lib/crf/src/quark.c +0 -172
- data/core/vendor/src/crfsuite/lib/crf/src/quark.h +0 -46
- data/core/vendor/src/crfsuite/lib/crf/src/rumavl.c +0 -1107
- data/core/vendor/src/crfsuite/lib/crf/src/rumavl.h +0 -160
- data/core/vendor/src/crfsuite/lib/crf/src/train_arow.c +0 -408
- data/core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c +0 -242
- data/core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c +0 -507
- data/core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c +0 -338
- data/core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c +0 -435
- data/core/vendor/src/crfsuite/lib/crf/src/vecmath.h +0 -341
- data/core/vendor/src/crfsuite/ltmain.sh +0 -8413
- data/core/vendor/src/crfsuite/missing +0 -376
- data/core/vendor/src/crfsuite/swig/Makefile.am +0 -13
- data/core/vendor/src/crfsuite/swig/Makefile.in +0 -365
- data/core/vendor/src/crfsuite/swig/crfsuite.cpp +0 -2
- data/core/vendor/src/crfsuite/swig/export.i +0 -32
- data/core/vendor/src/crfsuite/swig/python/README +0 -92
- data/core/vendor/src/crfsuite/swig/python/crfsuite.py +0 -329
- data/core/vendor/src/crfsuite/swig/python/export_wrap.cpp +0 -14355
- data/core/vendor/src/crfsuite/swig/python/export_wrap.h +0 -63
- data/core/vendor/src/crfsuite/swig/python/prepare.sh +0 -9
- data/core/vendor/src/crfsuite/swig/python/sample_tag.py +0 -52
- data/core/vendor/src/crfsuite/swig/python/sample_train.py +0 -68
- data/core/vendor/src/crfsuite/swig/python/setup.py +0 -44
- data/core/vendor/src/crfsuite/win32/stdint.h +0 -679
- data/core/vendor/src/liblbfgs/AUTHORS +0 -1
- data/core/vendor/src/liblbfgs/COPYING +0 -22
- data/core/vendor/src/liblbfgs/ChangeLog +0 -120
- data/core/vendor/src/liblbfgs/INSTALL +0 -231
- data/core/vendor/src/liblbfgs/Makefile.am +0 -10
- data/core/vendor/src/liblbfgs/Makefile.in +0 -638
- data/core/vendor/src/liblbfgs/NEWS +0 -0
- data/core/vendor/src/liblbfgs/README +0 -71
- data/core/vendor/src/liblbfgs/aclocal.m4 +0 -6985
- data/core/vendor/src/liblbfgs/autogen.sh +0 -38
- data/core/vendor/src/liblbfgs/config.guess +0 -1411
- data/core/vendor/src/liblbfgs/config.h.in +0 -64
- data/core/vendor/src/liblbfgs/config.sub +0 -1500
- data/core/vendor/src/liblbfgs/configure +0 -21146
- data/core/vendor/src/liblbfgs/configure.in +0 -107
- data/core/vendor/src/liblbfgs/depcomp +0 -522
- data/core/vendor/src/liblbfgs/include/lbfgs.h +0 -745
- data/core/vendor/src/liblbfgs/install-sh +0 -322
- data/core/vendor/src/liblbfgs/lbfgs.sln +0 -26
- data/core/vendor/src/liblbfgs/lib/Makefile.am +0 -24
- data/core/vendor/src/liblbfgs/lib/Makefile.in +0 -499
- data/core/vendor/src/liblbfgs/lib/arithmetic_ansi.h +0 -133
- data/core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h +0 -294
- data/core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h +0 -298
- data/core/vendor/src/liblbfgs/lib/lbfgs.c +0 -1371
- data/core/vendor/src/liblbfgs/lib/lib.vcxproj +0 -95
- data/core/vendor/src/liblbfgs/ltmain.sh +0 -6426
- data/core/vendor/src/liblbfgs/missing +0 -353
- data/core/vendor/src/liblbfgs/sample/Makefile.am +0 -15
- data/core/vendor/src/liblbfgs/sample/Makefile.in +0 -433
- data/core/vendor/src/liblbfgs/sample/sample.c +0 -81
- data/core/vendor/src/liblbfgs/sample/sample.cpp +0 -126
- data/core/vendor/src/liblbfgs/sample/sample.vcxproj +0 -105
- data/core/vendor/src/svm_light/LICENSE.txt +0 -59
- data/core/vendor/src/svm_light/Makefile +0 -105
- data/core/vendor/src/svm_light/kernel.h +0 -40
- data/core/vendor/src/svm_light/svm_classify.c +0 -197
- data/core/vendor/src/svm_light/svm_common.c +0 -985
- data/core/vendor/src/svm_light/svm_common.h +0 -301
- data/core/vendor/src/svm_light/svm_hideo.c +0 -1062
- data/core/vendor/src/svm_light/svm_learn.c +0 -4147
- data/core/vendor/src/svm_light/svm_learn.h +0 -169
- data/core/vendor/src/svm_light/svm_learn_main.c +0 -397
- data/core/vendor/src/svm_light/svm_loqo.c +0 -211
- data/task/c.rake +0 -36
- data/task/submodules.rake +0 -5
@@ -1,149 +0,0 @@
|
|
1
|
-
dnl $Id$
|
2
|
-
dnl
|
3
|
-
dnl
|
4
|
-
dnl Exported and configured variables:
|
5
|
-
dnl CFLAGS
|
6
|
-
dnl LDFLAGS
|
7
|
-
dnl INCLUDES
|
8
|
-
|
9
|
-
|
10
|
-
dnl ------------------------------------------------------------------
|
11
|
-
dnl Initialization for autoconf
|
12
|
-
dnl ------------------------------------------------------------------
|
13
|
-
AC_PREREQ(2.59)
|
14
|
-
AC_INIT
|
15
|
-
AC_CONFIG_SRCDIR([frontend/main.c])
|
16
|
-
AC_CONFIG_MACRO_DIR([m4])
|
17
|
-
|
18
|
-
dnl ------------------------------------------------------------------
|
19
|
-
dnl Checks for system
|
20
|
-
dnl ------------------------------------------------------------------
|
21
|
-
AC_CANONICAL_HOST
|
22
|
-
AC_AIX
|
23
|
-
AC_MINIX
|
24
|
-
AC_ISC_POSIX
|
25
|
-
|
26
|
-
|
27
|
-
dnl ------------------------------------------------------------------
|
28
|
-
dnl Initialization for automake
|
29
|
-
dnl ------------------------------------------------------------------
|
30
|
-
AM_INIT_AUTOMAKE(crfsuite, 0.12)
|
31
|
-
AC_CONFIG_HEADERS(config.h)
|
32
|
-
AM_MAINTAINER_MODE
|
33
|
-
AM_C_PROTOTYPES
|
34
|
-
|
35
|
-
|
36
|
-
dnl ------------------------------------------------------------------
|
37
|
-
dnl Checks for program
|
38
|
-
dnl ------------------------------------------------------------------
|
39
|
-
AM_PROG_CC_C_O
|
40
|
-
AC_PROG_LIBTOOL
|
41
|
-
AC_PROG_INSTALL
|
42
|
-
AC_PROG_LN_S
|
43
|
-
|
44
|
-
|
45
|
-
dnl ------------------------------------------------------------------
|
46
|
-
dnl Initialization for variables
|
47
|
-
dnl ------------------------------------------------------------------
|
48
|
-
CFLAGS="-std=c99 ${ac_save_CFLAGS}"
|
49
|
-
LDFLAGS="${ac_save_LDFLAGS}"
|
50
|
-
INCLUDES="-I\$(top_srcdir) -I\$(top_srcdir)/include -I\$(srcdir)"
|
51
|
-
|
52
|
-
|
53
|
-
dnl ------------------------------------------------------------------
|
54
|
-
dnl Checks for header files.
|
55
|
-
dnl ------------------------------------------------------------------
|
56
|
-
AC_HEADER_STDC
|
57
|
-
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h unistd.h stdint.h)
|
58
|
-
|
59
|
-
|
60
|
-
dnl ------------------------------------------------------------------
|
61
|
-
dnl Checks for typedefs, structures, and compiler characteristics.
|
62
|
-
dnl ------------------------------------------------------------------
|
63
|
-
AC_C_CONST
|
64
|
-
AC_CHECK_SIZEOF
|
65
|
-
AC_TYPE_SIZE_T
|
66
|
-
AC_STRUCT_TM
|
67
|
-
AC_CHECK_SIZEOF(short)
|
68
|
-
AC_CHECK_SIZEOF(unsigned short)
|
69
|
-
AC_CHECK_SIZEOF(int)
|
70
|
-
AC_CHECK_SIZEOF(unsigned int)
|
71
|
-
AC_CHECK_SIZEOF(long)
|
72
|
-
AC_CHECK_SIZEOF(unsigned long)
|
73
|
-
|
74
|
-
AC_CHECK_TYPES([uint8_t, uint16_t, uint32_t])
|
75
|
-
|
76
|
-
dnl ------------------------------------------------------------------
|
77
|
-
dnl Checks for debugging mode
|
78
|
-
dnl ------------------------------------------------------------------
|
79
|
-
AC_ARG_ENABLE(
|
80
|
-
debug,
|
81
|
-
[AS_HELP_STRING([--enable-debug],[turn on debugging])]
|
82
|
-
)
|
83
|
-
|
84
|
-
if test "x$enable_debug" = "xyes"; then
|
85
|
-
CFLAGS="-DDEBUG -O -g ${CFLAGS}"
|
86
|
-
else
|
87
|
-
CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Winline ${CFLAGS}"
|
88
|
-
fi
|
89
|
-
|
90
|
-
dnl ------------------------------------------------------------------
|
91
|
-
dnl Checks for profiling mode
|
92
|
-
dnl ------------------------------------------------------------------
|
93
|
-
AC_ARG_ENABLE(
|
94
|
-
profile,
|
95
|
-
[AS_HELP_STRING([--enable-profile],[turn on profiling])]
|
96
|
-
)
|
97
|
-
|
98
|
-
if test "x$enable_profile" = "xyes"; then
|
99
|
-
CFLAGS="-DPROFILE -pg ${CFLAGS}"
|
100
|
-
fi
|
101
|
-
|
102
|
-
|
103
|
-
dnl ------------------------------------------------------------------
|
104
|
-
dnl Checks for SSE2 build
|
105
|
-
dnl ------------------------------------------------------------------
|
106
|
-
AC_ARG_ENABLE([sse2],
|
107
|
-
AS_HELP_STRING(
|
108
|
-
[--disable-sse2],
|
109
|
-
[disable SSE2 optimization routines]
|
110
|
-
)
|
111
|
-
)
|
112
|
-
|
113
|
-
AS_IF([test "x$enable_sse2" != "xno"], [
|
114
|
-
CFLAGS="-mfpmath=sse -msse2 -DUSE_SSE ${CFLAGS}"
|
115
|
-
])
|
116
|
-
|
117
|
-
|
118
|
-
dnl ------------------------------------------------------------------
|
119
|
-
dnl Checks for library functions.
|
120
|
-
dnl ------------------------------------------------------------------
|
121
|
-
AC_FUNC_ALLOCA
|
122
|
-
AC_FUNC_MEMCMP
|
123
|
-
AC_FUNC_VPRINTF
|
124
|
-
AC_CHECK_FUNCS(strdup strerror strtol strtoul)
|
125
|
-
|
126
|
-
dnl Check for math library
|
127
|
-
AC_CHECK_LIB(m, rand)
|
128
|
-
|
129
|
-
AC_ARG_WITH(
|
130
|
-
liblbfgs,
|
131
|
-
[AS_HELP_STRING([--with-liblbfgs=DIR],[liblbfgs directory])],
|
132
|
-
[INCLUDES="${INCLUDES} -I${withval}/include"; LDFLAGS="${LDFLAGS} -L${withval}/lib"]
|
133
|
-
)
|
134
|
-
AC_CHECK_LIB(lbfgs, lbfgs)
|
135
|
-
|
136
|
-
dnl ------------------------------------------------------------------
|
137
|
-
dnl Export variables
|
138
|
-
dnl ------------------------------------------------------------------
|
139
|
-
AC_SUBST(CFLAGS)
|
140
|
-
AC_SUBST(LDFLAGS)
|
141
|
-
AC_SUBST(INCLUDES)
|
142
|
-
AC_SUBST(includedir)
|
143
|
-
AC_SUBST(libdir)
|
144
|
-
|
145
|
-
dnl ------------------------------------------------------------------
|
146
|
-
dnl Output the configure results.
|
147
|
-
dnl ------------------------------------------------------------------
|
148
|
-
AC_CONFIG_FILES(Makefile genbinary.sh include/Makefile lib/cqdb/Makefile lib/crf/Makefile frontend/Makefile swig/Makefile)
|
149
|
-
AC_OUTPUT
|
@@ -1,42 +0,0 @@
|
|
1
|
-
|
2
|
-
Microsoft Visual Studio Solution File, Format Version 11.00
|
3
|
-
# Visual Studio 2010
|
4
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crf", "lib\crf\crf.vcxproj", "{D6B16F2E-DA86-4591-8B50-348AB7E3432E}"
|
5
|
-
EndProject
|
6
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "frontend", "frontend\frontend.vcxproj", "{CEC83336-7B18-408B-9F3C-D11225609540}"
|
7
|
-
EndProject
|
8
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cqdb", "lib\cqdb\cqdb.vcxproj", "{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}"
|
9
|
-
EndProject
|
10
|
-
Global
|
11
|
-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
12
|
-
Debug|Win32 = Debug|Win32
|
13
|
-
Debug|x64 = Debug|x64
|
14
|
-
Release|Win32 = Release|Win32
|
15
|
-
Release|x64 = Release|x64
|
16
|
-
EndGlobalSection
|
17
|
-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
18
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Debug|Win32.ActiveCfg = Debug|Win32
|
19
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Debug|Win32.Build.0 = Debug|Win32
|
20
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Debug|x64.ActiveCfg = Debug|Win32
|
21
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Debug|x64.Build.0 = Debug|Win32
|
22
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Release|Win32.ActiveCfg = Release|Win32
|
23
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Release|Win32.Build.0 = Release|Win32
|
24
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Release|x64.ActiveCfg = Release|x64
|
25
|
-
{D6B16F2E-DA86-4591-8B50-348AB7E3432E}.Release|x64.Build.0 = Release|x64
|
26
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Debug|Win32.ActiveCfg = Debug|Win32
|
27
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Debug|Win32.Build.0 = Debug|Win32
|
28
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Debug|x64.ActiveCfg = Debug|Win32
|
29
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Release|Win32.ActiveCfg = Release|Win32
|
30
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Release|Win32.Build.0 = Release|Win32
|
31
|
-
{CEC83336-7B18-408B-9F3C-D11225609540}.Release|x64.ActiveCfg = Release|Win32
|
32
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Debug|Win32.ActiveCfg = Debug|Win32
|
33
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Debug|Win32.Build.0 = Debug|Win32
|
34
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Debug|x64.ActiveCfg = Debug|Win32
|
35
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Release|Win32.ActiveCfg = Release|Win32
|
36
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Release|Win32.Build.0 = Release|Win32
|
37
|
-
{46A23DE6-7E34-4429-8F15-FCC3C083FC5B}.Release|x64.ActiveCfg = Release|Win32
|
38
|
-
EndGlobalSection
|
39
|
-
GlobalSection(SolutionProperties) = preSolution
|
40
|
-
HideSolutionNode = FALSE
|
41
|
-
EndGlobalSection
|
42
|
-
EndGlobal
|