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,253 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/portuguese/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
+ | A Portuguese stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+
14
+ | The following is a ranked list (commonest to rarest) of stopwords
15
+ | deriving from a large sample of text.
16
+
17
+ | Extra words have been added at the end.
18
+
19
+ de | of, from
20
+ a | the; to, at; her
21
+ o | the; him
22
+ que | who, that
23
+ e | and
24
+ do | de + o
25
+ da | de + a
26
+ em | in
27
+ um | a
28
+ para | for
29
+ | é from SER
30
+ com | with
31
+ não | not, no
32
+ uma | a
33
+ os | the; them
34
+ no | em + o
35
+ se | himself etc
36
+ na | em + a
37
+ por | for
38
+ mais | more
39
+ as | the; them
40
+ dos | de + os
41
+ como | as, like
42
+ mas | but
43
+ | foi from SER
44
+ ao | a + o
45
+ ele | he
46
+ das | de + as
47
+ | tem from TER
48
+ à | a + a
49
+ seu | his
50
+ sua | her
51
+ ou | or
52
+ | ser from SER
53
+ quando | when
54
+ muito | much
55
+ | há from HAV
56
+ nos | em + os; us
57
+ já | already, now
58
+ | está from EST
59
+ eu | I
60
+ também | also
61
+ só | only, just
62
+ pelo | per + o
63
+ pela | per + a
64
+ até | up to
65
+ isso | that
66
+ ela | he
67
+ entre | between
68
+ | era from SER
69
+ depois | after
70
+ sem | without
71
+ mesmo | same
72
+ aos | a + os
73
+ | ter from TER
74
+ seus | his
75
+ quem | whom
76
+ nas | em + as
77
+ me | me
78
+ esse | that
79
+ eles | they
80
+ | estão from EST
81
+ você | you
82
+ | tinha from TER
83
+ | foram from SER
84
+ essa | that
85
+ num | em + um
86
+ nem | nor
87
+ suas | her
88
+ meu | my
89
+ às | a + as
90
+ minha | my
91
+ | têm from TER
92
+ numa | em + uma
93
+ pelos | per + os
94
+ elas | they
95
+ | havia from HAV
96
+ | seja from SER
97
+ qual | which
98
+ | será from SER
99
+ nós | we
100
+ | tenho from TER
101
+ lhe | to him, her
102
+ deles | of them
103
+ essas | those
104
+ esses | those
105
+ pelas | per + as
106
+ este | this
107
+ | fosse from SER
108
+ dele | of him
109
+
110
+ | other words. There are many contractions such as naquele = em+aquele,
111
+ | mo = me+o, but they are rare.
112
+ | Indefinite article plural forms are also rare.
113
+
114
+ tu | thou
115
+ te | thee
116
+ vocês | you (plural)
117
+ vos | you
118
+ lhes | to them
119
+ meus | my
120
+ minhas
121
+ teu | thy
122
+ tua
123
+ teus
124
+ tuas
125
+ nosso | our
126
+ nossa
127
+ nossos
128
+ nossas
129
+
130
+ dela | of her
131
+ delas | of them
132
+
133
+ esta | this
134
+ estes | these
135
+ estas | these
136
+ aquele | that
137
+ aquela | that
138
+ aqueles | those
139
+ aquelas | those
140
+ isto | this
141
+ aquilo | that
142
+
143
+ | forms of estar, to be (not including the infinitive):
144
+ estou
145
+ está
146
+ estamos
147
+ estão
148
+ estive
149
+ esteve
150
+ estivemos
151
+ estiveram
152
+ estava
153
+ estávamos
154
+ estavam
155
+ estivera
156
+ estivéramos
157
+ esteja
158
+ estejamos
159
+ estejam
160
+ estivesse
161
+ estivéssemos
162
+ estivessem
163
+ estiver
164
+ estivermos
165
+ estiverem
166
+
167
+ | forms of haver, to have (not including the infinitive):
168
+ hei
169
+
170
+ havemos
171
+ hão
172
+ houve
173
+ houvemos
174
+ houveram
175
+ houvera
176
+ houvéramos
177
+ haja
178
+ hajamos
179
+ hajam
180
+ houvesse
181
+ houvéssemos
182
+ houvessem
183
+ houver
184
+ houvermos
185
+ houverem
186
+ houverei
187
+ houverá
188
+ houveremos
189
+ houverão
190
+ houveria
191
+ houveríamos
192
+ houveriam
193
+
194
+ | forms of ser, to be (not including the infinitive):
195
+ sou
196
+ somos
197
+ são
198
+ era
199
+ éramos
200
+ eram
201
+ fui
202
+ foi
203
+ fomos
204
+ foram
205
+ fora
206
+ fôramos
207
+ seja
208
+ sejamos
209
+ sejam
210
+ fosse
211
+ fôssemos
212
+ fossem
213
+ for
214
+ formos
215
+ forem
216
+ serei
217
+ será
218
+ seremos
219
+ serão
220
+ seria
221
+ seríamos
222
+ seriam
223
+
224
+ | forms of ter, to have (not including the infinitive):
225
+ tenho
226
+ tem
227
+ temos
228
+ tém
229
+ tinha
230
+ tínhamos
231
+ tinham
232
+ tive
233
+ teve
234
+ tivemos
235
+ tiveram
236
+ tivera
237
+ tivéramos
238
+ tenha
239
+ tenhamos
240
+ tenham
241
+ tivesse
242
+ tivéssemos
243
+ tivessem
244
+ tiver
245
+ tivermos
246
+ tiverem
247
+ terei
248
+ terá
249
+ teremos
250
+ terão
251
+ teria
252
+ teríamos
253
+ teriam
@@ -0,0 +1,233 @@
1
+ # This file was created by Jacques Savoy and is distributed under the BSD license.
2
+ # See http://members.unine.ch/jacques.savoy/clef/index.html.
3
+ # Also see http://www.opensource.org/licenses/bsd-license.html
4
+ acea
5
+ aceasta
6
+ această
7
+ aceea
8
+ acei
9
+ aceia
10
+ acel
11
+ acela
12
+ acele
13
+ acelea
14
+ acest
15
+ acesta
16
+ aceste
17
+ acestea
18
+ aceşti
19
+ aceştia
20
+ acolo
21
+ acum
22
+ ai
23
+ aia
24
+ aibă
25
+ aici
26
+ al
27
+ ăla
28
+ ale
29
+ alea
30
+ ălea
31
+ altceva
32
+ altcineva
33
+ am
34
+ ar
35
+ are
36
+
37
+ aşadar
38
+ asemenea
39
+ asta
40
+ ăsta
41
+ astăzi
42
+ astea
43
+ ăstea
44
+ ăştia
45
+ asupra
46
+ aţi
47
+ au
48
+ avea
49
+ avem
50
+ aveţi
51
+ azi
52
+ bine
53
+ bucur
54
+ bună
55
+ ca
56
+
57
+ căci
58
+ când
59
+ care
60
+ cărei
61
+ căror
62
+ cărui
63
+ cât
64
+ câte
65
+ câţi
66
+ către
67
+ câtva
68
+ ce
69
+ cel
70
+ ceva
71
+ chiar
72
+ cînd
73
+ cine
74
+ cineva
75
+ cît
76
+ cîte
77
+ cîţi
78
+ cîtva
79
+ contra
80
+ cu
81
+ cum
82
+ cumva
83
+ curând
84
+ curînd
85
+ da
86
+
87
+ dacă
88
+ dar
89
+ datorită
90
+ de
91
+ deci
92
+ deja
93
+ deoarece
94
+ departe
95
+ deşi
96
+ din
97
+ dinaintea
98
+ dintr
99
+ dintre
100
+ drept
101
+ după
102
+ ea
103
+ ei
104
+ el
105
+ ele
106
+ eram
107
+ este
108
+ eşti
109
+ eu
110
+ face
111
+ fără
112
+ fi
113
+ fie
114
+ fiecare
115
+ fii
116
+ fim
117
+ fiţi
118
+ iar
119
+ ieri
120
+ îi
121
+ îl
122
+ îmi
123
+ împotriva
124
+ în
125
+ înainte
126
+ înaintea
127
+ încât
128
+ încît
129
+ încotro
130
+ între
131
+ întrucât
132
+ întrucît
133
+ îţi
134
+ la
135
+ lângă
136
+ le
137
+ li
138
+ lîngă
139
+ lor
140
+ lui
141
+
142
+ mâine
143
+ mea
144
+ mei
145
+ mele
146
+ mereu
147
+ meu
148
+ mi
149
+ mine
150
+ mult
151
+ multă
152
+ mulţi
153
+ ne
154
+ nicăieri
155
+ nici
156
+ nimeni
157
+ nişte
158
+ noastră
159
+ noastre
160
+ noi
161
+ noştri
162
+ nostru
163
+ nu
164
+ ori
165
+ oricând
166
+ oricare
167
+ oricât
168
+ orice
169
+ oricînd
170
+ oricine
171
+ oricît
172
+ oricum
173
+ oriunde
174
+ până
175
+ pe
176
+ pentru
177
+ peste
178
+ pînă
179
+ poate
180
+ pot
181
+ prea
182
+ prima
183
+ primul
184
+ prin
185
+ printr
186
+ sa
187
+
188
+ săi
189
+ sale
190
+ sau
191
+ său
192
+ se
193
+ şi
194
+ sînt
195
+ sîntem
196
+ sînteţi
197
+ spre
198
+ sub
199
+ sunt
200
+ suntem
201
+ sunteţi
202
+ ta
203
+ tăi
204
+ tale
205
+ tău
206
+ te
207
+ ţi
208
+ ţie
209
+ tine
210
+ toată
211
+ toate
212
+ tot
213
+ toţi
214
+ totuşi
215
+ tu
216
+ un
217
+ una
218
+ unde
219
+ undeva
220
+ unei
221
+ unele
222
+ uneori
223
+ unor
224
+
225
+ vi
226
+ voastră
227
+ voastre
228
+ voi
229
+ voştri
230
+ vostru
231
+ vouă
232
+ vreo
233
+ vreun