opener-opinion-detector-basic 2.0.0 → 2.0.1

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.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ffb23060aa771379f81ad7e3afeb854dc0b02f9
4
- data.tar.gz: 6c3cc572d420793124bef66ee3e8a43e4d09ee61
3
+ metadata.gz: 685633bae97205019e5cbd681a0c7ae54ff3783b
4
+ data.tar.gz: 3e06639f31bcff500381020edd60651649126cc2
5
5
  SHA512:
6
- metadata.gz: 6ffc414059c2e342934f708b04065defa434f572cf90bf1f587a4a6abb8baee4147eb1fdd0a0c0f6f7f6acf4fc18611780792f91974f378f872a4fa7697ca227
7
- data.tar.gz: 37f14ff748c15df4d9454b7862ec1b459c75f860ccb6b6cdfea2ca51bc2e63f67aa42352b71d7acd698f583f14a475e815aa59f8cf86390405cd6bc13cd05863
6
+ metadata.gz: 14cc87a72bf99f83e5cfb00f57e722af35e03a675ceca17d26ba3f8c2f234c75342cc866e71f92cdc6669f0faf082153afc598ec195ec2a78c48b86ece401868
7
+ data.tar.gz: afd25d4b43050831af364657f84f356b472c2d44500b54d5a34584bd88e86fafc3e090d00f2a68f313449fdfc0e5e300a7c0fa3e31a05f73fb09f0cabdb64b06
data/README.md CHANGED
@@ -106,6 +106,8 @@ At least you need the following system setup:
106
106
  * Ruby 1.9.3 or newer
107
107
  * Python 2.6
108
108
  * lxml: library for processing xml in python
109
+ * libarchive, on Debian/Ubuntu based systems this can be installed using
110
+ `sudo apt-get install libarchive-dev`
109
111
 
110
112
  ## Domain Adaption
111
113
 
data/ext/hack/Rakefile CHANGED
@@ -1,10 +1,8 @@
1
1
  import File.expand_path('../../../task/requirements.rake', __FILE__)
2
- import File.expand_path('../../../task/c.rake', __FILE__)
3
2
  import File.expand_path('../../../task/python.rake', __FILE__)
4
3
 
5
4
  task :default => :requirements do
6
5
  Dir.chdir(File.expand_path('../../../', __FILE__)) do
7
- Rake::Task['c:compile'].invoke
8
6
  Rake::Task['core/site-packages/pre_install'].invoke
9
7
  end
10
8
  end
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class OpinionDetectorBasic
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
  end
5
5
  end
@@ -13,7 +13,6 @@ Gem::Specification.new do |gem|
13
13
  gem.required_ruby_version = '>= 1.9.2'
14
14
 
15
15
  gem.files = Dir.glob([
16
- 'core/vendor/src/**/*',
17
16
  'core/*',
18
17
  'ext/**/*',
19
18
  'lib/**/*',
data/task/compile.rake CHANGED
@@ -1,2 +1,2 @@
1
1
  desc 'Verifies requirements and compiles the core'
2
- task :compile => ['requirements', 'c:compile', 'python:compile']
2
+ task :compile => ['requirements', 'python:compile']
@@ -2,7 +2,6 @@ desc 'Verifies the requirements'
2
2
  task :requirements do
3
3
  require 'cliver'
4
4
 
5
- Cliver.detect!('make')
6
5
  Cliver.detect!('python', '~> 2.6')
7
6
  Cliver.detect!('pip', '~> 1.3')
8
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-opinion-detector-basic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-25 00:00:00.000000000 Z
11
+ date: 2014-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opener-daemons
@@ -153,144 +153,6 @@ files:
153
153
  - bin/opinion-detector-basic-server
154
154
  - config.ru
155
155
  - core/opinion_detector_basic_multi.py
156
- - core/vendor/src/crfsuite/AUTHORS
157
- - core/vendor/src/crfsuite/COPYING
158
- - core/vendor/src/crfsuite/ChangeLog
159
- - core/vendor/src/crfsuite/INSTALL
160
- - core/vendor/src/crfsuite/Makefile.am
161
- - core/vendor/src/crfsuite/Makefile.in
162
- - core/vendor/src/crfsuite/README
163
- - core/vendor/src/crfsuite/aclocal.m4
164
- - core/vendor/src/crfsuite/autogen.sh
165
- - core/vendor/src/crfsuite/compile
166
- - core/vendor/src/crfsuite/config.guess
167
- - core/vendor/src/crfsuite/config.h.in
168
- - core/vendor/src/crfsuite/config.sub
169
- - core/vendor/src/crfsuite/configure
170
- - core/vendor/src/crfsuite/configure.in
171
- - core/vendor/src/crfsuite/crfsuite.sln
172
- - core/vendor/src/crfsuite/depcomp
173
- - core/vendor/src/crfsuite/example/chunking.py
174
- - core/vendor/src/crfsuite/example/crfutils.py
175
- - core/vendor/src/crfsuite/example/ner.py
176
- - core/vendor/src/crfsuite/example/pos.py
177
- - core/vendor/src/crfsuite/example/template.py
178
- - core/vendor/src/crfsuite/frontend/Makefile.am
179
- - core/vendor/src/crfsuite/frontend/Makefile.in
180
- - core/vendor/src/crfsuite/frontend/dump.c
181
- - core/vendor/src/crfsuite/frontend/frontend.vcxproj
182
- - core/vendor/src/crfsuite/frontend/iwa.c
183
- - core/vendor/src/crfsuite/frontend/iwa.h
184
- - core/vendor/src/crfsuite/frontend/learn.c
185
- - core/vendor/src/crfsuite/frontend/main.c
186
- - core/vendor/src/crfsuite/frontend/option.c
187
- - core/vendor/src/crfsuite/frontend/option.h
188
- - core/vendor/src/crfsuite/frontend/readdata.h
189
- - core/vendor/src/crfsuite/frontend/reader.c
190
- - core/vendor/src/crfsuite/frontend/tag.c
191
- - core/vendor/src/crfsuite/genbinary.sh.in
192
- - core/vendor/src/crfsuite/include/Makefile.am
193
- - core/vendor/src/crfsuite/include/Makefile.in
194
- - core/vendor/src/crfsuite/include/crfsuite.h
195
- - core/vendor/src/crfsuite/include/crfsuite.hpp
196
- - core/vendor/src/crfsuite/include/crfsuite_api.hpp
197
- - core/vendor/src/crfsuite/include/os.h
198
- - core/vendor/src/crfsuite/install-sh
199
- - core/vendor/src/crfsuite/lib/cqdb/COPYING
200
- - core/vendor/src/crfsuite/lib/cqdb/Makefile.am
201
- - core/vendor/src/crfsuite/lib/cqdb/Makefile.in
202
- - core/vendor/src/crfsuite/lib/cqdb/cqdb.vcxproj
203
- - core/vendor/src/crfsuite/lib/cqdb/include/cqdb.h
204
- - core/vendor/src/crfsuite/lib/cqdb/src/cqdb.c
205
- - core/vendor/src/crfsuite/lib/cqdb/src/lookup3.c
206
- - core/vendor/src/crfsuite/lib/crf/Makefile.am
207
- - core/vendor/src/crfsuite/lib/crf/Makefile.in
208
- - core/vendor/src/crfsuite/lib/crf/crf.vcxproj
209
- - core/vendor/src/crfsuite/lib/crf/src/crf1d.h
210
- - core/vendor/src/crfsuite/lib/crf/src/crf1d_context.c
211
- - core/vendor/src/crfsuite/lib/crf/src/crf1d_encode.c
212
- - core/vendor/src/crfsuite/lib/crf/src/crf1d_feature.c
213
- - core/vendor/src/crfsuite/lib/crf/src/crf1d_model.c
214
- - core/vendor/src/crfsuite/lib/crf/src/crf1d_tag.c
215
- - core/vendor/src/crfsuite/lib/crf/src/crfsuite.c
216
- - core/vendor/src/crfsuite/lib/crf/src/crfsuite_internal.h
217
- - core/vendor/src/crfsuite/lib/crf/src/crfsuite_train.c
218
- - core/vendor/src/crfsuite/lib/crf/src/dataset.c
219
- - core/vendor/src/crfsuite/lib/crf/src/dictionary.c
220
- - core/vendor/src/crfsuite/lib/crf/src/holdout.c
221
- - core/vendor/src/crfsuite/lib/crf/src/logging.c
222
- - core/vendor/src/crfsuite/lib/crf/src/logging.h
223
- - core/vendor/src/crfsuite/lib/crf/src/params.c
224
- - core/vendor/src/crfsuite/lib/crf/src/params.h
225
- - core/vendor/src/crfsuite/lib/crf/src/quark.c
226
- - core/vendor/src/crfsuite/lib/crf/src/quark.h
227
- - core/vendor/src/crfsuite/lib/crf/src/rumavl.c
228
- - core/vendor/src/crfsuite/lib/crf/src/rumavl.h
229
- - core/vendor/src/crfsuite/lib/crf/src/train_arow.c
230
- - core/vendor/src/crfsuite/lib/crf/src/train_averaged_perceptron.c
231
- - core/vendor/src/crfsuite/lib/crf/src/train_l2sgd.c
232
- - core/vendor/src/crfsuite/lib/crf/src/train_lbfgs.c
233
- - core/vendor/src/crfsuite/lib/crf/src/train_passive_aggressive.c
234
- - core/vendor/src/crfsuite/lib/crf/src/vecmath.h
235
- - core/vendor/src/crfsuite/ltmain.sh
236
- - core/vendor/src/crfsuite/missing
237
- - core/vendor/src/crfsuite/swig/Makefile.am
238
- - core/vendor/src/crfsuite/swig/Makefile.in
239
- - core/vendor/src/crfsuite/swig/crfsuite.cpp
240
- - core/vendor/src/crfsuite/swig/export.i
241
- - core/vendor/src/crfsuite/swig/python/README
242
- - core/vendor/src/crfsuite/swig/python/crfsuite.py
243
- - core/vendor/src/crfsuite/swig/python/export_wrap.cpp
244
- - core/vendor/src/crfsuite/swig/python/export_wrap.h
245
- - core/vendor/src/crfsuite/swig/python/prepare.sh
246
- - core/vendor/src/crfsuite/swig/python/sample_tag.py
247
- - core/vendor/src/crfsuite/swig/python/sample_train.py
248
- - core/vendor/src/crfsuite/swig/python/setup.py
249
- - core/vendor/src/crfsuite/win32/stdint.h
250
- - core/vendor/src/liblbfgs/AUTHORS
251
- - core/vendor/src/liblbfgs/COPYING
252
- - core/vendor/src/liblbfgs/ChangeLog
253
- - core/vendor/src/liblbfgs/INSTALL
254
- - core/vendor/src/liblbfgs/Makefile.am
255
- - core/vendor/src/liblbfgs/Makefile.in
256
- - core/vendor/src/liblbfgs/NEWS
257
- - core/vendor/src/liblbfgs/README
258
- - core/vendor/src/liblbfgs/aclocal.m4
259
- - core/vendor/src/liblbfgs/autogen.sh
260
- - core/vendor/src/liblbfgs/config.guess
261
- - core/vendor/src/liblbfgs/config.h.in
262
- - core/vendor/src/liblbfgs/config.sub
263
- - core/vendor/src/liblbfgs/configure
264
- - core/vendor/src/liblbfgs/configure.in
265
- - core/vendor/src/liblbfgs/depcomp
266
- - core/vendor/src/liblbfgs/include/lbfgs.h
267
- - core/vendor/src/liblbfgs/install-sh
268
- - core/vendor/src/liblbfgs/lbfgs.sln
269
- - core/vendor/src/liblbfgs/lib/Makefile.am
270
- - core/vendor/src/liblbfgs/lib/Makefile.in
271
- - core/vendor/src/liblbfgs/lib/arithmetic_ansi.h
272
- - core/vendor/src/liblbfgs/lib/arithmetic_sse_double.h
273
- - core/vendor/src/liblbfgs/lib/arithmetic_sse_float.h
274
- - core/vendor/src/liblbfgs/lib/lbfgs.c
275
- - core/vendor/src/liblbfgs/lib/lib.vcxproj
276
- - core/vendor/src/liblbfgs/ltmain.sh
277
- - core/vendor/src/liblbfgs/missing
278
- - core/vendor/src/liblbfgs/sample/Makefile.am
279
- - core/vendor/src/liblbfgs/sample/Makefile.in
280
- - core/vendor/src/liblbfgs/sample/sample.c
281
- - core/vendor/src/liblbfgs/sample/sample.cpp
282
- - core/vendor/src/liblbfgs/sample/sample.vcxproj
283
- - core/vendor/src/svm_light/LICENSE.txt
284
- - core/vendor/src/svm_light/Makefile
285
- - core/vendor/src/svm_light/kernel.h
286
- - core/vendor/src/svm_light/svm_classify.c
287
- - core/vendor/src/svm_light/svm_common.c
288
- - core/vendor/src/svm_light/svm_common.h
289
- - core/vendor/src/svm_light/svm_hideo.c
290
- - core/vendor/src/svm_light/svm_learn.c
291
- - core/vendor/src/svm_light/svm_learn.h
292
- - core/vendor/src/svm_light/svm_learn_main.c
293
- - core/vendor/src/svm_light/svm_loqo.c
294
156
  - exec/opinion-detector-basic.rb
295
157
  - ext/hack/Rakefile
296
158
  - lib/opener/opinion_detector_basic.rb
@@ -301,11 +163,9 @@ files:
301
163
  - lib/opener/opinion_detector_basic/views/index.erb
302
164
  - opener-opinion-detector-basic.gemspec
303
165
  - pre_install_requirements.txt
304
- - task/c.rake
305
166
  - task/compile.rake
306
167
  - task/python.rake
307
168
  - task/requirements.rake
308
- - task/submodules.rake
309
169
  - task/test.rake
310
170
  homepage: http://opener-project.github.com/
311
171
  licenses:
@@ -1 +0,0 @@
1
- Naoaki Okazaki <okazaki at chokkan org>
@@ -1,27 +0,0 @@
1
- The BSD license.
2
-
3
- Copyright (c) 2007-2010, Naoaki Okazaki
4
- All rights reserved.
5
-
6
- Redistribution and use in source and binary forms, with or without
7
- modification, are permitted provided that the following conditions are met:
8
- * Redistributions of source code must retain the above copyright
9
- notice, this list of conditions and the following disclaimer.
10
- * Redistributions in binary form must reproduce the above copyright
11
- notice, this list of conditions and the following disclaimer in the
12
- documentation and/or other materials provided with the distribution.
13
- * Neither the names of the authors nor the names of its contributors
14
- may be used to endorse or promote products derived from this
15
- software without specific prior written permission.
16
-
17
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
21
- OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,103 +0,0 @@
1
- 2011-08-11 Naoaki Okazaki <okazaki at chokkan org>
2
- * CRFsuite 0.12
3
- - [CORE] Optimized the implementation for faster training; approximately 1.4-1.5 x speed up.
4
- - [CORE] Faster routine for computing exp(x) using SSE2.
5
- - [CORE] Restructured the source code to separate routines for CRF graphical models and training algorithms; this is an initial attempt for implementing CRFs with different feature types (e.g., 2nd-order CRF, 1st-order transition features conditioned on observations) and different training algorithms.
6
- - [CORE] Implemented new training algorithms: Averaged Perceptron, Passive Aggressive, and Adaptive Regularization of Weights (AROW).
7
- - [CORE] Removed automatic generation of BOS/EOS features; one can use these features by inserting attributes to the first/last items (e.g., "__BOS__" at the first item and "__EOS__" at the last item).
8
- - [CORE] Fixed some memory-leak problems.
9
- - [CORE] Reduced memory usage in training.
10
- - [CORE] Fixed a crash problem when the model file does not exist in tagging.
11
- - [FRONTEND:LEARN] Training and test sets are maintained by group numbers; specify the group number for hold-out evaluation with "-e" option.
12
- - [FRONTEND:LEARN] Training algorithm is now specified by "-a" option instead of "-p algorithm=".
13
- - [FRONTEND:LEARN] Renamed some training parameters; for example, an L2 regularization coefficient is specified by "c2" instead of "regularization.sigma" (c2 = 0.5 / sigma * sigma; c1 = 1.0 / sigma).
14
- - [FRONTEND:LEARN] Show the list of parameters, default values, and descriptions with "-H" option.
15
- - [FRONTEND:LEARN] Removed the support of comment lines for simplicity; one may forget to escape '#' characters in a data set. CRFsuite now does not handle '#' as a special character.
16
- - [FRONTEND:TAGGER] Output probabilities of predicted sequences with "-p" option.
17
- - [FRONTEND:TAGGER] Output marginal probabilities of predicted items with "-i" option.
18
- - [API] Numerous changes in API for the enhancements.
19
- - [API] Renamed the library name "libcrf" to "libcrfsuite".
20
- - [API] Renamed the prefix "crf_" to "crfsuite_" in structure and function names.
21
- - [API] Implemented a high-level and easy-to-use API for C++/SWIG (crfsuite.hpp and crfsuite_api.hpp).
22
- - [API] Implemented the Python SWIG module and sample programs; writing a tagger is very easy with this module.
23
- - [SAMPLE] Rewritten samples.
24
- - [SAMPLE] A sample program (template.py) for using feature templates that are compatible with CRF++.
25
- - [SAMPLE] New samples in example directory: Named Entity Recognition (ner.py) using the CoNLL2003 data set, and part-of-speech tagging (pos.py).
26
- - [OTHER] Updated the MSVC solution file to MSVC 2010.
27
-
28
-
29
- 2010-07-16 Naoaki Okazaki <okazaki at chokkan org>
30
- * CRFsuite 0.11
31
- - Renamed crf.h into crfsuite.h to avoid possible conflects in include directories
32
- - Install crfsuite.h to the include directory (suggested by Ingo Glöckner)
33
-
34
-
35
- 2010-01-29 Naoaki Okazaki <okazaki at chokkan org>
36
- * CRFsuite 0.10
37
- - A patch submitted by Hiroshi Manabe (at Kodensha Co., Ltd.) to fix memory leak problems in the tagger.
38
- - Added a new option -r (--reference) for the tagger to output reference labels in parallel with predicted labels.
39
-
40
-
41
- 2009-09-24 Naoaki Okazaki <okazaki at chokkan org>
42
- * CRFsuite 0.9
43
- - Fixed a build problem with liblbfgs 1.8
44
-
45
-
46
- 2009-03-17 Naoaki Okazaki <okazaki at chokkan org>
47
- * CRFsuite 0.8
48
- - Improved the portability of model files across different machine architectures with different byte order; this fixes a crash problem in tagging on some machine architectures.
49
-
50
-
51
- 2009-03-10 Naoaki Okazaki <okazaki at chokkan org>
52
- * CRFsuite 0.7
53
- - Updated RumAVL library to 4.0.0; this fixes a crash problem occurring in feature generation on some machine architectures.
54
-
55
-
56
- 2009-03-07 Naoaki Okazaki <okazaki at chokkan org>
57
- * CRFsuite 0.6
58
- - A new training algorithm, Stochastic Gradient Descent (SGD).
59
- - Updated the L-BFGS routine to liblbfgs 1.7.
60
- - Reduced memory usage in training.
61
- - Supported escape sequences in training/test data.
62
- - Restructured the source code.
63
- - Added a parameter to configure the number of trials for line search.
64
-
65
-
66
- 2008-11-19 Naoaki Okazaki <okazaki at chokkan org>
67
- * CRFsuite 0.5
68
- - Updated the L-BFGS routine to liblbfgs 1.6.
69
- - New parameters lbfgs.stop, lbfgs.delta, lbfgs.linesearch were added.
70
- - Fixed a bug in which the frontend tools could not parse "item:value" format correctly.
71
- - Fixed a bug in computing the accuracy.
72
- - Fixed a bug when the tagger receives an item with no feature.
73
-
74
-
75
- 2008-03-05 Naoaki Okazaki <okazaki at chokkan org>
76
-
77
- * CRFsuite 0.4 (the first public release):
78
- - Website and documentation for CRFsuite.
79
- - Tutorial on the CoNLL 2000 chunking shared task.
80
- - Performance comparison on the CoNLL 2000 chunking shared task.
81
- - Bug fix in L2 regularization.
82
- - A number of small improvements for the public release.
83
-
84
-
85
- 2007-12-12 Naoaki Okazaki <okazaki at chokkan org>
86
-
87
- * CRFsuite 0.3 (internal release):
88
- - Implemented scaling method for forward/backward algorithm.
89
- - Removed the code for computing the forward/backward algorithm in logarithm domain.
90
-
91
-
92
- 2007-11-30 Naoaki Okazaki <okazaki at chokkan org>
93
-
94
- * CRFsuite 0.2 (internal release):
95
- - Orthant-Wise Limited-memory Quasi-Newton (OW-LQN) method for L1 regularization.
96
- - Configurable L-BFGS parameters (number of limited memories, epsilon).
97
-
98
-
99
- 2007-10-29 Naoaki Okazaki <okazaki at chokkan org>
100
-
101
- * CRFsuite 0.1 (internal release):
102
- - Initial release.
103
-
@@ -1,236 +0,0 @@
1
- Installation Instructions
2
- *************************
3
-
4
- Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
5
- Software Foundation, Inc.
6
-
7
- This file is free documentation; the Free Software Foundation gives
8
- unlimited permission to copy, distribute and modify it.
9
-
10
- Basic Installation
11
- ==================
12
-
13
- These are generic installation instructions.
14
-
15
- The `configure' shell script attempts to guess correct values for
16
- various system-dependent variables used during compilation. It uses
17
- those values to create a `Makefile' in each directory of the package.
18
- It may also create one or more `.h' files containing system-dependent
19
- definitions. Finally, it creates a shell script `config.status' that
20
- you can run in the future to recreate the current configuration, and a
21
- file `config.log' containing compiler output (useful mainly for
22
- debugging `configure').
23
-
24
- It can also use an optional file (typically called `config.cache'
25
- and enabled with `--cache-file=config.cache' or simply `-C') that saves
26
- the results of its tests to speed up reconfiguring. (Caching is
27
- disabled by default to prevent problems with accidental use of stale
28
- cache files.)
29
-
30
- If you need to do unusual things to compile the package, please try
31
- to figure out how `configure' could check whether to do them, and mail
32
- diffs or instructions to the address given in the `README' so they can
33
- be considered for the next release. If you are using the cache, and at
34
- some point `config.cache' contains results you don't want to keep, you
35
- may remove or edit it.
36
-
37
- The file `configure.ac' (or `configure.in') is used to create
38
- `configure' by a program called `autoconf'. You only need
39
- `configure.ac' if you want to change it or regenerate `configure' using
40
- a newer version of `autoconf'.
41
-
42
- The simplest way to compile this package is:
43
-
44
- 1. `cd' to the directory containing the package's source code and type
45
- `./configure' to configure the package for your system. If you're
46
- using `csh' on an old version of System V, you might need to type
47
- `sh ./configure' instead to prevent `csh' from trying to execute
48
- `configure' itself.
49
-
50
- Running `configure' takes awhile. While running, it prints some
51
- messages telling which features it is checking for.
52
-
53
- 2. Type `make' to compile the package.
54
-
55
- 3. Optionally, type `make check' to run any self-tests that come with
56
- the package.
57
-
58
- 4. Type `make install' to install the programs and any data files and
59
- documentation.
60
-
61
- 5. You can remove the program binaries and object files from the
62
- source code directory by typing `make clean'. To also remove the
63
- files that `configure' created (so you can compile the package for
64
- a different kind of computer), type `make distclean'. There is
65
- also a `make maintainer-clean' target, but that is intended mainly
66
- for the package's developers. If you use it, you may have to get
67
- all sorts of other programs in order to regenerate files that came
68
- with the distribution.
69
-
70
- Compilers and Options
71
- =====================
72
-
73
- Some systems require unusual options for compilation or linking that the
74
- `configure' script does not know about. Run `./configure --help' for
75
- details on some of the pertinent environment variables.
76
-
77
- You can give `configure' initial values for configuration parameters
78
- by setting variables in the command line or in the environment. Here
79
- is an example:
80
-
81
- ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
82
-
83
- *Note Defining Variables::, for more details.
84
-
85
- Compiling For Multiple Architectures
86
- ====================================
87
-
88
- You can compile the package for more than one kind of computer at the
89
- same time, by placing the object files for each architecture in their
90
- own directory. To do this, you must use a version of `make' that
91
- supports the `VPATH' variable, such as GNU `make'. `cd' to the
92
- directory where you want the object files and executables to go and run
93
- the `configure' script. `configure' automatically checks for the
94
- source code in the directory that `configure' is in and in `..'.
95
-
96
- If you have to use a `make' that does not support the `VPATH'
97
- variable, you have to compile the package for one architecture at a
98
- time in the source code directory. After you have installed the
99
- package for one architecture, use `make distclean' before reconfiguring
100
- for another architecture.
101
-
102
- Installation Names
103
- ==================
104
-
105
- By default, `make install' installs the package's commands under
106
- `/usr/local/bin', include files under `/usr/local/include', etc. You
107
- can specify an installation prefix other than `/usr/local' by giving
108
- `configure' the option `--prefix=PREFIX'.
109
-
110
- You can specify separate installation prefixes for
111
- architecture-specific files and architecture-independent files. If you
112
- pass the option `--exec-prefix=PREFIX' to `configure', the package uses
113
- PREFIX as the prefix for installing programs and libraries.
114
- Documentation and other data files still use the regular prefix.
115
-
116
- In addition, if you use an unusual directory layout you can give
117
- options like `--bindir=DIR' to specify different values for particular
118
- kinds of files. Run `configure --help' for a list of the directories
119
- you can set and what kinds of files go in them.
120
-
121
- If the package supports it, you can cause programs to be installed
122
- with an extra prefix or suffix on their names by giving `configure' the
123
- option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124
-
125
- Optional Features
126
- =================
127
-
128
- Some packages pay attention to `--enable-FEATURE' options to
129
- `configure', where FEATURE indicates an optional part of the package.
130
- They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131
- is something like `gnu-as' or `x' (for the X Window System). The
132
- `README' should mention any `--enable-' and `--with-' options that the
133
- package recognizes.
134
-
135
- For packages that use the X Window System, `configure' can usually
136
- find the X include and library files automatically, but if it doesn't,
137
- you can use the `configure' options `--x-includes=DIR' and
138
- `--x-libraries=DIR' to specify their locations.
139
-
140
- Specifying the System Type
141
- ==========================
142
-
143
- There may be some features `configure' cannot figure out automatically,
144
- but needs to determine by the type of machine the package will run on.
145
- Usually, assuming the package is built to be run on the _same_
146
- architectures, `configure' can figure that out, but if it prints a
147
- message saying it cannot guess the machine type, give it the
148
- `--build=TYPE' option. TYPE can either be a short name for the system
149
- type, such as `sun4', or a canonical name which has the form:
150
-
151
- CPU-COMPANY-SYSTEM
152
-
153
- where SYSTEM can have one of these forms:
154
-
155
- OS KERNEL-OS
156
-
157
- See the file `config.sub' for the possible values of each field. If
158
- `config.sub' isn't included in this package, then this package doesn't
159
- need to know the machine type.
160
-
161
- If you are _building_ compiler tools for cross-compiling, you should
162
- use the option `--target=TYPE' to select the type of system they will
163
- produce code for.
164
-
165
- If you want to _use_ a cross compiler, that generates code for a
166
- platform different from the build platform, you should specify the
167
- "host" platform (i.e., that on which the generated programs will
168
- eventually be run) with `--host=TYPE'.
169
-
170
- Sharing Defaults
171
- ================
172
-
173
- If you want to set default values for `configure' scripts to share, you
174
- can create a site shell script called `config.site' that gives default
175
- values for variables like `CC', `cache_file', and `prefix'.
176
- `configure' looks for `PREFIX/share/config.site' if it exists, then
177
- `PREFIX/etc/config.site' if it exists. Or, you can set the
178
- `CONFIG_SITE' environment variable to the location of the site script.
179
- A warning: not all `configure' scripts look for a site script.
180
-
181
- Defining Variables
182
- ==================
183
-
184
- Variables not defined in a site shell script can be set in the
185
- environment passed to `configure'. However, some packages may run
186
- configure again during the build, and the customized values of these
187
- variables may be lost. In order to avoid this problem, you should set
188
- them in the `configure' command line, using `VAR=value'. For example:
189
-
190
- ./configure CC=/usr/local2/bin/gcc
191
-
192
- causes the specified `gcc' to be used as the C compiler (unless it is
193
- overridden in the site shell script). Here is a another example:
194
-
195
- /bin/bash ./configure CONFIG_SHELL=/bin/bash
196
-
197
- Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
198
- configuration-related scripts to be executed by `/bin/bash'.
199
-
200
- `configure' Invocation
201
- ======================
202
-
203
- `configure' recognizes the following options to control how it operates.
204
-
205
- `--help'
206
- `-h'
207
- Print a summary of the options to `configure', and exit.
208
-
209
- `--version'
210
- `-V'
211
- Print the version of Autoconf used to generate the `configure'
212
- script, and exit.
213
-
214
- `--cache-file=FILE'
215
- Enable the cache: use and save the results of the tests in FILE,
216
- traditionally `config.cache'. FILE defaults to `/dev/null' to
217
- disable caching.
218
-
219
- `--config-cache'
220
- `-C'
221
- Alias for `--cache-file=config.cache'.
222
-
223
- `--quiet'
224
- `--silent'
225
- `-q'
226
- Do not print messages saying which checks are being made. To
227
- suppress all normal output, redirect it to `/dev/null' (any error
228
- messages will still be shown).
229
-
230
- `--srcdir=DIR'
231
- Look for the package's source code in directory DIR. Usually
232
- `configure' can determine that directory automatically.
233
-
234
- `configure' also accepts some other, not widely useful, options. Run
235
- `configure --help' for more details.
236
-
@@ -1,19 +0,0 @@
1
- # $Id$
2
-
3
- SUBDIRS = include lib/cqdb lib/crf frontend swig
4
-
5
- docdir = $(prefix)/share/doc/@PACKAGE@
6
- doc_DATA = README INSTALL COPYING AUTHORS ChangeLog
7
-
8
- EXTRA_DIST = \
9
- crfsuite.sln \
10
- autogen.sh \
11
- win32/stdint.h \
12
- example/crfutils.py \
13
- example/template.py \
14
- example/pos.py \
15
- example/ner.py \
16
- example/chunking.py
17
-
18
- AUTOMAKE_OPTIONS = foreign
19
- ACLOCAL_AMFLAGS = -I m4