warclight 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/.eslintrc +12 -0
  3. data/.gitignore +19 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +66 -0
  6. data/.solr_wrapper +5 -0
  7. data/.travis.yml +31 -0
  8. data/CONTRIBUTING.md +53 -0
  9. data/Gemfile +42 -0
  10. data/LICENSE.txt +11 -0
  11. data/README.md +79 -0
  12. data/Rakefile +16 -0
  13. data/app/assets/images/blacklight/compact.svg +25 -0
  14. data/app/assets/images/blacklight/logo.png +0 -0
  15. data/app/assets/javascripts/warclight/oembed_viewer.js +39 -0
  16. data/app/assets/javascripts/warclight/warclight.js +4 -0
  17. data/app/assets/stylesheets/warclight/application.scss +1 -0
  18. data/app/assets/stylesheets/warclight/warclight.scss +1 -0
  19. data/app/controllers/concerns/warclight/field_config_helpers.rb +11 -0
  20. data/app/helpers/warclight/application_helper.rb +8 -0
  21. data/app/jobs/warclight/application_job.rb +6 -0
  22. data/app/models/concerns/warclight/catalog.rb +8 -0
  23. data/app/models/concerns/warclight/search_behavior.rb +9 -0
  24. data/app/models/concerns/warclight/solr_document.rb +9 -0
  25. data/app/views/layouts/warclight/application.html.erb +14 -0
  26. data/bin/rails +14 -0
  27. data/config/routes.rb +4 -0
  28. data/lib/generators/warclight/install_generator.rb +55 -0
  29. data/lib/generators/warclight/templates/catalog_controller.rb +129 -0
  30. data/lib/generators/warclight/templates/warclight.js +2 -0
  31. data/lib/generators/warclight/templates/warclight.scss +3 -0
  32. data/lib/generators/warclight/update_generator.rb +22 -0
  33. data/lib/warclight.rb +7 -0
  34. data/lib/warclight/engine.rb +105 -0
  35. data/lib/warclight/version.rb +5 -0
  36. data/package.json +24 -0
  37. data/solr/conf/elevate.xml +42 -0
  38. data/solr/conf/lang/contractions_ca.txt +8 -0
  39. data/solr/conf/lang/contractions_fr.txt +15 -0
  40. data/solr/conf/lang/contractions_ga.txt +5 -0
  41. data/solr/conf/lang/contractions_it.txt +23 -0
  42. data/solr/conf/lang/hyphenations_ga.txt +5 -0
  43. data/solr/conf/lang/stemdict_nl.txt +6 -0
  44. data/solr/conf/lang/stoptags_ja.txt +420 -0
  45. data/solr/conf/lang/stopwords_ar.txt +125 -0
  46. data/solr/conf/lang/stopwords_bg.txt +193 -0
  47. data/solr/conf/lang/stopwords_ca.txt +220 -0
  48. data/solr/conf/lang/stopwords_cz.txt +172 -0
  49. data/solr/conf/lang/stopwords_da.txt +110 -0
  50. data/solr/conf/lang/stopwords_de.txt +294 -0
  51. data/solr/conf/lang/stopwords_el.txt +78 -0
  52. data/solr/conf/lang/stopwords_en.txt +54 -0
  53. data/solr/conf/lang/stopwords_es.txt +356 -0
  54. data/solr/conf/lang/stopwords_eu.txt +99 -0
  55. data/solr/conf/lang/stopwords_fa.txt +313 -0
  56. data/solr/conf/lang/stopwords_fi.txt +97 -0
  57. data/solr/conf/lang/stopwords_fr.txt +186 -0
  58. data/solr/conf/lang/stopwords_ga.txt +110 -0
  59. data/solr/conf/lang/stopwords_gl.txt +161 -0
  60. data/solr/conf/lang/stopwords_hi.txt +235 -0
  61. data/solr/conf/lang/stopwords_hu.txt +211 -0
  62. data/solr/conf/lang/stopwords_hy.txt +46 -0
  63. data/solr/conf/lang/stopwords_id.txt +359 -0
  64. data/solr/conf/lang/stopwords_it.txt +303 -0
  65. data/solr/conf/lang/stopwords_ja.txt +127 -0
  66. data/solr/conf/lang/stopwords_lv.txt +172 -0
  67. data/solr/conf/lang/stopwords_nl.txt +119 -0
  68. data/solr/conf/lang/stopwords_no.txt +194 -0
  69. data/solr/conf/lang/stopwords_pt.txt +253 -0
  70. data/solr/conf/lang/stopwords_ro.txt +233 -0
  71. data/solr/conf/lang/stopwords_ru.txt +243 -0
  72. data/solr/conf/lang/stopwords_sv.txt +133 -0
  73. data/solr/conf/lang/stopwords_th.txt +119 -0
  74. data/solr/conf/lang/stopwords_tr.txt +212 -0
  75. data/solr/conf/lang/userdict_ja.txt +29 -0
  76. data/solr/conf/managed-schema +1045 -0
  77. data/solr/conf/params.json +20 -0
  78. data/solr/conf/protwords.txt +21 -0
  79. data/solr/conf/schema.xml +350 -0
  80. data/solr/conf/solrconfig.xml +1361 -0
  81. data/solr/conf/stopwords.txt +14 -0
  82. data/solr/conf/synonyms.txt +29 -0
  83. data/tasks/warclight.rake +61 -0
  84. data/template.rb +15 -0
  85. data/vendor/assets/javascripts/responsiveTruncator.js +69 -0
  86. data/vendor/assets/javascripts/stickyfill.js +480 -0
  87. data/warclight.gemspec +38 -0
  88. metadata +312 -0
@@ -0,0 +1,359 @@
1
+ # from appendix D of: A Study of Stemming Effects on Information
2
+ # Retrieval in Bahasa Indonesia
3
+ ada
4
+ adanya
5
+ adalah
6
+ adapun
7
+ agak
8
+ agaknya
9
+ agar
10
+ akan
11
+ akankah
12
+ akhirnya
13
+ aku
14
+ akulah
15
+ amat
16
+ amatlah
17
+ anda
18
+ andalah
19
+ antar
20
+ diantaranya
21
+ antara
22
+ antaranya
23
+ diantara
24
+ apa
25
+ apaan
26
+ mengapa
27
+ apabila
28
+ apakah
29
+ apalagi
30
+ apatah
31
+ atau
32
+ ataukah
33
+ ataupun
34
+ bagai
35
+ bagaikan
36
+ sebagai
37
+ sebagainya
38
+ bagaimana
39
+ bagaimanapun
40
+ sebagaimana
41
+ bagaimanakah
42
+ bagi
43
+ bahkan
44
+ bahwa
45
+ bahwasanya
46
+ sebaliknya
47
+ banyak
48
+ sebanyak
49
+ beberapa
50
+ seberapa
51
+ begini
52
+ beginian
53
+ beginikah
54
+ beginilah
55
+ sebegini
56
+ begitu
57
+ begitukah
58
+ begitulah
59
+ begitupun
60
+ sebegitu
61
+ belum
62
+ belumlah
63
+ sebelum
64
+ sebelumnya
65
+ sebenarnya
66
+ berapa
67
+ berapakah
68
+ berapalah
69
+ berapapun
70
+ betulkah
71
+ sebetulnya
72
+ biasa
73
+ biasanya
74
+ bila
75
+ bilakah
76
+ bisa
77
+ bisakah
78
+ sebisanya
79
+ boleh
80
+ bolehkah
81
+ bolehlah
82
+ buat
83
+ bukan
84
+ bukankah
85
+ bukanlah
86
+ bukannya
87
+ cuma
88
+ percuma
89
+ dahulu
90
+ dalam
91
+ dan
92
+ dapat
93
+ dari
94
+ daripada
95
+ dekat
96
+ demi
97
+ demikian
98
+ demikianlah
99
+ sedemikian
100
+ dengan
101
+ depan
102
+ di
103
+ dia
104
+ dialah
105
+ dini
106
+ diri
107
+ dirinya
108
+ terdiri
109
+ dong
110
+ dulu
111
+ enggak
112
+ enggaknya
113
+ entah
114
+ entahlah
115
+ terhadap
116
+ terhadapnya
117
+ hal
118
+ hampir
119
+ hanya
120
+ hanyalah
121
+ harus
122
+ haruslah
123
+ harusnya
124
+ seharusnya
125
+ hendak
126
+ hendaklah
127
+ hendaknya
128
+ hingga
129
+ sehingga
130
+ ia
131
+ ialah
132
+ ibarat
133
+ ingin
134
+ inginkah
135
+ inginkan
136
+ ini
137
+ inikah
138
+ inilah
139
+ itu
140
+ itukah
141
+ itulah
142
+ jangan
143
+ jangankan
144
+ janganlah
145
+ jika
146
+ jikalau
147
+ juga
148
+ justru
149
+ kala
150
+ kalau
151
+ kalaulah
152
+ kalaupun
153
+ kalian
154
+ kami
155
+ kamilah
156
+ kamu
157
+ kamulah
158
+ kan
159
+ kapan
160
+ kapankah
161
+ kapanpun
162
+ dikarenakan
163
+ karena
164
+ karenanya
165
+ ke
166
+ kecil
167
+ kemudian
168
+ kenapa
169
+ kepada
170
+ kepadanya
171
+ ketika
172
+ seketika
173
+ khususnya
174
+ kini
175
+ kinilah
176
+ kiranya
177
+ sekiranya
178
+ kita
179
+ kitalah
180
+ kok
181
+ lagi
182
+ lagian
183
+ selagi
184
+ lah
185
+ lain
186
+ lainnya
187
+ melainkan
188
+ selaku
189
+ lalu
190
+ melalui
191
+ terlalu
192
+ lama
193
+ lamanya
194
+ selama
195
+ selama
196
+ selamanya
197
+ lebih
198
+ terlebih
199
+ bermacam
200
+ macam
201
+ semacam
202
+ maka
203
+ makanya
204
+ makin
205
+ malah
206
+ malahan
207
+ mampu
208
+ mampukah
209
+ mana
210
+ manakala
211
+ manalagi
212
+ masih
213
+ masihkah
214
+ semasih
215
+ masing
216
+ mau
217
+ maupun
218
+ semaunya
219
+ memang
220
+ mereka
221
+ merekalah
222
+ meski
223
+ meskipun
224
+ semula
225
+ mungkin
226
+ mungkinkah
227
+ nah
228
+ namun
229
+ nanti
230
+ nantinya
231
+ nyaris
232
+ oleh
233
+ olehnya
234
+ seorang
235
+ seseorang
236
+ pada
237
+ padanya
238
+ padahal
239
+ paling
240
+ sepanjang
241
+ pantas
242
+ sepantasnya
243
+ sepantasnyalah
244
+ para
245
+ pasti
246
+ pastilah
247
+ per
248
+ pernah
249
+ pula
250
+ pun
251
+ merupakan
252
+ rupanya
253
+ serupa
254
+ saat
255
+ saatnya
256
+ sesaat
257
+ saja
258
+ sajalah
259
+ saling
260
+ bersama
261
+ sama
262
+ sesama
263
+ sambil
264
+ sampai
265
+ sana
266
+ sangat
267
+ sangatlah
268
+ saya
269
+ sayalah
270
+ se
271
+ sebab
272
+ sebabnya
273
+ sebuah
274
+ tersebut
275
+ tersebutlah
276
+ sedang
277
+ sedangkan
278
+ sedikit
279
+ sedikitnya
280
+ segala
281
+ segalanya
282
+ segera
283
+ sesegera
284
+ sejak
285
+ sejenak
286
+ sekali
287
+ sekalian
288
+ sekalipun
289
+ sesekali
290
+ sekaligus
291
+ sekarang
292
+ sekarang
293
+ sekitar
294
+ sekitarnya
295
+ sela
296
+ selain
297
+ selalu
298
+ seluruh
299
+ seluruhnya
300
+ semakin
301
+ sementara
302
+ sempat
303
+ semua
304
+ semuanya
305
+ sendiri
306
+ sendirinya
307
+ seolah
308
+ seperti
309
+ sepertinya
310
+ sering
311
+ seringnya
312
+ serta
313
+ siapa
314
+ siapakah
315
+ siapapun
316
+ disini
317
+ disinilah
318
+ sini
319
+ sinilah
320
+ sesuatu
321
+ sesuatunya
322
+ suatu
323
+ sesudah
324
+ sesudahnya
325
+ sudah
326
+ sudahkah
327
+ sudahlah
328
+ supaya
329
+ tadi
330
+ tadinya
331
+ tak
332
+ tanpa
333
+ setelah
334
+ telah
335
+ tentang
336
+ tentu
337
+ tentulah
338
+ tentunya
339
+ tertentu
340
+ seterusnya
341
+ tapi
342
+ tetapi
343
+ setiap
344
+ tiap
345
+ setidaknya
346
+ tidak
347
+ tidakkah
348
+ tidaklah
349
+ toh
350
+ waduh
351
+ wah
352
+ wahai
353
+ sewaktu
354
+ walau
355
+ walaupun
356
+ wong
357
+ yaitu
358
+ yakni
359
+ yang
@@ -0,0 +1,303 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/italian/stop.txt
2
+ | This file is distributed under the BSD License.
3
+ | See http://snowball.tartarus.org/license.php
4
+ | Also see http://www.opensource.org/licenses/bsd-license.html
5
+ | - Encoding was converted to UTF-8.
6
+ | - This notice was added.
7
+ |
8
+ | NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
9
+
10
+ | An Italian stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ ad | a (to) before vowel
14
+ al | a + il
15
+ allo | a + lo
16
+ ai | a + i
17
+ agli | a + gli
18
+ all | a + l'
19
+ agl | a + gl'
20
+ alla | a + la
21
+ alle | a + le
22
+ con | with
23
+ col | con + il
24
+ coi | con + i (forms collo, cogli etc are now very rare)
25
+ da | from
26
+ dal | da + il
27
+ dallo | da + lo
28
+ dai | da + i
29
+ dagli | da + gli
30
+ dall | da + l'
31
+ dagl | da + gll'
32
+ dalla | da + la
33
+ dalle | da + le
34
+ di | of
35
+ del | di + il
36
+ dello | di + lo
37
+ dei | di + i
38
+ degli | di + gli
39
+ dell | di + l'
40
+ degl | di + gl'
41
+ della | di + la
42
+ delle | di + le
43
+ in | in
44
+ nel | in + el
45
+ nello | in + lo
46
+ nei | in + i
47
+ negli | in + gli
48
+ nell | in + l'
49
+ negl | in + gl'
50
+ nella | in + la
51
+ nelle | in + le
52
+ su | on
53
+ sul | su + il
54
+ sullo | su + lo
55
+ sui | su + i
56
+ sugli | su + gli
57
+ sull | su + l'
58
+ sugl | su + gl'
59
+ sulla | su + la
60
+ sulle | su + le
61
+ per | through, by
62
+ tra | among
63
+ contro | against
64
+ io | I
65
+ tu | thou
66
+ lui | he
67
+ lei | she
68
+ noi | we
69
+ voi | you
70
+ loro | they
71
+ mio | my
72
+ mia |
73
+ miei |
74
+ mie |
75
+ tuo |
76
+ tua |
77
+ tuoi | thy
78
+ tue |
79
+ suo |
80
+ sua |
81
+ suoi | his, her
82
+ sue |
83
+ nostro | our
84
+ nostra |
85
+ nostri |
86
+ nostre |
87
+ vostro | your
88
+ vostra |
89
+ vostri |
90
+ vostre |
91
+ mi | me
92
+ ti | thee
93
+ ci | us, there
94
+ vi | you, there
95
+ lo | him, the
96
+ la | her, the
97
+ li | them
98
+ le | them, the
99
+ gli | to him, the
100
+ ne | from there etc
101
+ il | the
102
+ un | a
103
+ uno | a
104
+ una | a
105
+ ma | but
106
+ ed | and
107
+ se | if
108
+ perché | why, because
109
+ anche | also
110
+ come | how
111
+ dov | where (as dov')
112
+ dove | where
113
+ che | who, that
114
+ chi | who
115
+ cui | whom
116
+ non | not
117
+ più | more
118
+ quale | who, that
119
+ quanto | how much
120
+ quanti |
121
+ quanta |
122
+ quante |
123
+ quello | that
124
+ quelli |
125
+ quella |
126
+ quelle |
127
+ questo | this
128
+ questi |
129
+ questa |
130
+ queste |
131
+ si | yes
132
+ tutto | all
133
+ tutti | all
134
+
135
+ | single letter forms:
136
+
137
+ a | at
138
+ c | as c' for ce or ci
139
+ e | and
140
+ i | the
141
+ l | as l'
142
+ o | or
143
+
144
+ | forms of avere, to have (not including the infinitive):
145
+
146
+ ho
147
+ hai
148
+ ha
149
+ abbiamo
150
+ avete
151
+ hanno
152
+ abbia
153
+ abbiate
154
+ abbiano
155
+ avrò
156
+ avrai
157
+ avrà
158
+ avremo
159
+ avrete
160
+ avranno
161
+ avrei
162
+ avresti
163
+ avrebbe
164
+ avremmo
165
+ avreste
166
+ avrebbero
167
+ avevo
168
+ avevi
169
+ aveva
170
+ avevamo
171
+ avevate
172
+ avevano
173
+ ebbi
174
+ avesti
175
+ ebbe
176
+ avemmo
177
+ aveste
178
+ ebbero
179
+ avessi
180
+ avesse
181
+ avessimo
182
+ avessero
183
+ avendo
184
+ avuto
185
+ avuta
186
+ avuti
187
+ avute
188
+
189
+ | forms of essere, to be (not including the infinitive):
190
+ sono
191
+ sei
192
+ è
193
+ siamo
194
+ siete
195
+ sia
196
+ siate
197
+ siano
198
+ sarò
199
+ sarai
200
+ sarà
201
+ saremo
202
+ sarete
203
+ saranno
204
+ sarei
205
+ saresti
206
+ sarebbe
207
+ saremmo
208
+ sareste
209
+ sarebbero
210
+ ero
211
+ eri
212
+ era
213
+ eravamo
214
+ eravate
215
+ erano
216
+ fui
217
+ fosti
218
+ fu
219
+ fummo
220
+ foste
221
+ furono
222
+ fossi
223
+ fosse
224
+ fossimo
225
+ fossero
226
+ essendo
227
+
228
+ | forms of fare, to do (not including the infinitive, fa, fat-):
229
+ faccio
230
+ fai
231
+ facciamo
232
+ fanno
233
+ faccia
234
+ facciate
235
+ facciano
236
+ farò
237
+ farai
238
+ farà
239
+ faremo
240
+ farete
241
+ faranno
242
+ farei
243
+ faresti
244
+ farebbe
245
+ faremmo
246
+ fareste
247
+ farebbero
248
+ facevo
249
+ facevi
250
+ faceva
251
+ facevamo
252
+ facevate
253
+ facevano
254
+ feci
255
+ facesti
256
+ fece
257
+ facemmo
258
+ faceste
259
+ fecero
260
+ facessi
261
+ facesse
262
+ facessimo
263
+ facessero
264
+ facendo
265
+
266
+ | forms of stare, to be (not including the infinitive):
267
+ sto
268
+ stai
269
+ sta
270
+ stiamo
271
+ stanno
272
+ stia
273
+ stiate
274
+ stiano
275
+ starò
276
+ starai
277
+ starà
278
+ staremo
279
+ starete
280
+ staranno
281
+ starei
282
+ staresti
283
+ starebbe
284
+ staremmo
285
+ stareste
286
+ starebbero
287
+ stavo
288
+ stavi
289
+ stava
290
+ stavamo
291
+ stavate
292
+ stavano
293
+ stetti
294
+ stesti
295
+ stette
296
+ stemmo
297
+ steste
298
+ stettero
299
+ stessi
300
+ stesse
301
+ stessimo
302
+ stessero
303
+ stando