isomorfeus-ferret 0.12.4 → 0.12.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +612 -612
  3. data/README.md +80 -48
  4. data/ext/isomorfeus_ferret_ext/bm_hash.c +9 -6
  5. data/ext/isomorfeus_ferret_ext/bm_micro_string.c +4 -2
  6. data/ext/isomorfeus_ferret_ext/frb_store.c +34 -5
  7. data/ext/isomorfeus_ferret_ext/frt_posh.h +11 -19
  8. data/ext/isomorfeus_ferret_ext/frt_q_parser.c +1844 -1911
  9. data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +7 -7
  10. data/ext/isomorfeus_ferret_ext/frt_scanner.c +1 -0
  11. data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +1 -0
  12. data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +1 -0
  13. data/ext/isomorfeus_ferret_ext/frt_search.h +1 -1
  14. data/ext/isomorfeus_ferret_ext/libstemmer.c +14 -11
  15. data/ext/isomorfeus_ferret_ext/libstemmer.h +4 -9
  16. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.c +1167 -0
  17. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.h +6 -0
  18. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.c +1433 -0
  19. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.h +6 -0
  20. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +120 -143
  21. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +1 -2
  22. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +217 -237
  23. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +1 -1
  24. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +377 -432
  25. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +1 -1
  26. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +298 -342
  27. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +1 -2
  28. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +530 -524
  29. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +1 -1
  30. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +201 -214
  31. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +1 -1
  32. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +1 -1
  33. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.c +394 -0
  34. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.h +6 -0
  35. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.c +457 -0
  36. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.h +6 -0
  37. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +396 -439
  38. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +1 -1
  39. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +104 -128
  40. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +1 -1
  41. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +242 -273
  42. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +1 -1
  43. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +406 -461
  44. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +1 -2
  45. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +405 -456
  46. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +1 -1
  47. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +108 -126
  48. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +1 -1
  49. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.c +849 -0
  50. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.h +6 -0
  51. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +373 -405
  52. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +1 -1
  53. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +288 -305
  54. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +1 -1
  55. data/ext/isomorfeus_ferret_ext/stem_UTF_8_arabic.c +1651 -0
  56. data/ext/isomorfeus_ferret_ext/stem_UTF_8_arabic.h +6 -0
  57. data/ext/isomorfeus_ferret_ext/stem_UTF_8_armenian.c +546 -0
  58. data/ext/isomorfeus_ferret_ext/stem_UTF_8_armenian.h +6 -0
  59. data/ext/isomorfeus_ferret_ext/stem_UTF_8_basque.c +1171 -0
  60. data/ext/isomorfeus_ferret_ext/stem_UTF_8_basque.h +6 -0
  61. data/ext/isomorfeus_ferret_ext/stem_UTF_8_catalan.c +1436 -0
  62. data/ext/isomorfeus_ferret_ext/stem_UTF_8_catalan.h +6 -0
  63. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.c +121 -141
  64. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.h +1 -1
  65. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.c +221 -241
  66. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.h +1 -1
  67. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.c +381 -431
  68. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.h +1 -1
  69. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.c +300 -345
  70. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.h +1 -1
  71. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.c +518 -511
  72. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.h +1 -1
  73. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.c +201 -209
  74. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.h +1 -1
  75. data/ext/isomorfeus_ferret_ext/stem_UTF_8_greek.c +3660 -0
  76. data/ext/isomorfeus_ferret_ext/stem_UTF_8_greek.h +6 -0
  77. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hindi.c +309 -0
  78. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hindi.h +6 -0
  79. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.c +306 -671
  80. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.h +1 -1
  81. data/ext/isomorfeus_ferret_ext/stem_UTF_8_indonesian.c +394 -0
  82. data/ext/isomorfeus_ferret_ext/stem_UTF_8_indonesian.h +6 -0
  83. data/ext/isomorfeus_ferret_ext/stem_UTF_8_irish.c +457 -0
  84. data/ext/isomorfeus_ferret_ext/stem_UTF_8_irish.h +6 -0
  85. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.c +400 -442
  86. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.h +1 -1
  87. data/ext/isomorfeus_ferret_ext/stem_UTF_8_lithuanian.c +824 -0
  88. data/ext/isomorfeus_ferret_ext/stem_UTF_8_lithuanian.h +6 -0
  89. data/ext/isomorfeus_ferret_ext/stem_UTF_8_nepali.c +408 -0
  90. data/ext/isomorfeus_ferret_ext/stem_UTF_8_nepali.h +6 -0
  91. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.c +105 -127
  92. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.h +1 -1
  93. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.c +245 -276
  94. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.h +1 -1
  95. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.c +409 -464
  96. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.h +1 -1
  97. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.c +376 -408
  98. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.h +1 -1
  99. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.c +272 -287
  100. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.h +1 -1
  101. data/ext/isomorfeus_ferret_ext/stem_UTF_8_serbian.c +6530 -0
  102. data/ext/isomorfeus_ferret_ext/stem_UTF_8_serbian.h +6 -0
  103. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.c +407 -458
  104. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.h +1 -1
  105. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.c +110 -125
  106. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.h +1 -1
  107. data/ext/isomorfeus_ferret_ext/stem_UTF_8_tamil.c +1865 -0
  108. data/ext/isomorfeus_ferret_ext/stem_UTF_8_tamil.h +6 -0
  109. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.c +698 -806
  110. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.h +1 -1
  111. data/ext/isomorfeus_ferret_ext/stem_UTF_8_yiddish.c +1220 -0
  112. data/ext/isomorfeus_ferret_ext/stem_UTF_8_yiddish.h +6 -0
  113. data/ext/isomorfeus_ferret_ext/stem_api.c +1 -9
  114. data/ext/isomorfeus_ferret_ext/stem_api.h +1 -3
  115. data/ext/isomorfeus_ferret_ext/stem_header.h +30 -26
  116. data/ext/isomorfeus_ferret_ext/stem_modules.h +113 -26
  117. data/ext/isomorfeus_ferret_ext/stem_modules.txt +18 -5
  118. data/ext/isomorfeus_ferret_ext/stem_utilities.c +167 -132
  119. data/ext/isomorfeus_ferret_ext/test.c +7 -1
  120. data/ext/isomorfeus_ferret_ext/test_search.c +0 -1
  121. data/lib/isomorfeus/ferret/version.rb +1 -1
  122. metadata +39 -4
  123. data/ext/isomorfeus_ferret_ext/q_parser.y +0 -1366
data/LICENSE CHANGED
@@ -1,612 +1,612 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Jan Biedermann
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
-
24
- Most files originally taken from https://github.com/dbalmain/ferret:
25
-
26
- Copyright (c) 2005-2006 David Balmain
27
-
28
- MIT License as above
29
-
30
-
31
- stemmer files in ext/isomorfeus_ferret originally taken from https://github.com/dbalmain/ferret:
32
-
33
- Copyright (c) 2001, Dr Martin Porter
34
- Copyright (c) 2004,2005, Richard Boulton
35
- Copyright (c) 2013, Yoshiki Shibukawa
36
- Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
37
- All rights reserved.
38
-
39
- Redistribution and use in source and binary forms, with or without
40
- modification, are permitted provided that the following conditions
41
- are met:
42
-
43
- 1. Redistributions of source code must retain the above copyright notice,
44
- this list of conditions and the following disclaimer.
45
- 2. Redistributions in binary form must reproduce the above copyright notice,
46
- this list of conditions and the following disclaimer in the documentation
47
- and/or other materials provided with the distribution.
48
- 3. Neither the name of the Snowball project nor the names of its contributors
49
- may be used to endorse or promote products derived from this software
50
- without specific prior written permission.
51
-
52
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
53
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
54
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
56
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
57
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
58
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
59
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
61
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62
-
63
-
64
- lib/isomorfeus/ferret/monitor.rb originally taken from the gem 'monitor':
65
-
66
- Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
67
-
68
- Redistribution and use in source and binary forms, with or without
69
- modification, are permitted provided that the following conditions
70
- are met:
71
- 1. Redistributions of source code must retain the above copyright
72
- notice, this list of conditions and the following disclaimer.
73
- 2. Redistributions in binary form must reproduce the above copyright
74
- notice, this list of conditions and the following disclaimer in the
75
- documentation and/or other materials provided with the distribution.
76
-
77
- THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
78
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
79
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
80
- ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
81
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
82
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
83
- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
84
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
85
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
86
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
87
- SUCH DAMAGE.
88
-
89
-
90
- For the Reuter-21578 files in the misc/ferret_vs_lucene directory (corpus, etc.),
91
- used for research for developing search engine technology:
92
-
93
- The copyright for the text of newswire articles and Reuters
94
- annotations in the Reuters-21578 collection resides with Reuters Ltd.
95
- Reuters Ltd. and Carnegie Group, Inc. have agreed to allow the free
96
- distribution of this data *for research purposes only*.
97
- If you publish results based on this data set, please acknowledge
98
- its use, refer to the data set by the name "Reuters-21578,
99
- Distribution 1.0", and inform your readers of the current location of
100
- the data set (see "Availability & Questions").
101
-
102
-
103
- Apache Lucene jars in the misc/ferret_vs_lucene directory:
104
-
105
-
106
- Apache License
107
- Version 2.0, January 2004
108
- http://www.apache.org/licenses/
109
-
110
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
111
-
112
- 1. Definitions.
113
-
114
- "License" shall mean the terms and conditions for use, reproduction,
115
- and distribution as defined by Sections 1 through 9 of this document.
116
-
117
- "Licensor" shall mean the copyright owner or entity authorized by
118
- the copyright owner that is granting the License.
119
-
120
- "Legal Entity" shall mean the union of the acting entity and all
121
- other entities that control, are controlled by, or are under common
122
- control with that entity. For the purposes of this definition,
123
- "control" means (i) the power, direct or indirect, to cause the
124
- direction or management of such entity, whether by contract or
125
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
126
- outstanding shares, or (iii) beneficial ownership of such entity.
127
-
128
- "You" (or "Your") shall mean an individual or Legal Entity
129
- exercising permissions granted by this License.
130
-
131
- "Source" form shall mean the preferred form for making modifications,
132
- including but not limited to software source code, documentation
133
- source, and configuration files.
134
-
135
- "Object" form shall mean any form resulting from mechanical
136
- transformation or translation of a Source form, including but
137
- not limited to compiled object code, generated documentation,
138
- and conversions to other media types.
139
-
140
- "Work" shall mean the work of authorship, whether in Source or
141
- Object form, made available under the License, as indicated by a
142
- copyright notice that is included in or attached to the work
143
- (an example is provided in the Appendix below).
144
-
145
- "Derivative Works" shall mean any work, whether in Source or Object
146
- form, that is based on (or derived from) the Work and for which the
147
- editorial revisions, annotations, elaborations, or other modifications
148
- represent, as a whole, an original work of authorship. For the purposes
149
- of this License, Derivative Works shall not include works that remain
150
- separable from, or merely link (or bind by name) to the interfaces of,
151
- the Work and Derivative Works thereof.
152
-
153
- "Contribution" shall mean any work of authorship, including
154
- the original version of the Work and any modifications or additions
155
- to that Work or Derivative Works thereof, that is intentionally
156
- submitted to Licensor for inclusion in the Work by the copyright owner
157
- or by an individual or Legal Entity authorized to submit on behalf of
158
- the copyright owner. For the purposes of this definition, "submitted"
159
- means any form of electronic, verbal, or written communication sent
160
- to the Licensor or its representatives, including but not limited to
161
- communication on electronic mailing lists, source code control systems,
162
- and issue tracking systems that are managed by, or on behalf of, the
163
- Licensor for the purpose of discussing and improving the Work, but
164
- excluding communication that is conspicuously marked or otherwise
165
- designated in writing by the copyright owner as "Not a Contribution."
166
-
167
- "Contributor" shall mean Licensor and any individual or Legal Entity
168
- on behalf of whom a Contribution has been received by Licensor and
169
- subsequently incorporated within the Work.
170
-
171
- 2. Grant of Copyright License. Subject to the terms and conditions of
172
- this License, each Contributor hereby grants to You a perpetual,
173
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
174
- copyright license to reproduce, prepare Derivative Works of,
175
- publicly display, publicly perform, sublicense, and distribute the
176
- Work and such Derivative Works in Source or Object form.
177
-
178
- 3. Grant of Patent License. Subject to the terms and conditions of
179
- this License, each Contributor hereby grants to You a perpetual,
180
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
181
- (except as stated in this section) patent license to make, have made,
182
- use, offer to sell, sell, import, and otherwise transfer the Work,
183
- where such license applies only to those patent claims licensable
184
- by such Contributor that are necessarily infringed by their
185
- Contribution(s) alone or by combination of their Contribution(s)
186
- with the Work to which such Contribution(s) was submitted. If You
187
- institute patent litigation against any entity (including a
188
- cross-claim or counterclaim in a lawsuit) alleging that the Work
189
- or a Contribution incorporated within the Work constitutes direct
190
- or contributory patent infringement, then any patent licenses
191
- granted to You under this License for that Work shall terminate
192
- as of the date such litigation is filed.
193
-
194
- 4. Redistribution. You may reproduce and distribute copies of the
195
- Work or Derivative Works thereof in any medium, with or without
196
- modifications, and in Source or Object form, provided that You
197
- meet the following conditions:
198
-
199
- (a) You must give any other recipients of the Work or
200
- Derivative Works a copy of this License; and
201
-
202
- (b) You must cause any modified files to carry prominent notices
203
- stating that You changed the files; and
204
-
205
- (c) You must retain, in the Source form of any Derivative Works
206
- that You distribute, all copyright, patent, trademark, and
207
- attribution notices from the Source form of the Work,
208
- excluding those notices that do not pertain to any part of
209
- the Derivative Works; and
210
-
211
- (d) If the Work includes a "NOTICE" text file as part of its
212
- distribution, then any Derivative Works that You distribute must
213
- include a readable copy of the attribution notices contained
214
- within such NOTICE file, excluding those notices that do not
215
- pertain to any part of the Derivative Works, in at least one
216
- of the following places: within a NOTICE text file distributed
217
- as part of the Derivative Works; within the Source form or
218
- documentation, if provided along with the Derivative Works; or,
219
- within a display generated by the Derivative Works, if and
220
- wherever such third-party notices normally appear. The contents
221
- of the NOTICE file are for informational purposes only and
222
- do not modify the License. You may add Your own attribution
223
- notices within Derivative Works that You distribute, alongside
224
- or as an addendum to the NOTICE text from the Work, provided
225
- that such additional attribution notices cannot be construed
226
- as modifying the License.
227
-
228
- You may add Your own copyright statement to Your modifications and
229
- may provide additional or different license terms and conditions
230
- for use, reproduction, or distribution of Your modifications, or
231
- for any such Derivative Works as a whole, provided Your use,
232
- reproduction, and distribution of the Work otherwise complies with
233
- the conditions stated in this License.
234
-
235
- 5. Submission of Contributions. Unless You explicitly state otherwise,
236
- any Contribution intentionally submitted for inclusion in the Work
237
- by You to the Licensor shall be under the terms and conditions of
238
- this License, without any additional terms or conditions.
239
- Notwithstanding the above, nothing herein shall supersede or modify
240
- the terms of any separate license agreement you may have executed
241
- with Licensor regarding such Contributions.
242
-
243
- 6. Trademarks. This License does not grant permission to use the trade
244
- names, trademarks, service marks, or product names of the Licensor,
245
- except as required for reasonable and customary use in describing the
246
- origin of the Work and reproducing the content of the NOTICE file.
247
-
248
- 7. Disclaimer of Warranty. Unless required by applicable law or
249
- agreed to in writing, Licensor provides the Work (and each
250
- Contributor provides its Contributions) on an "AS IS" BASIS,
251
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
252
- implied, including, without limitation, any warranties or conditions
253
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
254
- PARTICULAR PURPOSE. You are solely responsible for determining the
255
- appropriateness of using or redistributing the Work and assume any
256
- risks associated with Your exercise of permissions under this License.
257
-
258
- 8. Limitation of Liability. In no event and under no legal theory,
259
- whether in tort (including negligence), contract, or otherwise,
260
- unless required by applicable law (such as deliberate and grossly
261
- negligent acts) or agreed to in writing, shall any Contributor be
262
- liable to You for damages, including any direct, indirect, special,
263
- incidental, or consequential damages of any character arising as a
264
- result of this License or out of the use or inability to use the
265
- Work (including but not limited to damages for loss of goodwill,
266
- work stoppage, computer failure or malfunction, or any and all
267
- other commercial damages or losses), even if such Contributor
268
- has been advised of the possibility of such damages.
269
-
270
- 9. Accepting Warranty or Additional Liability. While redistributing
271
- the Work or Derivative Works thereof, You may choose to offer,
272
- and charge a fee for, acceptance of support, warranty, indemnity,
273
- or other liability obligations and/or rights consistent with this
274
- License. However, in accepting such obligations, You may act only
275
- on Your own behalf and on Your sole responsibility, not on behalf
276
- of any other Contributor, and only if You agree to indemnify,
277
- defend, and hold each Contributor harmless for any liability
278
- incurred by, or claims asserted against, such Contributor by reason
279
- of your accepting any such warranty or additional liability.
280
-
281
- END OF TERMS AND CONDITIONS
282
-
283
- APPENDIX: How to apply the Apache License to your work.
284
-
285
- To apply the Apache License to your work, attach the following
286
- boilerplate notice, with the fields enclosed by brackets "[]"
287
- replaced with your own identifying information. (Don't include
288
- the brackets!) The text should be enclosed in the appropriate
289
- comment syntax for the file format. We also recommend that a
290
- file or class name and description of purpose be included on the
291
- same "printed page" as the copyright notice for easier
292
- identification within third-party archives.
293
-
294
- Copyright [yyyy] [name of copyright owner]
295
-
296
- Licensed under the Apache License, Version 2.0 (the "License");
297
- you may not use this file except in compliance with the License.
298
- You may obtain a copy of the License at
299
-
300
- http://www.apache.org/licenses/LICENSE-2.0
301
-
302
- Unless required by applicable law or agreed to in writing, software
303
- distributed under the License is distributed on an "AS IS" BASIS,
304
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
305
- See the License for the specific language governing permissions and
306
- limitations under the License.
307
-
308
-
309
-
310
- Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
311
- derived from unicode conversion examples available at
312
- http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
313
- from those sources:
314
-
315
- /*
316
- * Copyright 2001-2004 Unicode, Inc.
317
- *
318
- * Disclaimer
319
- *
320
- * This source code is provided as is by Unicode, Inc. No claims are
321
- * made as to fitness for any particular purpose. No warranties of any
322
- * kind are expressed or implied. The recipient agrees to determine
323
- * applicability of information provided. If this file has been
324
- * purchased on magnetic or optical media from Unicode, Inc., the
325
- * sole remedy for any claim will be exchange of defective media
326
- * within 90 days of receipt.
327
- *
328
- * Limitations on Rights to Redistribute This Code
329
- *
330
- * Unicode, Inc. hereby grants the right to freely use the information
331
- * supplied in this file in the creation of products supporting the
332
- * Unicode Standard, and to make copies of this file in any form
333
- * for internal or external distribution as long as this notice
334
- * remains attached.
335
- */
336
-
337
-
338
- Some code in core/src/java/org/apache/lucene/util/ArrayUtil.java was
339
- derived from Python 2.4.2 sources available at
340
- http://www.python.org. Full license is here:
341
-
342
- http://www.python.org/download/releases/2.4.2/license/
343
-
344
- Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
345
- derived from Python 3.1.2 sources available at
346
- http://www.python.org. Full license is here:
347
-
348
- http://www.python.org/download/releases/3.1.2/license/
349
-
350
- Some code in core/src/java/org/apache/lucene/util/automaton was
351
- derived from Brics automaton sources available at
352
- www.brics.dk/automaton/. Here is the copyright from those sources:
353
-
354
- /*
355
- * Copyright (c) 2001-2009 Anders Moeller
356
- * All rights reserved.
357
- *
358
- * Redistribution and use in source and binary forms, with or without
359
- * modification, are permitted provided that the following conditions
360
- * are met:
361
- * 1. Redistributions of source code must retain the above copyright
362
- * notice, this list of conditions and the following disclaimer.
363
- * 2. Redistributions in binary form must reproduce the above copyright
364
- * notice, this list of conditions and the following disclaimer in the
365
- * documentation and/or other materials provided with the distribution.
366
- * 3. The name of the author may not be used to endorse or promote products
367
- * derived from this software without specific prior written permission.
368
- *
369
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
370
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
371
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
372
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
373
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
374
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
375
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
376
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
377
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
378
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
379
- */
380
-
381
- The levenshtein automata tables in core/src/java/org/apache/lucene/util/automaton
382
- were automatically generated with the moman/finenight FSA package.
383
- Here is the copyright for those sources:
384
-
385
- # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>
386
- #
387
- # Permission is hereby granted, free of charge, to any person
388
- # obtaining a copy of this software and associated documentation
389
- # files (the "Software"), to deal in the Software without
390
- # restriction, including without limitation the rights to use,
391
- # copy, modify, merge, publish, distribute, sublicense, and/or sell
392
- # copies of the Software, and to permit persons to whom the
393
- # Software is furnished to do so, subject to the following
394
- # conditions:
395
- #
396
- # The above copyright notice and this permission notice shall be
397
- # included in all copies or substantial portions of the Software.
398
- #
399
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
400
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
401
- # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
402
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
403
- # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
404
- # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
405
- # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
406
- # OTHER DEALINGS IN THE SOFTWARE.
407
-
408
- Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
409
- derived from ICU (http://www.icu-project.org)
410
- The full license is available here:
411
- http://source.icu-project.org/repos/icu/icu/trunk/license.html
412
-
413
- /*
414
- * Copyright (C) 1999-2010, International Business Machines
415
- * Corporation and others. All Rights Reserved.
416
- *
417
- * Permission is hereby granted, free of charge, to any person obtaining a copy
418
- * of this software and associated documentation files (the "Software"), to deal
419
- * in the Software without restriction, including without limitation the rights
420
- * to use, copy, modify, merge, publish, distribute, and/or sell copies of the
421
- * Software, and to permit persons to whom the Software is furnished to do so,
422
- * provided that the above copyright notice(s) and this permission notice appear
423
- * in all copies of the Software and that both the above copyright notice(s) and
424
- * this permission notice appear in supporting documentation.
425
- *
426
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
427
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
428
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
429
- * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE
430
- * LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
431
- * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
432
- * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
433
- * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
434
- *
435
- * Except as contained in this notice, the name of a copyright holder shall not
436
- * be used in advertising or otherwise to promote the sale, use or other
437
- * dealings in this Software without prior written authorization of the
438
- * copyright holder.
439
- */
440
-
441
- The following license applies to the Snowball stemmers:
442
-
443
- Copyright (c) 2001, Dr Martin Porter
444
- Copyright (c) 2002, Richard Boulton
445
- All rights reserved.
446
-
447
- Redistribution and use in source and binary forms, with or without
448
- modification, are permitted provided that the following conditions are met:
449
-
450
- * Redistributions of source code must retain the above copyright notice,
451
- * this list of conditions and the following disclaimer.
452
- * Redistributions in binary form must reproduce the above copyright
453
- * notice, this list of conditions and the following disclaimer in the
454
- * documentation and/or other materials provided with the distribution.
455
- * Neither the name of the copyright holders nor the names of its contributors
456
- * may be used to endorse or promote products derived from this software
457
- * without specific prior written permission.
458
-
459
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
460
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
461
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
462
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
463
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
464
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
465
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
466
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
467
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
468
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
469
-
470
- The following license applies to the KStemmer:
471
-
472
- Copyright © 2003,
473
- Center for Intelligent Information Retrieval,
474
- University of Massachusetts, Amherst.
475
- All rights reserved.
476
-
477
- Redistribution and use in source and binary forms, with or without modification,
478
- are permitted provided that the following conditions are met:
479
-
480
- 1. Redistributions of source code must retain the above copyright notice, this
481
- list of conditions and the following disclaimer.
482
-
483
- 2. Redistributions in binary form must reproduce the above copyright notice,
484
- this list of conditions and the following disclaimer in the documentation
485
- and/or other materials provided with the distribution.
486
-
487
- 3. The names "Center for Intelligent Information Retrieval" and
488
- "University of Massachusetts" must not be used to endorse or promote products
489
- derived from this software without prior written permission. To obtain
490
- permission, contact info@ciir.cs.umass.edu.
491
-
492
- THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS
493
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
494
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
495
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
496
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
497
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
498
- GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
499
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
500
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
501
- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
502
- SUCH DAMAGE.
503
-
504
- The following license applies to the Morfologik project:
505
-
506
- Copyright (c) 2006 Dawid Weiss
507
- Copyright (c) 2007-2011 Dawid Weiss, Marcin Miłkowski
508
- All rights reserved.
509
-
510
- Redistribution and use in source and binary forms, with or without modification,
511
- are permitted provided that the following conditions are met:
512
-
513
- * Redistributions of source code must retain the above copyright notice,
514
- this list of conditions and the following disclaimer.
515
-
516
- * Redistributions in binary form must reproduce the above copyright notice,
517
- this list of conditions and the following disclaimer in the documentation
518
- and/or other materials provided with the distribution.
519
-
520
- * Neither the name of Morfologik nor the names of its contributors
521
- may be used to endorse or promote products derived from this software
522
- without specific prior written permission.
523
-
524
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
525
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
526
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
527
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
528
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
529
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
530
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
531
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
532
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
533
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
534
-
535
- ---
536
-
537
- The dictionary comes from Morfologik project. Morfologik uses data from
538
- Polish ispell/myspell dictionary hosted at http://www.sjp.pl/slownik/en/ and
539
- is licenced on the terms of (inter alia) LGPL and Creative Commons
540
- ShareAlike. The part-of-speech tags were added in Morfologik project and
541
- are not found in the data from sjp.pl. The tagset is similar to IPI PAN
542
- tagset.
543
-
544
- ---
545
-
546
- The following license applies to the Morfeusz project,
547
- used by org.apache.lucene.analysis.morfologik.
548
-
549
- BSD-licensed dictionary of Polish (SGJP)
550
- http://sgjp.pl/morfeusz/
551
-
552
- Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
553
- Marcin Woliński, Robert Wołosz
554
-
555
- All rights reserved.
556
-
557
- Redistribution and use in source and binary forms, with or without
558
- modification, are permitted provided that the following conditions are
559
- met:
560
-
561
- 1. Redistributions of source code must retain the above copyright
562
- notice, this list of conditions and the following disclaimer.
563
-
564
- 2. Redistributions in binary form must reproduce the above copyright
565
- notice, this list of conditions and the following disclaimer in the
566
- documentation and/or other materials provided with the
567
- distribution.
568
-
569
- THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS
570
- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
571
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
572
- DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE
573
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
574
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
575
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
576
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
577
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
578
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
579
- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
580
-
581
- ---
582
-
583
- core/src/java/org/apache/lucene/util/compress/LZ4.java is a Java
584
- implementation of the LZ4 (https://github.com/lz4/lz4/tree/dev/lib)
585
- compression format for Lucene's DataInput/DataOutput abstractions.
586
-
587
- LZ4 Library
588
- Copyright (c) 2011-2016, Yann Collet
589
- All rights reserved.
590
-
591
- Redistribution and use in source and binary forms, with or without modification,
592
- are permitted provided that the following conditions are met:
593
-
594
- * Redistributions of source code must retain the above copyright notice, this
595
- list of conditions and the following disclaimer.
596
-
597
- * Redistributions in binary form must reproduce the above copyright notice, this
598
- list of conditions and the following disclaimer in the documentation and/or
599
- other materials provided with the distribution.
600
-
601
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
602
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
603
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
604
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
605
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
606
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
607
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
608
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
609
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
610
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
611
-
612
-
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Jan Biedermann
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
24
+ Most files originally taken from https://github.com/dbalmain/ferret:
25
+
26
+ Copyright (c) 2005-2006 David Balmain
27
+
28
+ MIT License as above
29
+
30
+
31
+ stemmer files in ext/isomorfeus_ferret originally taken from https://snowballstem.org/:
32
+
33
+ Copyright (c) 2001, Dr Martin Porter
34
+ Copyright (c) 2004,2005, Richard Boulton
35
+ Copyright (c) 2013, Yoshiki Shibukawa
36
+ Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
37
+ All rights reserved.
38
+
39
+ Redistribution and use in source and binary forms, with or without
40
+ modification, are permitted provided that the following conditions
41
+ are met:
42
+
43
+ 1. Redistributions of source code must retain the above copyright notice,
44
+ this list of conditions and the following disclaimer.
45
+ 2. Redistributions in binary form must reproduce the above copyright notice,
46
+ this list of conditions and the following disclaimer in the documentation
47
+ and/or other materials provided with the distribution.
48
+ 3. Neither the name of the Snowball project nor the names of its contributors
49
+ may be used to endorse or promote products derived from this software
50
+ without specific prior written permission.
51
+
52
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
53
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
54
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
56
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
57
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
58
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
59
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
60
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
61
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62
+
63
+
64
+ lib/isomorfeus/ferret/monitor.rb originally taken from the gem 'monitor':
65
+
66
+ Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
67
+
68
+ Redistribution and use in source and binary forms, with or without
69
+ modification, are permitted provided that the following conditions
70
+ are met:
71
+ 1. Redistributions of source code must retain the above copyright
72
+ notice, this list of conditions and the following disclaimer.
73
+ 2. Redistributions in binary form must reproduce the above copyright
74
+ notice, this list of conditions and the following disclaimer in the
75
+ documentation and/or other materials provided with the distribution.
76
+
77
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
78
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
79
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
80
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
81
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
82
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
83
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
84
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
85
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
86
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
87
+ SUCH DAMAGE.
88
+
89
+
90
+ For the Reuter-21578 files in the misc/ferret_vs_lucene directory (corpus, etc.),
91
+ used for research for developing search engine technology:
92
+
93
+ The copyright for the text of newswire articles and Reuters
94
+ annotations in the Reuters-21578 collection resides with Reuters Ltd.
95
+ Reuters Ltd. and Carnegie Group, Inc. have agreed to allow the free
96
+ distribution of this data *for research purposes only*.
97
+ If you publish results based on this data set, please acknowledge
98
+ its use, refer to the data set by the name "Reuters-21578,
99
+ Distribution 1.0", and inform your readers of the current location of
100
+ the data set (see "Availability & Questions").
101
+
102
+
103
+ Apache Lucene jars in the misc/ferret_vs_lucene directory:
104
+
105
+
106
+ Apache License
107
+ Version 2.0, January 2004
108
+ http://www.apache.org/licenses/
109
+
110
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
111
+
112
+ 1. Definitions.
113
+
114
+ "License" shall mean the terms and conditions for use, reproduction,
115
+ and distribution as defined by Sections 1 through 9 of this document.
116
+
117
+ "Licensor" shall mean the copyright owner or entity authorized by
118
+ the copyright owner that is granting the License.
119
+
120
+ "Legal Entity" shall mean the union of the acting entity and all
121
+ other entities that control, are controlled by, or are under common
122
+ control with that entity. For the purposes of this definition,
123
+ "control" means (i) the power, direct or indirect, to cause the
124
+ direction or management of such entity, whether by contract or
125
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
126
+ outstanding shares, or (iii) beneficial ownership of such entity.
127
+
128
+ "You" (or "Your") shall mean an individual or Legal Entity
129
+ exercising permissions granted by this License.
130
+
131
+ "Source" form shall mean the preferred form for making modifications,
132
+ including but not limited to software source code, documentation
133
+ source, and configuration files.
134
+
135
+ "Object" form shall mean any form resulting from mechanical
136
+ transformation or translation of a Source form, including but
137
+ not limited to compiled object code, generated documentation,
138
+ and conversions to other media types.
139
+
140
+ "Work" shall mean the work of authorship, whether in Source or
141
+ Object form, made available under the License, as indicated by a
142
+ copyright notice that is included in or attached to the work
143
+ (an example is provided in the Appendix below).
144
+
145
+ "Derivative Works" shall mean any work, whether in Source or Object
146
+ form, that is based on (or derived from) the Work and for which the
147
+ editorial revisions, annotations, elaborations, or other modifications
148
+ represent, as a whole, an original work of authorship. For the purposes
149
+ of this License, Derivative Works shall not include works that remain
150
+ separable from, or merely link (or bind by name) to the interfaces of,
151
+ the Work and Derivative Works thereof.
152
+
153
+ "Contribution" shall mean any work of authorship, including
154
+ the original version of the Work and any modifications or additions
155
+ to that Work or Derivative Works thereof, that is intentionally
156
+ submitted to Licensor for inclusion in the Work by the copyright owner
157
+ or by an individual or Legal Entity authorized to submit on behalf of
158
+ the copyright owner. For the purposes of this definition, "submitted"
159
+ means any form of electronic, verbal, or written communication sent
160
+ to the Licensor or its representatives, including but not limited to
161
+ communication on electronic mailing lists, source code control systems,
162
+ and issue tracking systems that are managed by, or on behalf of, the
163
+ Licensor for the purpose of discussing and improving the Work, but
164
+ excluding communication that is conspicuously marked or otherwise
165
+ designated in writing by the copyright owner as "Not a Contribution."
166
+
167
+ "Contributor" shall mean Licensor and any individual or Legal Entity
168
+ on behalf of whom a Contribution has been received by Licensor and
169
+ subsequently incorporated within the Work.
170
+
171
+ 2. Grant of Copyright License. Subject to the terms and conditions of
172
+ this License, each Contributor hereby grants to You a perpetual,
173
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
174
+ copyright license to reproduce, prepare Derivative Works of,
175
+ publicly display, publicly perform, sublicense, and distribute the
176
+ Work and such Derivative Works in Source or Object form.
177
+
178
+ 3. Grant of Patent License. Subject to the terms and conditions of
179
+ this License, each Contributor hereby grants to You a perpetual,
180
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
181
+ (except as stated in this section) patent license to make, have made,
182
+ use, offer to sell, sell, import, and otherwise transfer the Work,
183
+ where such license applies only to those patent claims licensable
184
+ by such Contributor that are necessarily infringed by their
185
+ Contribution(s) alone or by combination of their Contribution(s)
186
+ with the Work to which such Contribution(s) was submitted. If You
187
+ institute patent litigation against any entity (including a
188
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
189
+ or a Contribution incorporated within the Work constitutes direct
190
+ or contributory patent infringement, then any patent licenses
191
+ granted to You under this License for that Work shall terminate
192
+ as of the date such litigation is filed.
193
+
194
+ 4. Redistribution. You may reproduce and distribute copies of the
195
+ Work or Derivative Works thereof in any medium, with or without
196
+ modifications, and in Source or Object form, provided that You
197
+ meet the following conditions:
198
+
199
+ (a) You must give any other recipients of the Work or
200
+ Derivative Works a copy of this License; and
201
+
202
+ (b) You must cause any modified files to carry prominent notices
203
+ stating that You changed the files; and
204
+
205
+ (c) You must retain, in the Source form of any Derivative Works
206
+ that You distribute, all copyright, patent, trademark, and
207
+ attribution notices from the Source form of the Work,
208
+ excluding those notices that do not pertain to any part of
209
+ the Derivative Works; and
210
+
211
+ (d) If the Work includes a "NOTICE" text file as part of its
212
+ distribution, then any Derivative Works that You distribute must
213
+ include a readable copy of the attribution notices contained
214
+ within such NOTICE file, excluding those notices that do not
215
+ pertain to any part of the Derivative Works, in at least one
216
+ of the following places: within a NOTICE text file distributed
217
+ as part of the Derivative Works; within the Source form or
218
+ documentation, if provided along with the Derivative Works; or,
219
+ within a display generated by the Derivative Works, if and
220
+ wherever such third-party notices normally appear. The contents
221
+ of the NOTICE file are for informational purposes only and
222
+ do not modify the License. You may add Your own attribution
223
+ notices within Derivative Works that You distribute, alongside
224
+ or as an addendum to the NOTICE text from the Work, provided
225
+ that such additional attribution notices cannot be construed
226
+ as modifying the License.
227
+
228
+ You may add Your own copyright statement to Your modifications and
229
+ may provide additional or different license terms and conditions
230
+ for use, reproduction, or distribution of Your modifications, or
231
+ for any such Derivative Works as a whole, provided Your use,
232
+ reproduction, and distribution of the Work otherwise complies with
233
+ the conditions stated in this License.
234
+
235
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
236
+ any Contribution intentionally submitted for inclusion in the Work
237
+ by You to the Licensor shall be under the terms and conditions of
238
+ this License, without any additional terms or conditions.
239
+ Notwithstanding the above, nothing herein shall supersede or modify
240
+ the terms of any separate license agreement you may have executed
241
+ with Licensor regarding such Contributions.
242
+
243
+ 6. Trademarks. This License does not grant permission to use the trade
244
+ names, trademarks, service marks, or product names of the Licensor,
245
+ except as required for reasonable and customary use in describing the
246
+ origin of the Work and reproducing the content of the NOTICE file.
247
+
248
+ 7. Disclaimer of Warranty. Unless required by applicable law or
249
+ agreed to in writing, Licensor provides the Work (and each
250
+ Contributor provides its Contributions) on an "AS IS" BASIS,
251
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
252
+ implied, including, without limitation, any warranties or conditions
253
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
254
+ PARTICULAR PURPOSE. You are solely responsible for determining the
255
+ appropriateness of using or redistributing the Work and assume any
256
+ risks associated with Your exercise of permissions under this License.
257
+
258
+ 8. Limitation of Liability. In no event and under no legal theory,
259
+ whether in tort (including negligence), contract, or otherwise,
260
+ unless required by applicable law (such as deliberate and grossly
261
+ negligent acts) or agreed to in writing, shall any Contributor be
262
+ liable to You for damages, including any direct, indirect, special,
263
+ incidental, or consequential damages of any character arising as a
264
+ result of this License or out of the use or inability to use the
265
+ Work (including but not limited to damages for loss of goodwill,
266
+ work stoppage, computer failure or malfunction, or any and all
267
+ other commercial damages or losses), even if such Contributor
268
+ has been advised of the possibility of such damages.
269
+
270
+ 9. Accepting Warranty or Additional Liability. While redistributing
271
+ the Work or Derivative Works thereof, You may choose to offer,
272
+ and charge a fee for, acceptance of support, warranty, indemnity,
273
+ or other liability obligations and/or rights consistent with this
274
+ License. However, in accepting such obligations, You may act only
275
+ on Your own behalf and on Your sole responsibility, not on behalf
276
+ of any other Contributor, and only if You agree to indemnify,
277
+ defend, and hold each Contributor harmless for any liability
278
+ incurred by, or claims asserted against, such Contributor by reason
279
+ of your accepting any such warranty or additional liability.
280
+
281
+ END OF TERMS AND CONDITIONS
282
+
283
+ APPENDIX: How to apply the Apache License to your work.
284
+
285
+ To apply the Apache License to your work, attach the following
286
+ boilerplate notice, with the fields enclosed by brackets "[]"
287
+ replaced with your own identifying information. (Don't include
288
+ the brackets!) The text should be enclosed in the appropriate
289
+ comment syntax for the file format. We also recommend that a
290
+ file or class name and description of purpose be included on the
291
+ same "printed page" as the copyright notice for easier
292
+ identification within third-party archives.
293
+
294
+ Copyright [yyyy] [name of copyright owner]
295
+
296
+ Licensed under the Apache License, Version 2.0 (the "License");
297
+ you may not use this file except in compliance with the License.
298
+ You may obtain a copy of the License at
299
+
300
+ http://www.apache.org/licenses/LICENSE-2.0
301
+
302
+ Unless required by applicable law or agreed to in writing, software
303
+ distributed under the License is distributed on an "AS IS" BASIS,
304
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
305
+ See the License for the specific language governing permissions and
306
+ limitations under the License.
307
+
308
+
309
+
310
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
311
+ derived from unicode conversion examples available at
312
+ http://www.unicode.org/Public/PROGRAMS/CVTUTF. Here is the copyright
313
+ from those sources:
314
+
315
+ /*
316
+ * Copyright 2001-2004 Unicode, Inc.
317
+ *
318
+ * Disclaimer
319
+ *
320
+ * This source code is provided as is by Unicode, Inc. No claims are
321
+ * made as to fitness for any particular purpose. No warranties of any
322
+ * kind are expressed or implied. The recipient agrees to determine
323
+ * applicability of information provided. If this file has been
324
+ * purchased on magnetic or optical media from Unicode, Inc., the
325
+ * sole remedy for any claim will be exchange of defective media
326
+ * within 90 days of receipt.
327
+ *
328
+ * Limitations on Rights to Redistribute This Code
329
+ *
330
+ * Unicode, Inc. hereby grants the right to freely use the information
331
+ * supplied in this file in the creation of products supporting the
332
+ * Unicode Standard, and to make copies of this file in any form
333
+ * for internal or external distribution as long as this notice
334
+ * remains attached.
335
+ */
336
+
337
+
338
+ Some code in core/src/java/org/apache/lucene/util/ArrayUtil.java was
339
+ derived from Python 2.4.2 sources available at
340
+ http://www.python.org. Full license is here:
341
+
342
+ http://www.python.org/download/releases/2.4.2/license/
343
+
344
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
345
+ derived from Python 3.1.2 sources available at
346
+ http://www.python.org. Full license is here:
347
+
348
+ http://www.python.org/download/releases/3.1.2/license/
349
+
350
+ Some code in core/src/java/org/apache/lucene/util/automaton was
351
+ derived from Brics automaton sources available at
352
+ www.brics.dk/automaton/. Here is the copyright from those sources:
353
+
354
+ /*
355
+ * Copyright (c) 2001-2009 Anders Moeller
356
+ * All rights reserved.
357
+ *
358
+ * Redistribution and use in source and binary forms, with or without
359
+ * modification, are permitted provided that the following conditions
360
+ * are met:
361
+ * 1. Redistributions of source code must retain the above copyright
362
+ * notice, this list of conditions and the following disclaimer.
363
+ * 2. Redistributions in binary form must reproduce the above copyright
364
+ * notice, this list of conditions and the following disclaimer in the
365
+ * documentation and/or other materials provided with the distribution.
366
+ * 3. The name of the author may not be used to endorse or promote products
367
+ * derived from this software without specific prior written permission.
368
+ *
369
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
370
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
371
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
372
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
373
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
374
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
375
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
376
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
377
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
378
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
379
+ */
380
+
381
+ The levenshtein automata tables in core/src/java/org/apache/lucene/util/automaton
382
+ were automatically generated with the moman/finenight FSA package.
383
+ Here is the copyright for those sources:
384
+
385
+ # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>
386
+ #
387
+ # Permission is hereby granted, free of charge, to any person
388
+ # obtaining a copy of this software and associated documentation
389
+ # files (the "Software"), to deal in the Software without
390
+ # restriction, including without limitation the rights to use,
391
+ # copy, modify, merge, publish, distribute, sublicense, and/or sell
392
+ # copies of the Software, and to permit persons to whom the
393
+ # Software is furnished to do so, subject to the following
394
+ # conditions:
395
+ #
396
+ # The above copyright notice and this permission notice shall be
397
+ # included in all copies or substantial portions of the Software.
398
+ #
399
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
400
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
401
+ # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
402
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
403
+ # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
404
+ # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
405
+ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
406
+ # OTHER DEALINGS IN THE SOFTWARE.
407
+
408
+ Some code in core/src/java/org/apache/lucene/util/UnicodeUtil.java was
409
+ derived from ICU (http://www.icu-project.org)
410
+ The full license is available here:
411
+ http://source.icu-project.org/repos/icu/icu/trunk/license.html
412
+
413
+ /*
414
+ * Copyright (C) 1999-2010, International Business Machines
415
+ * Corporation and others. All Rights Reserved.
416
+ *
417
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
418
+ * of this software and associated documentation files (the "Software"), to deal
419
+ * in the Software without restriction, including without limitation the rights
420
+ * to use, copy, modify, merge, publish, distribute, and/or sell copies of the
421
+ * Software, and to permit persons to whom the Software is furnished to do so,
422
+ * provided that the above copyright notice(s) and this permission notice appear
423
+ * in all copies of the Software and that both the above copyright notice(s) and
424
+ * this permission notice appear in supporting documentation.
425
+ *
426
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
427
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
428
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
429
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE
430
+ * LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR
431
+ * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
432
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
433
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
434
+ *
435
+ * Except as contained in this notice, the name of a copyright holder shall not
436
+ * be used in advertising or otherwise to promote the sale, use or other
437
+ * dealings in this Software without prior written authorization of the
438
+ * copyright holder.
439
+ */
440
+
441
+ The following license applies to the Snowball stemmers:
442
+
443
+ Copyright (c) 2001, Dr Martin Porter
444
+ Copyright (c) 2002, Richard Boulton
445
+ All rights reserved.
446
+
447
+ Redistribution and use in source and binary forms, with or without
448
+ modification, are permitted provided that the following conditions are met:
449
+
450
+ * Redistributions of source code must retain the above copyright notice,
451
+ * this list of conditions and the following disclaimer.
452
+ * Redistributions in binary form must reproduce the above copyright
453
+ * notice, this list of conditions and the following disclaimer in the
454
+ * documentation and/or other materials provided with the distribution.
455
+ * Neither the name of the copyright holders nor the names of its contributors
456
+ * may be used to endorse or promote products derived from this software
457
+ * without specific prior written permission.
458
+
459
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
460
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
461
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
462
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
463
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
464
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
465
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
466
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
467
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
468
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
469
+
470
+ The following license applies to the KStemmer:
471
+
472
+ Copyright © 2003,
473
+ Center for Intelligent Information Retrieval,
474
+ University of Massachusetts, Amherst.
475
+ All rights reserved.
476
+
477
+ Redistribution and use in source and binary forms, with or without modification,
478
+ are permitted provided that the following conditions are met:
479
+
480
+ 1. Redistributions of source code must retain the above copyright notice, this
481
+ list of conditions and the following disclaimer.
482
+
483
+ 2. Redistributions in binary form must reproduce the above copyright notice,
484
+ this list of conditions and the following disclaimer in the documentation
485
+ and/or other materials provided with the distribution.
486
+
487
+ 3. The names "Center for Intelligent Information Retrieval" and
488
+ "University of Massachusetts" must not be used to endorse or promote products
489
+ derived from this software without prior written permission. To obtain
490
+ permission, contact info@ciir.cs.umass.edu.
491
+
492
+ THIS SOFTWARE IS PROVIDED BY UNIVERSITY OF MASSACHUSETTS AND OTHER CONTRIBUTORS
493
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
494
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
495
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
496
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
497
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
498
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
499
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
500
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
501
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
502
+ SUCH DAMAGE.
503
+
504
+ The following license applies to the Morfologik project:
505
+
506
+ Copyright (c) 2006 Dawid Weiss
507
+ Copyright (c) 2007-2011 Dawid Weiss, Marcin Miłkowski
508
+ All rights reserved.
509
+
510
+ Redistribution and use in source and binary forms, with or without modification,
511
+ are permitted provided that the following conditions are met:
512
+
513
+ * Redistributions of source code must retain the above copyright notice,
514
+ this list of conditions and the following disclaimer.
515
+
516
+ * Redistributions in binary form must reproduce the above copyright notice,
517
+ this list of conditions and the following disclaimer in the documentation
518
+ and/or other materials provided with the distribution.
519
+
520
+ * Neither the name of Morfologik nor the names of its contributors
521
+ may be used to endorse or promote products derived from this software
522
+ without specific prior written permission.
523
+
524
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
525
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
526
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
527
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
528
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
529
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
530
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
531
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
532
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
533
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
534
+
535
+ ---
536
+
537
+ The dictionary comes from Morfologik project. Morfologik uses data from
538
+ Polish ispell/myspell dictionary hosted at http://www.sjp.pl/slownik/en/ and
539
+ is licenced on the terms of (inter alia) LGPL and Creative Commons
540
+ ShareAlike. The part-of-speech tags were added in Morfologik project and
541
+ are not found in the data from sjp.pl. The tagset is similar to IPI PAN
542
+ tagset.
543
+
544
+ ---
545
+
546
+ The following license applies to the Morfeusz project,
547
+ used by org.apache.lucene.analysis.morfologik.
548
+
549
+ BSD-licensed dictionary of Polish (SGJP)
550
+ http://sgjp.pl/morfeusz/
551
+
552
+ Copyright © 2011 Zygmunt Saloni, Włodzimierz Gruszczyński,
553
+ Marcin Woliński, Robert Wołosz
554
+
555
+ All rights reserved.
556
+
557
+ Redistribution and use in source and binary forms, with or without
558
+ modification, are permitted provided that the following conditions are
559
+ met:
560
+
561
+ 1. Redistributions of source code must retain the above copyright
562
+ notice, this list of conditions and the following disclaimer.
563
+
564
+ 2. Redistributions in binary form must reproduce the above copyright
565
+ notice, this list of conditions and the following disclaimer in the
566
+ documentation and/or other materials provided with the
567
+ distribution.
568
+
569
+ THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS “AS IS” AND ANY EXPRESS
570
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
571
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
572
+ DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE
573
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
574
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
575
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
576
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
577
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
578
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
579
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
580
+
581
+ ---
582
+
583
+ core/src/java/org/apache/lucene/util/compress/LZ4.java is a Java
584
+ implementation of the LZ4 (https://github.com/lz4/lz4/tree/dev/lib)
585
+ compression format for Lucene's DataInput/DataOutput abstractions.
586
+
587
+ LZ4 Library
588
+ Copyright (c) 2011-2016, Yann Collet
589
+ All rights reserved.
590
+
591
+ Redistribution and use in source and binary forms, with or without modification,
592
+ are permitted provided that the following conditions are met:
593
+
594
+ * Redistributions of source code must retain the above copyright notice, this
595
+ list of conditions and the following disclaimer.
596
+
597
+ * Redistributions in binary form must reproduce the above copyright notice, this
598
+ list of conditions and the following disclaimer in the documentation and/or
599
+ other materials provided with the distribution.
600
+
601
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
602
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
603
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
604
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
605
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
606
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
607
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
608
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
609
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
610
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
611
+
612
+