warclight 0.1.0
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.
- checksums.yaml +7 -0
- data/.eslintrc +12 -0
- data/.gitignore +19 -0
- data/.rspec +2 -0
- data/.rubocop.yml +66 -0
- data/.solr_wrapper +5 -0
- data/.travis.yml +31 -0
- data/CONTRIBUTING.md +53 -0
- data/Gemfile +42 -0
- data/LICENSE.txt +11 -0
- data/README.md +79 -0
- data/Rakefile +16 -0
- data/app/assets/images/blacklight/compact.svg +25 -0
- data/app/assets/images/blacklight/logo.png +0 -0
- data/app/assets/javascripts/warclight/oembed_viewer.js +39 -0
- data/app/assets/javascripts/warclight/warclight.js +4 -0
- data/app/assets/stylesheets/warclight/application.scss +1 -0
- data/app/assets/stylesheets/warclight/warclight.scss +1 -0
- data/app/controllers/concerns/warclight/field_config_helpers.rb +11 -0
- data/app/helpers/warclight/application_helper.rb +8 -0
- data/app/jobs/warclight/application_job.rb +6 -0
- data/app/models/concerns/warclight/catalog.rb +8 -0
- data/app/models/concerns/warclight/search_behavior.rb +9 -0
- data/app/models/concerns/warclight/solr_document.rb +9 -0
- data/app/views/layouts/warclight/application.html.erb +14 -0
- data/bin/rails +14 -0
- data/config/routes.rb +4 -0
- data/lib/generators/warclight/install_generator.rb +55 -0
- data/lib/generators/warclight/templates/catalog_controller.rb +129 -0
- data/lib/generators/warclight/templates/warclight.js +2 -0
- data/lib/generators/warclight/templates/warclight.scss +3 -0
- data/lib/generators/warclight/update_generator.rb +22 -0
- data/lib/warclight.rb +7 -0
- data/lib/warclight/engine.rb +105 -0
- data/lib/warclight/version.rb +5 -0
- data/package.json +24 -0
- data/solr/conf/elevate.xml +42 -0
- data/solr/conf/lang/contractions_ca.txt +8 -0
- data/solr/conf/lang/contractions_fr.txt +15 -0
- data/solr/conf/lang/contractions_ga.txt +5 -0
- data/solr/conf/lang/contractions_it.txt +23 -0
- data/solr/conf/lang/hyphenations_ga.txt +5 -0
- data/solr/conf/lang/stemdict_nl.txt +6 -0
- data/solr/conf/lang/stoptags_ja.txt +420 -0
- data/solr/conf/lang/stopwords_ar.txt +125 -0
- data/solr/conf/lang/stopwords_bg.txt +193 -0
- data/solr/conf/lang/stopwords_ca.txt +220 -0
- data/solr/conf/lang/stopwords_cz.txt +172 -0
- data/solr/conf/lang/stopwords_da.txt +110 -0
- data/solr/conf/lang/stopwords_de.txt +294 -0
- data/solr/conf/lang/stopwords_el.txt +78 -0
- data/solr/conf/lang/stopwords_en.txt +54 -0
- data/solr/conf/lang/stopwords_es.txt +356 -0
- data/solr/conf/lang/stopwords_eu.txt +99 -0
- data/solr/conf/lang/stopwords_fa.txt +313 -0
- data/solr/conf/lang/stopwords_fi.txt +97 -0
- data/solr/conf/lang/stopwords_fr.txt +186 -0
- data/solr/conf/lang/stopwords_ga.txt +110 -0
- data/solr/conf/lang/stopwords_gl.txt +161 -0
- data/solr/conf/lang/stopwords_hi.txt +235 -0
- data/solr/conf/lang/stopwords_hu.txt +211 -0
- data/solr/conf/lang/stopwords_hy.txt +46 -0
- data/solr/conf/lang/stopwords_id.txt +359 -0
- data/solr/conf/lang/stopwords_it.txt +303 -0
- data/solr/conf/lang/stopwords_ja.txt +127 -0
- data/solr/conf/lang/stopwords_lv.txt +172 -0
- data/solr/conf/lang/stopwords_nl.txt +119 -0
- data/solr/conf/lang/stopwords_no.txt +194 -0
- data/solr/conf/lang/stopwords_pt.txt +253 -0
- data/solr/conf/lang/stopwords_ro.txt +233 -0
- data/solr/conf/lang/stopwords_ru.txt +243 -0
- data/solr/conf/lang/stopwords_sv.txt +133 -0
- data/solr/conf/lang/stopwords_th.txt +119 -0
- data/solr/conf/lang/stopwords_tr.txt +212 -0
- data/solr/conf/lang/userdict_ja.txt +29 -0
- data/solr/conf/managed-schema +1045 -0
- data/solr/conf/params.json +20 -0
- data/solr/conf/protwords.txt +21 -0
- data/solr/conf/schema.xml +350 -0
- data/solr/conf/solrconfig.xml +1361 -0
- data/solr/conf/stopwords.txt +14 -0
- data/solr/conf/synonyms.txt +29 -0
- data/tasks/warclight.rake +61 -0
- data/template.rb +15 -0
- data/vendor/assets/javascripts/responsiveTruncator.js +69 -0
- data/vendor/assets/javascripts/stickyfill.js +480 -0
- data/warclight.gemspec +38 -0
- metadata +312 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Lucene Greek Stopwords list
|
|
2
|
+
# Note: by default this file is used after GreekLowerCaseFilter,
|
|
3
|
+
# so when modifying this file use 'σ' instead of 'ς'
|
|
4
|
+
ο
|
|
5
|
+
η
|
|
6
|
+
το
|
|
7
|
+
οι
|
|
8
|
+
τα
|
|
9
|
+
του
|
|
10
|
+
τησ
|
|
11
|
+
των
|
|
12
|
+
τον
|
|
13
|
+
την
|
|
14
|
+
και
|
|
15
|
+
κι
|
|
16
|
+
κ
|
|
17
|
+
ειμαι
|
|
18
|
+
εισαι
|
|
19
|
+
ειναι
|
|
20
|
+
ειμαστε
|
|
21
|
+
ειστε
|
|
22
|
+
στο
|
|
23
|
+
στον
|
|
24
|
+
στη
|
|
25
|
+
στην
|
|
26
|
+
μα
|
|
27
|
+
αλλα
|
|
28
|
+
απο
|
|
29
|
+
για
|
|
30
|
+
προσ
|
|
31
|
+
με
|
|
32
|
+
σε
|
|
33
|
+
ωσ
|
|
34
|
+
παρα
|
|
35
|
+
αντι
|
|
36
|
+
κατα
|
|
37
|
+
μετα
|
|
38
|
+
θα
|
|
39
|
+
να
|
|
40
|
+
δε
|
|
41
|
+
δεν
|
|
42
|
+
μη
|
|
43
|
+
μην
|
|
44
|
+
επι
|
|
45
|
+
ενω
|
|
46
|
+
εαν
|
|
47
|
+
αν
|
|
48
|
+
τοτε
|
|
49
|
+
που
|
|
50
|
+
πωσ
|
|
51
|
+
ποιοσ
|
|
52
|
+
ποια
|
|
53
|
+
ποιο
|
|
54
|
+
ποιοι
|
|
55
|
+
ποιεσ
|
|
56
|
+
ποιων
|
|
57
|
+
ποιουσ
|
|
58
|
+
αυτοσ
|
|
59
|
+
αυτη
|
|
60
|
+
αυτο
|
|
61
|
+
αυτοι
|
|
62
|
+
αυτων
|
|
63
|
+
αυτουσ
|
|
64
|
+
αυτεσ
|
|
65
|
+
αυτα
|
|
66
|
+
εκεινοσ
|
|
67
|
+
εκεινη
|
|
68
|
+
εκεινο
|
|
69
|
+
εκεινοι
|
|
70
|
+
εκεινεσ
|
|
71
|
+
εκεινα
|
|
72
|
+
εκεινων
|
|
73
|
+
εκεινουσ
|
|
74
|
+
οπωσ
|
|
75
|
+
ομωσ
|
|
76
|
+
ισωσ
|
|
77
|
+
οσο
|
|
78
|
+
οτι
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
# contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
# this work for additional information regarding copyright ownership.
|
|
4
|
+
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
5
|
+
# (the "License"); you may not use this file except in compliance with
|
|
6
|
+
# the License. You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
# a couple of test stopwords to test that the words are really being
|
|
17
|
+
# configured from this file:
|
|
18
|
+
stopworda
|
|
19
|
+
stopwordb
|
|
20
|
+
|
|
21
|
+
# Standard english stop words taken from Lucene's StopAnalyzer
|
|
22
|
+
a
|
|
23
|
+
an
|
|
24
|
+
and
|
|
25
|
+
are
|
|
26
|
+
as
|
|
27
|
+
at
|
|
28
|
+
be
|
|
29
|
+
but
|
|
30
|
+
by
|
|
31
|
+
for
|
|
32
|
+
if
|
|
33
|
+
in
|
|
34
|
+
into
|
|
35
|
+
is
|
|
36
|
+
it
|
|
37
|
+
no
|
|
38
|
+
not
|
|
39
|
+
of
|
|
40
|
+
on
|
|
41
|
+
or
|
|
42
|
+
such
|
|
43
|
+
that
|
|
44
|
+
the
|
|
45
|
+
their
|
|
46
|
+
then
|
|
47
|
+
there
|
|
48
|
+
these
|
|
49
|
+
they
|
|
50
|
+
this
|
|
51
|
+
to
|
|
52
|
+
was
|
|
53
|
+
will
|
|
54
|
+
with
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
| From svn.tartarus.org/snowball/trunk/website/algorithms/spanish/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 Spanish 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 | from, of
|
|
20
|
+
la | the, her
|
|
21
|
+
que | who, that
|
|
22
|
+
el | the
|
|
23
|
+
en | in
|
|
24
|
+
y | and
|
|
25
|
+
a | to
|
|
26
|
+
los | the, them
|
|
27
|
+
del | de + el
|
|
28
|
+
se | himself, from him etc
|
|
29
|
+
las | the, them
|
|
30
|
+
por | for, by, etc
|
|
31
|
+
un | a
|
|
32
|
+
para | for
|
|
33
|
+
con | with
|
|
34
|
+
no | no
|
|
35
|
+
una | a
|
|
36
|
+
su | his, her
|
|
37
|
+
al | a + el
|
|
38
|
+
| es from SER
|
|
39
|
+
lo | him
|
|
40
|
+
como | how
|
|
41
|
+
más | more
|
|
42
|
+
pero | pero
|
|
43
|
+
sus | su plural
|
|
44
|
+
le | to him, her
|
|
45
|
+
ya | already
|
|
46
|
+
o | or
|
|
47
|
+
| fue from SER
|
|
48
|
+
este | this
|
|
49
|
+
| ha from HABER
|
|
50
|
+
sí | himself etc
|
|
51
|
+
porque | because
|
|
52
|
+
esta | this
|
|
53
|
+
| son from SER
|
|
54
|
+
entre | between
|
|
55
|
+
| está from ESTAR
|
|
56
|
+
cuando | when
|
|
57
|
+
muy | very
|
|
58
|
+
sin | without
|
|
59
|
+
sobre | on
|
|
60
|
+
| ser from SER
|
|
61
|
+
| tiene from TENER
|
|
62
|
+
también | also
|
|
63
|
+
me | me
|
|
64
|
+
hasta | until
|
|
65
|
+
hay | there is/are
|
|
66
|
+
donde | where
|
|
67
|
+
| han from HABER
|
|
68
|
+
quien | whom, that
|
|
69
|
+
| están from ESTAR
|
|
70
|
+
| estado from ESTAR
|
|
71
|
+
desde | from
|
|
72
|
+
todo | all
|
|
73
|
+
nos | us
|
|
74
|
+
durante | during
|
|
75
|
+
| estados from ESTAR
|
|
76
|
+
todos | all
|
|
77
|
+
uno | a
|
|
78
|
+
les | to them
|
|
79
|
+
ni | nor
|
|
80
|
+
contra | against
|
|
81
|
+
otros | other
|
|
82
|
+
| fueron from SER
|
|
83
|
+
ese | that
|
|
84
|
+
eso | that
|
|
85
|
+
| había from HABER
|
|
86
|
+
ante | before
|
|
87
|
+
ellos | they
|
|
88
|
+
e | and (variant of y)
|
|
89
|
+
esto | this
|
|
90
|
+
mí | me
|
|
91
|
+
antes | before
|
|
92
|
+
algunos | some
|
|
93
|
+
qué | what?
|
|
94
|
+
unos | a
|
|
95
|
+
yo | I
|
|
96
|
+
otro | other
|
|
97
|
+
otras | other
|
|
98
|
+
otra | other
|
|
99
|
+
él | he
|
|
100
|
+
tanto | so much, many
|
|
101
|
+
esa | that
|
|
102
|
+
estos | these
|
|
103
|
+
mucho | much, many
|
|
104
|
+
quienes | who
|
|
105
|
+
nada | nothing
|
|
106
|
+
muchos | many
|
|
107
|
+
cual | who
|
|
108
|
+
| sea from SER
|
|
109
|
+
poco | few
|
|
110
|
+
ella | she
|
|
111
|
+
estar | to be
|
|
112
|
+
| haber from HABER
|
|
113
|
+
estas | these
|
|
114
|
+
| estaba from ESTAR
|
|
115
|
+
| estamos from ESTAR
|
|
116
|
+
algunas | some
|
|
117
|
+
algo | something
|
|
118
|
+
nosotros | we
|
|
119
|
+
|
|
120
|
+
| other forms
|
|
121
|
+
|
|
122
|
+
mi | me
|
|
123
|
+
mis | mi plural
|
|
124
|
+
tú | thou
|
|
125
|
+
te | thee
|
|
126
|
+
ti | thee
|
|
127
|
+
tu | thy
|
|
128
|
+
tus | tu plural
|
|
129
|
+
ellas | they
|
|
130
|
+
nosotras | we
|
|
131
|
+
vosotros | you
|
|
132
|
+
vosotras | you
|
|
133
|
+
os | you
|
|
134
|
+
mío | mine
|
|
135
|
+
mía |
|
|
136
|
+
míos |
|
|
137
|
+
mías |
|
|
138
|
+
tuyo | thine
|
|
139
|
+
tuya |
|
|
140
|
+
tuyos |
|
|
141
|
+
tuyas |
|
|
142
|
+
suyo | his, hers, theirs
|
|
143
|
+
suya |
|
|
144
|
+
suyos |
|
|
145
|
+
suyas |
|
|
146
|
+
nuestro | ours
|
|
147
|
+
nuestra |
|
|
148
|
+
nuestros |
|
|
149
|
+
nuestras |
|
|
150
|
+
vuestro | yours
|
|
151
|
+
vuestra |
|
|
152
|
+
vuestros |
|
|
153
|
+
vuestras |
|
|
154
|
+
esos | those
|
|
155
|
+
esas | those
|
|
156
|
+
|
|
157
|
+
| forms of estar, to be (not including the infinitive):
|
|
158
|
+
estoy
|
|
159
|
+
estás
|
|
160
|
+
está
|
|
161
|
+
estamos
|
|
162
|
+
estáis
|
|
163
|
+
están
|
|
164
|
+
esté
|
|
165
|
+
estés
|
|
166
|
+
estemos
|
|
167
|
+
estéis
|
|
168
|
+
estén
|
|
169
|
+
estaré
|
|
170
|
+
estarás
|
|
171
|
+
estará
|
|
172
|
+
estaremos
|
|
173
|
+
estaréis
|
|
174
|
+
estarán
|
|
175
|
+
estaría
|
|
176
|
+
estarías
|
|
177
|
+
estaríamos
|
|
178
|
+
estaríais
|
|
179
|
+
estarían
|
|
180
|
+
estaba
|
|
181
|
+
estabas
|
|
182
|
+
estábamos
|
|
183
|
+
estabais
|
|
184
|
+
estaban
|
|
185
|
+
estuve
|
|
186
|
+
estuviste
|
|
187
|
+
estuvo
|
|
188
|
+
estuvimos
|
|
189
|
+
estuvisteis
|
|
190
|
+
estuvieron
|
|
191
|
+
estuviera
|
|
192
|
+
estuvieras
|
|
193
|
+
estuviéramos
|
|
194
|
+
estuvierais
|
|
195
|
+
estuvieran
|
|
196
|
+
estuviese
|
|
197
|
+
estuvieses
|
|
198
|
+
estuviésemos
|
|
199
|
+
estuvieseis
|
|
200
|
+
estuviesen
|
|
201
|
+
estando
|
|
202
|
+
estado
|
|
203
|
+
estada
|
|
204
|
+
estados
|
|
205
|
+
estadas
|
|
206
|
+
estad
|
|
207
|
+
|
|
208
|
+
| forms of haber, to have (not including the infinitive):
|
|
209
|
+
he
|
|
210
|
+
has
|
|
211
|
+
ha
|
|
212
|
+
hemos
|
|
213
|
+
habéis
|
|
214
|
+
han
|
|
215
|
+
haya
|
|
216
|
+
hayas
|
|
217
|
+
hayamos
|
|
218
|
+
hayáis
|
|
219
|
+
hayan
|
|
220
|
+
habré
|
|
221
|
+
habrás
|
|
222
|
+
habrá
|
|
223
|
+
habremos
|
|
224
|
+
habréis
|
|
225
|
+
habrán
|
|
226
|
+
habría
|
|
227
|
+
habrías
|
|
228
|
+
habríamos
|
|
229
|
+
habríais
|
|
230
|
+
habrían
|
|
231
|
+
había
|
|
232
|
+
habías
|
|
233
|
+
habíamos
|
|
234
|
+
habíais
|
|
235
|
+
habían
|
|
236
|
+
hube
|
|
237
|
+
hubiste
|
|
238
|
+
hubo
|
|
239
|
+
hubimos
|
|
240
|
+
hubisteis
|
|
241
|
+
hubieron
|
|
242
|
+
hubiera
|
|
243
|
+
hubieras
|
|
244
|
+
hubiéramos
|
|
245
|
+
hubierais
|
|
246
|
+
hubieran
|
|
247
|
+
hubiese
|
|
248
|
+
hubieses
|
|
249
|
+
hubiésemos
|
|
250
|
+
hubieseis
|
|
251
|
+
hubiesen
|
|
252
|
+
habiendo
|
|
253
|
+
habido
|
|
254
|
+
habida
|
|
255
|
+
habidos
|
|
256
|
+
habidas
|
|
257
|
+
|
|
258
|
+
| forms of ser, to be (not including the infinitive):
|
|
259
|
+
soy
|
|
260
|
+
eres
|
|
261
|
+
es
|
|
262
|
+
somos
|
|
263
|
+
sois
|
|
264
|
+
son
|
|
265
|
+
sea
|
|
266
|
+
seas
|
|
267
|
+
seamos
|
|
268
|
+
seáis
|
|
269
|
+
sean
|
|
270
|
+
seré
|
|
271
|
+
serás
|
|
272
|
+
será
|
|
273
|
+
seremos
|
|
274
|
+
seréis
|
|
275
|
+
serán
|
|
276
|
+
sería
|
|
277
|
+
serías
|
|
278
|
+
seríamos
|
|
279
|
+
seríais
|
|
280
|
+
serían
|
|
281
|
+
era
|
|
282
|
+
eras
|
|
283
|
+
éramos
|
|
284
|
+
erais
|
|
285
|
+
eran
|
|
286
|
+
fui
|
|
287
|
+
fuiste
|
|
288
|
+
fue
|
|
289
|
+
fuimos
|
|
290
|
+
fuisteis
|
|
291
|
+
fueron
|
|
292
|
+
fuera
|
|
293
|
+
fueras
|
|
294
|
+
fuéramos
|
|
295
|
+
fuerais
|
|
296
|
+
fueran
|
|
297
|
+
fuese
|
|
298
|
+
fueses
|
|
299
|
+
fuésemos
|
|
300
|
+
fueseis
|
|
301
|
+
fuesen
|
|
302
|
+
siendo
|
|
303
|
+
sido
|
|
304
|
+
| sed also means 'thirst'
|
|
305
|
+
|
|
306
|
+
| forms of tener, to have (not including the infinitive):
|
|
307
|
+
tengo
|
|
308
|
+
tienes
|
|
309
|
+
tiene
|
|
310
|
+
tenemos
|
|
311
|
+
tenéis
|
|
312
|
+
tienen
|
|
313
|
+
tenga
|
|
314
|
+
tengas
|
|
315
|
+
tengamos
|
|
316
|
+
tengáis
|
|
317
|
+
tengan
|
|
318
|
+
tendré
|
|
319
|
+
tendrás
|
|
320
|
+
tendrá
|
|
321
|
+
tendremos
|
|
322
|
+
tendréis
|
|
323
|
+
tendrán
|
|
324
|
+
tendría
|
|
325
|
+
tendrías
|
|
326
|
+
tendríamos
|
|
327
|
+
tendríais
|
|
328
|
+
tendrían
|
|
329
|
+
tenía
|
|
330
|
+
tenías
|
|
331
|
+
teníamos
|
|
332
|
+
teníais
|
|
333
|
+
tenían
|
|
334
|
+
tuve
|
|
335
|
+
tuviste
|
|
336
|
+
tuvo
|
|
337
|
+
tuvimos
|
|
338
|
+
tuvisteis
|
|
339
|
+
tuvieron
|
|
340
|
+
tuviera
|
|
341
|
+
tuvieras
|
|
342
|
+
tuviéramos
|
|
343
|
+
tuvierais
|
|
344
|
+
tuvieran
|
|
345
|
+
tuviese
|
|
346
|
+
tuvieses
|
|
347
|
+
tuviésemos
|
|
348
|
+
tuvieseis
|
|
349
|
+
tuviesen
|
|
350
|
+
teniendo
|
|
351
|
+
tenido
|
|
352
|
+
tenida
|
|
353
|
+
tenidos
|
|
354
|
+
tenidas
|
|
355
|
+
tened
|
|
356
|
+
|