blacklight-citeproc 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +5 -5
  2. data/.env +3 -0
  3. data/.internal_test_app/solr/conf/_rest_managed.json +3 -0
  4. data/.internal_test_app/solr/conf/admin-extra.html +31 -0
  5. data/.internal_test_app/solr/conf/currency.xml +67 -0
  6. data/.internal_test_app/solr/conf/email_url_types.txt +2 -0
  7. data/.internal_test_app/solr/conf/lang/contractions_ca.txt +8 -0
  8. data/.internal_test_app/solr/conf/lang/contractions_fr.txt +15 -0
  9. data/.internal_test_app/solr/conf/lang/contractions_ga.txt +5 -0
  10. data/.internal_test_app/solr/conf/lang/contractions_it.txt +23 -0
  11. data/.internal_test_app/solr/conf/lang/hyphenations_ga.txt +5 -0
  12. data/.internal_test_app/solr/conf/lang/stemdict_nl.txt +6 -0
  13. data/.internal_test_app/solr/conf/lang/stoptags_ja.txt +420 -0
  14. data/.internal_test_app/solr/conf/lang/stopwords_ar.txt +125 -0
  15. data/.internal_test_app/solr/conf/lang/stopwords_bg.txt +193 -0
  16. data/.internal_test_app/solr/conf/lang/stopwords_ca.txt +220 -0
  17. data/.internal_test_app/solr/conf/lang/stopwords_cz.txt +172 -0
  18. data/.internal_test_app/solr/conf/lang/stopwords_da.txt +110 -0
  19. data/.internal_test_app/solr/conf/lang/stopwords_de.txt +294 -0
  20. data/.internal_test_app/solr/conf/lang/stopwords_el.txt +78 -0
  21. data/.internal_test_app/solr/conf/lang/stopwords_en.txt +54 -0
  22. data/.internal_test_app/solr/conf/lang/stopwords_es.txt +356 -0
  23. data/.internal_test_app/solr/conf/lang/stopwords_eu.txt +99 -0
  24. data/.internal_test_app/solr/conf/lang/stopwords_fa.txt +313 -0
  25. data/.internal_test_app/solr/conf/lang/stopwords_fi.txt +97 -0
  26. data/.internal_test_app/solr/conf/lang/stopwords_fr.txt +186 -0
  27. data/.internal_test_app/solr/conf/lang/stopwords_ga.txt +110 -0
  28. data/.internal_test_app/solr/conf/lang/stopwords_gl.txt +161 -0
  29. data/.internal_test_app/solr/conf/lang/stopwords_hi.txt +235 -0
  30. data/.internal_test_app/solr/conf/lang/stopwords_hu.txt +211 -0
  31. data/.internal_test_app/solr/conf/lang/stopwords_hy.txt +46 -0
  32. data/.internal_test_app/solr/conf/lang/stopwords_id.txt +359 -0
  33. data/.internal_test_app/solr/conf/lang/stopwords_it.txt +303 -0
  34. data/.internal_test_app/solr/conf/lang/stopwords_ja.txt +127 -0
  35. data/.internal_test_app/solr/conf/lang/stopwords_lv.txt +172 -0
  36. data/.internal_test_app/solr/conf/lang/stopwords_nl.txt +119 -0
  37. data/.internal_test_app/solr/conf/lang/stopwords_no.txt +194 -0
  38. data/.internal_test_app/solr/conf/lang/stopwords_pt.txt +253 -0
  39. data/.internal_test_app/solr/conf/lang/stopwords_ro.txt +233 -0
  40. data/.internal_test_app/solr/conf/lang/stopwords_ru.txt +243 -0
  41. data/.internal_test_app/solr/conf/lang/stopwords_sv.txt +133 -0
  42. data/.internal_test_app/solr/conf/lang/stopwords_th.txt +119 -0
  43. data/.internal_test_app/solr/conf/lang/stopwords_tr.txt +212 -0
  44. data/.internal_test_app/solr/conf/lang/userdict_ja.txt +29 -0
  45. data/.internal_test_app/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  46. data/.internal_test_app/solr/conf/protwords.txt +21 -0
  47. data/.internal_test_app/solr/conf/schema.xml +408 -0
  48. data/.internal_test_app/solr/conf/scripts.conf +24 -0
  49. data/.internal_test_app/solr/conf/solrconfig.xml +1287 -0
  50. data/.internal_test_app/solr/conf/spellings.txt +2 -0
  51. data/.internal_test_app/solr/conf/stopwords.txt +14 -0
  52. data/.internal_test_app/solr/conf/stopwords_en.txt +58 -0
  53. data/.internal_test_app/solr/conf/synonyms.txt +13 -0
  54. data/.internal_test_app/solr/conf/update-script.js +115 -0
  55. data/.internal_test_app/solr/conf/velocity/browse.vm +32 -0
  56. data/.internal_test_app/solr/conf/velocity/dropit.js +0 -0
  57. data/.internal_test_app/solr/conf/velocity/facet_doc_type.vm +2 -0
  58. data/.internal_test_app/solr/conf/velocity/facet_text_shingles.vm +12 -0
  59. data/.internal_test_app/solr/conf/velocity/facets.vm +24 -0
  60. data/.internal_test_app/solr/conf/velocity/footer.vm +29 -0
  61. data/.internal_test_app/solr/conf/velocity/head.vm +290 -0
  62. data/.internal_test_app/solr/conf/velocity/hit.vm +77 -0
  63. data/.internal_test_app/solr/conf/velocity/img/english_640.png +0 -0
  64. data/.internal_test_app/solr/conf/velocity/img/france_640.png +0 -0
  65. data/.internal_test_app/solr/conf/velocity/img/germany_640.png +0 -0
  66. data/.internal_test_app/solr/conf/velocity/img/globe_256.png +0 -0
  67. data/.internal_test_app/solr/conf/velocity/jquery.tx3-tag-cloud.js +0 -0
  68. data/.internal_test_app/solr/conf/velocity/js/dropit.js +97 -0
  69. data/.internal_test_app/solr/conf/velocity/js/jquery.autocomplete.js +763 -0
  70. data/.internal_test_app/solr/conf/velocity/js/jquery.tx3-tag-cloud.js +70 -0
  71. data/.internal_test_app/solr/conf/velocity/layout.vm +42 -0
  72. data/.internal_test_app/solr/conf/velocity/macros.vm +16 -0
  73. data/.internal_test_app/solr/conf/velocity/mime_type_lists.vm +68 -0
  74. data/.internal_test_app/solr/conf/velocity/results.vm +20 -0
  75. data/.internal_test_app/solr/conf/velocity/results_list.vm +21 -0
  76. data/.internal_test_app/solr/conf/xslt/example.xsl +132 -0
  77. data/.internal_test_app/solr/conf/xslt/example_atom.xsl +67 -0
  78. data/.internal_test_app/solr/conf/xslt/example_rss.xsl +66 -0
  79. data/.internal_test_app/solr/conf/xslt/luke.xsl +337 -0
  80. data/Dockerfile +43 -0
  81. data/README.md +3 -0
  82. data/app/controllers/blacklight/citeproc/citation_controller.rb +27 -3
  83. data/app/models/concerns/blacklight/document/bibtex.rb +15 -16
  84. data/bin/entrypoint.sh +8 -0
  85. data/blacklight-citeproc.gemspec +1 -1
  86. data/config/routes.rb +1 -0
  87. data/docker-compose.yml +33 -0
  88. data/lib/blacklight/citeproc/engine.rb +2 -0
  89. data/lib/blacklight/citeproc/version.rb +3 -1
  90. data/lib/blacklight/citeproc.rb +2 -0
  91. data/lib/generators/blacklight/citeproc/install_generator.rb +6 -3
  92. metadata +86 -5
@@ -0,0 +1,110 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/danish/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 Danish stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ | This is a ranked list (commonest to rarest) of stopwords derived from
14
+ | a large text sample.
15
+
16
+
17
+ og | and
18
+ i | in
19
+ jeg | I
20
+ det | that (dem. pronoun)/it (pers. pronoun)
21
+ at | that (in front of a sentence)/to (with infinitive)
22
+ en | a/an
23
+ den | it (pers. pronoun)/that (dem. pronoun)
24
+ til | to/at/for/until/against/by/of/into, more
25
+ er | present tense of "to be"
26
+ som | who, as
27
+ på | on/upon/in/on/at/to/after/of/with/for, on
28
+ de | they
29
+ med | with/by/in, along
30
+ han | he
31
+ af | of/by/from/off/for/in/with/on, off
32
+ for | at/for/to/from/by/of/ago, in front/before, because
33
+ ikke | not
34
+ der | who/which, there/those
35
+ var | past tense of "to be"
36
+ mig | me/myself
37
+ sig | oneself/himself/herself/itself/themselves
38
+ men | but
39
+ et | a/an/one, one (number), someone/somebody/one
40
+ har | present tense of "to have"
41
+ om | round/about/for/in/a, about/around/down, if
42
+ vi | we
43
+ min | my
44
+ havde | past tense of "to have"
45
+ ham | him
46
+ hun | she
47
+ nu | now
48
+ over | over/above/across/by/beyond/past/on/about, over/past
49
+ da | then, when/as/since
50
+ fra | from/off/since, off, since
51
+ du | you
52
+ ud | out
53
+ sin | his/her/its/one's
54
+ dem | them
55
+ os | us/ourselves
56
+ op | up
57
+ man | you/one
58
+ hans | his
59
+ hvor | where
60
+ eller | or
61
+ hvad | what
62
+ skal | must/shall etc.
63
+ selv | myself/youself/herself/ourselves etc., even
64
+ her | here
65
+ alle | all/everyone/everybody etc.
66
+ vil | will (verb)
67
+ blev | past tense of "to stay/to remain/to get/to become"
68
+ kunne | could
69
+ ind | in
70
+ når | when
71
+ være | present tense of "to be"
72
+ dog | however/yet/after all
73
+ noget | something
74
+ ville | would
75
+ jo | you know/you see (adv), yes
76
+ deres | their/theirs
77
+ efter | after/behind/according to/for/by/from, later/afterwards
78
+ ned | down
79
+ skulle | should
80
+ denne | this
81
+ end | than
82
+ dette | this
83
+ mit | my/mine
84
+ også | also
85
+ under | under/beneath/below/during, below/underneath
86
+ have | have
87
+ dig | you
88
+ anden | other
89
+ hende | her
90
+ mine | my
91
+ alt | everything
92
+ meget | much/very, plenty of
93
+ sit | his, her, its, one's
94
+ sine | his, her, its, one's
95
+ vor | our
96
+ mod | against
97
+ disse | these
98
+ hvis | if
99
+ din | your/yours
100
+ nogle | some
101
+ hos | by/at
102
+ blive | be/become
103
+ mange | many
104
+ ad | by/through
105
+ bliver | present tense of "to be/to become"
106
+ hendes | her/hers
107
+ været | be
108
+ thi | for (conj)
109
+ jer | you
110
+ sådan | such, like this/like that
@@ -0,0 +1,294 @@
1
+ | From svn.tartarus.org/snowball/trunk/website/algorithms/german/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 German stop word list. Comments begin with vertical bar. Each stop
11
+ | word is at the start of a line.
12
+
13
+ | The number of forms in this list is reduced significantly by passing it
14
+ | through the German stemmer.
15
+
16
+
17
+ aber | but
18
+
19
+ alle | all
20
+ allem
21
+ allen
22
+ aller
23
+ alles
24
+
25
+ als | than, as
26
+ also | so
27
+ am | an + dem
28
+ an | at
29
+
30
+ ander | other
31
+ andere
32
+ anderem
33
+ anderen
34
+ anderer
35
+ anderes
36
+ anderm
37
+ andern
38
+ anderr
39
+ anders
40
+
41
+ auch | also
42
+ auf | on
43
+ aus | out of
44
+ bei | by
45
+ bin | am
46
+ bis | until
47
+ bist | art
48
+ da | there
49
+ damit | with it
50
+ dann | then
51
+
52
+ der | the
53
+ den
54
+ des
55
+ dem
56
+ die
57
+ das
58
+
59
+ daß | that
60
+
61
+ derselbe | the same
62
+ derselben
63
+ denselben
64
+ desselben
65
+ demselben
66
+ dieselbe
67
+ dieselben
68
+ dasselbe
69
+
70
+ dazu | to that
71
+
72
+ dein | thy
73
+ deine
74
+ deinem
75
+ deinen
76
+ deiner
77
+ deines
78
+
79
+ denn | because
80
+
81
+ derer | of those
82
+ dessen | of him
83
+
84
+ dich | thee
85
+ dir | to thee
86
+ du | thou
87
+
88
+ dies | this
89
+ diese
90
+ diesem
91
+ diesen
92
+ dieser
93
+ dieses
94
+
95
+
96
+ doch | (several meanings)
97
+ dort | (over) there
98
+
99
+
100
+ durch | through
101
+
102
+ ein | a
103
+ eine
104
+ einem
105
+ einen
106
+ einer
107
+ eines
108
+
109
+ einig | some
110
+ einige
111
+ einigem
112
+ einigen
113
+ einiger
114
+ einiges
115
+
116
+ einmal | once
117
+
118
+ er | he
119
+ ihn | him
120
+ ihm | to him
121
+
122
+ es | it
123
+ etwas | something
124
+
125
+ euer | your
126
+ eure
127
+ eurem
128
+ euren
129
+ eurer
130
+ eures
131
+
132
+ für | for
133
+ gegen | towards
134
+ gewesen | p.p. of sein
135
+ hab | have
136
+ habe | have
137
+ haben | have
138
+ hat | has
139
+ hatte | had
140
+ hatten | had
141
+ hier | here
142
+ hin | there
143
+ hinter | behind
144
+
145
+ ich | I
146
+ mich | me
147
+ mir | to me
148
+
149
+
150
+ ihr | you, to her
151
+ ihre
152
+ ihrem
153
+ ihren
154
+ ihrer
155
+ ihres
156
+ euch | to you
157
+
158
+ im | in + dem
159
+ in | in
160
+ indem | while
161
+ ins | in + das
162
+ ist | is
163
+
164
+ jede | each, every
165
+ jedem
166
+ jeden
167
+ jeder
168
+ jedes
169
+
170
+ jene | that
171
+ jenem
172
+ jenen
173
+ jener
174
+ jenes
175
+
176
+ jetzt | now
177
+ kann | can
178
+
179
+ kein | no
180
+ keine
181
+ keinem
182
+ keinen
183
+ keiner
184
+ keines
185
+
186
+ können | can
187
+ könnte | could
188
+ machen | do
189
+ man | one
190
+
191
+ manche | some, many a
192
+ manchem
193
+ manchen
194
+ mancher
195
+ manches
196
+
197
+ mein | my
198
+ meine
199
+ meinem
200
+ meinen
201
+ meiner
202
+ meines
203
+
204
+ mit | with
205
+ muss | must
206
+ musste | had to
207
+ nach | to(wards)
208
+ nicht | not
209
+ nichts | nothing
210
+ noch | still, yet
211
+ nun | now
212
+ nur | only
213
+ ob | whether
214
+ oder | or
215
+ ohne | without
216
+ sehr | very
217
+
218
+ sein | his
219
+ seine
220
+ seinem
221
+ seinen
222
+ seiner
223
+ seines
224
+
225
+ selbst | self
226
+ sich | herself
227
+
228
+ sie | they, she
229
+ ihnen | to them
230
+
231
+ sind | are
232
+ so | so
233
+
234
+ solche | such
235
+ solchem
236
+ solchen
237
+ solcher
238
+ solches
239
+
240
+ soll | shall
241
+ sollte | should
242
+ sondern | but
243
+ sonst | else
244
+ über | over
245
+ um | about, around
246
+ und | and
247
+
248
+ uns | us
249
+ unse
250
+ unsem
251
+ unsen
252
+ unser
253
+ unses
254
+
255
+ unter | under
256
+ viel | much
257
+ vom | von + dem
258
+ von | from
259
+ vor | before
260
+ während | while
261
+ war | was
262
+ waren | were
263
+ warst | wast
264
+ was | what
265
+ weg | away, off
266
+ weil | because
267
+ weiter | further
268
+
269
+ welche | which
270
+ welchem
271
+ welchen
272
+ welcher
273
+ welches
274
+
275
+ wenn | when
276
+ werde | will
277
+ werden | will
278
+ wie | how
279
+ wieder | again
280
+ will | want
281
+ wir | we
282
+ wird | will
283
+ wirst | willst
284
+ wo | where
285
+ wollen | want
286
+ wollte | wanted
287
+ würde | would
288
+ würden | would
289
+ zu | to
290
+ zum | zu + dem
291
+ zur | zu + der
292
+ zwar | indeed
293
+ zwischen | between
294
+
@@ -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