isomorfeus-ferret 0.12.4 → 0.12.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +612 -612
  3. data/README.md +77 -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/brotli_common_constants.c +15 -0
  7. data/ext/isomorfeus_ferret_ext/brotli_common_constants.h +200 -0
  8. data/ext/isomorfeus_ferret_ext/brotli_common_context.c +156 -0
  9. data/ext/isomorfeus_ferret_ext/brotli_common_context.h +113 -0
  10. data/ext/isomorfeus_ferret_ext/brotli_common_dictionary.c +5914 -0
  11. data/ext/isomorfeus_ferret_ext/brotli_common_dictionary.h +64 -0
  12. data/ext/isomorfeus_ferret_ext/brotli_common_platform.c +22 -0
  13. data/ext/isomorfeus_ferret_ext/brotli_common_platform.h +594 -0
  14. data/ext/isomorfeus_ferret_ext/brotli_common_transform.c +291 -0
  15. data/ext/isomorfeus_ferret_ext/brotli_common_transform.h +85 -0
  16. data/ext/isomorfeus_ferret_ext/brotli_common_version.h +26 -0
  17. data/ext/isomorfeus_ferret_ext/brotli_dec_bit_reader.c +76 -0
  18. data/ext/isomorfeus_ferret_ext/brotli_dec_bit_reader.h +351 -0
  19. data/ext/isomorfeus_ferret_ext/brotli_dec_decode.c +2608 -0
  20. data/ext/isomorfeus_ferret_ext/brotli_dec_huffman.c +339 -0
  21. data/ext/isomorfeus_ferret_ext/brotli_dec_huffman.h +121 -0
  22. data/ext/isomorfeus_ferret_ext/brotli_dec_prefix.h +732 -0
  23. data/ext/isomorfeus_ferret_ext/brotli_dec_state.c +159 -0
  24. data/ext/isomorfeus_ferret_ext/brotli_dec_state.h +365 -0
  25. data/ext/isomorfeus_ferret_ext/brotli_decode.h +344 -0
  26. data/ext/isomorfeus_ferret_ext/brotli_enc_backward_references.c +145 -0
  27. data/ext/isomorfeus_ferret_ext/brotli_enc_backward_references.h +39 -0
  28. data/ext/isomorfeus_ferret_ext/brotli_enc_backward_references_hq.c +843 -0
  29. data/ext/isomorfeus_ferret_ext/brotli_enc_backward_references_hq.h +95 -0
  30. data/ext/isomorfeus_ferret_ext/brotli_enc_backward_references_inc.h +163 -0
  31. data/ext/isomorfeus_ferret_ext/brotli_enc_bit_cost.c +35 -0
  32. data/ext/isomorfeus_ferret_ext/brotli_enc_bit_cost.h +63 -0
  33. data/ext/isomorfeus_ferret_ext/brotli_enc_bit_cost_inc.h +127 -0
  34. data/ext/isomorfeus_ferret_ext/brotli_enc_block_encoder_inc.h +34 -0
  35. data/ext/isomorfeus_ferret_ext/brotli_enc_block_splitter.c +194 -0
  36. data/ext/isomorfeus_ferret_ext/brotli_enc_block_splitter.h +51 -0
  37. data/ext/isomorfeus_ferret_ext/brotli_enc_block_splitter_inc.h +440 -0
  38. data/ext/isomorfeus_ferret_ext/brotli_enc_brotli_bit_stream.c +1314 -0
  39. data/ext/isomorfeus_ferret_ext/brotli_enc_brotli_bit_stream.h +84 -0
  40. data/ext/isomorfeus_ferret_ext/brotli_enc_cluster.c +56 -0
  41. data/ext/isomorfeus_ferret_ext/brotli_enc_cluster.h +48 -0
  42. data/ext/isomorfeus_ferret_ext/brotli_enc_cluster_inc.h +320 -0
  43. data/ext/isomorfeus_ferret_ext/brotli_enc_command.c +28 -0
  44. data/ext/isomorfeus_ferret_ext/brotli_enc_command.h +190 -0
  45. data/ext/isomorfeus_ferret_ext/brotli_enc_compress_fragment.c +790 -0
  46. data/ext/isomorfeus_ferret_ext/brotli_enc_compress_fragment.h +61 -0
  47. data/ext/isomorfeus_ferret_ext/brotli_enc_compress_fragment_two_pass.c +645 -0
  48. data/ext/isomorfeus_ferret_ext/brotli_enc_compress_fragment_two_pass.h +54 -0
  49. data/ext/isomorfeus_ferret_ext/brotli_enc_dictionary_hash.c +1846 -0
  50. data/ext/isomorfeus_ferret_ext/brotli_enc_dictionary_hash.h +25 -0
  51. data/ext/isomorfeus_ferret_ext/brotli_enc_encode.c +1927 -0
  52. data/ext/isomorfeus_ferret_ext/brotli_enc_encoder_dict.c +33 -0
  53. data/ext/isomorfeus_ferret_ext/brotli_enc_encoder_dict.h +43 -0
  54. data/ext/isomorfeus_ferret_ext/brotli_enc_entropy_encode.c +503 -0
  55. data/ext/isomorfeus_ferret_ext/brotli_enc_entropy_encode.h +122 -0
  56. data/ext/isomorfeus_ferret_ext/brotli_enc_entropy_encode_static.h +539 -0
  57. data/ext/isomorfeus_ferret_ext/brotli_enc_fast_log.c +105 -0
  58. data/ext/isomorfeus_ferret_ext/brotli_enc_fast_log.h +66 -0
  59. data/ext/isomorfeus_ferret_ext/brotli_enc_find_match_length.h +79 -0
  60. data/ext/isomorfeus_ferret_ext/brotli_enc_hash.h +488 -0
  61. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_composite_inc.h +125 -0
  62. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_forgetful_chain_inc.h +293 -0
  63. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_longest_match64_inc.h +267 -0
  64. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_longest_match_inc.h +262 -0
  65. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_longest_match_quickly_inc.h +266 -0
  66. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_rolling_inc.h +212 -0
  67. data/ext/isomorfeus_ferret_ext/brotli_enc_hash_to_binary_tree_inc.h +329 -0
  68. data/ext/isomorfeus_ferret_ext/brotli_enc_histogram.c +100 -0
  69. data/ext/isomorfeus_ferret_ext/brotli_enc_histogram.h +63 -0
  70. data/ext/isomorfeus_ferret_ext/brotli_enc_histogram_inc.h +51 -0
  71. data/ext/isomorfeus_ferret_ext/brotli_enc_literal_cost.c +175 -0
  72. data/ext/isomorfeus_ferret_ext/brotli_enc_literal_cost.h +30 -0
  73. data/ext/isomorfeus_ferret_ext/brotli_enc_memory.c +170 -0
  74. data/ext/isomorfeus_ferret_ext/brotli_enc_memory.h +114 -0
  75. data/ext/isomorfeus_ferret_ext/brotli_enc_metablock.c +663 -0
  76. data/ext/isomorfeus_ferret_ext/brotli_enc_metablock.h +105 -0
  77. data/ext/isomorfeus_ferret_ext/brotli_enc_metablock_inc.h +183 -0
  78. data/ext/isomorfeus_ferret_ext/brotli_enc_params.h +46 -0
  79. data/ext/isomorfeus_ferret_ext/brotli_enc_prefix.h +53 -0
  80. data/ext/isomorfeus_ferret_ext/brotli_enc_quality.h +165 -0
  81. data/ext/isomorfeus_ferret_ext/brotli_enc_ringbuffer.h +167 -0
  82. data/ext/isomorfeus_ferret_ext/brotli_enc_static_dict.c +486 -0
  83. data/ext/isomorfeus_ferret_ext/brotli_enc_static_dict.h +40 -0
  84. data/ext/isomorfeus_ferret_ext/brotli_enc_static_dict_lut.h +5864 -0
  85. data/ext/isomorfeus_ferret_ext/brotli_enc_utf8_util.c +85 -0
  86. data/ext/isomorfeus_ferret_ext/brotli_enc_utf8_util.h +32 -0
  87. data/ext/isomorfeus_ferret_ext/brotli_enc_write_bits.h +87 -0
  88. data/ext/isomorfeus_ferret_ext/brotli_encode.h +448 -0
  89. data/ext/isomorfeus_ferret_ext/brotli_port.h +288 -0
  90. data/ext/isomorfeus_ferret_ext/brotli_types.h +83 -0
  91. data/ext/isomorfeus_ferret_ext/frb_index.c +35 -4
  92. data/ext/isomorfeus_ferret_ext/frb_store.c +34 -5
  93. data/ext/isomorfeus_ferret_ext/frt_document.h +1 -0
  94. data/ext/isomorfeus_ferret_ext/frt_fs_store.c +1 -0
  95. data/ext/isomorfeus_ferret_ext/frt_index.c +174 -25
  96. data/ext/isomorfeus_ferret_ext/frt_index.h +6 -3
  97. data/ext/isomorfeus_ferret_ext/frt_posh.h +11 -19
  98. data/ext/isomorfeus_ferret_ext/frt_q_parser.c +1844 -1911
  99. data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +12 -15
  100. data/ext/isomorfeus_ferret_ext/frt_ram_store.c +1 -0
  101. data/ext/isomorfeus_ferret_ext/frt_scanner.c +1 -0
  102. data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +1 -0
  103. data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +1 -0
  104. data/ext/isomorfeus_ferret_ext/frt_search.h +1 -1
  105. data/ext/isomorfeus_ferret_ext/libstemmer.c +14 -11
  106. data/ext/isomorfeus_ferret_ext/libstemmer.h +4 -9
  107. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.c +1167 -0
  108. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.h +6 -0
  109. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.c +1433 -0
  110. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.h +6 -0
  111. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +120 -143
  112. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +1 -2
  113. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +217 -237
  114. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +1 -1
  115. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +377 -432
  116. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +1 -1
  117. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +298 -342
  118. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +1 -2
  119. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +530 -524
  120. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +1 -1
  121. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +201 -214
  122. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +1 -1
  123. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +1 -1
  124. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.c +394 -0
  125. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.h +6 -0
  126. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.c +457 -0
  127. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.h +6 -0
  128. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +396 -439
  129. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +1 -1
  130. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +104 -128
  131. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +1 -1
  132. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +242 -273
  133. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +1 -1
  134. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +406 -461
  135. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +1 -2
  136. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +405 -456
  137. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +1 -1
  138. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +108 -126
  139. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +1 -1
  140. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.c +849 -0
  141. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.h +6 -0
  142. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +373 -405
  143. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +1 -1
  144. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +288 -305
  145. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +1 -1
  146. data/ext/isomorfeus_ferret_ext/stem_UTF_8_arabic.c +1651 -0
  147. data/ext/isomorfeus_ferret_ext/stem_UTF_8_arabic.h +6 -0
  148. data/ext/isomorfeus_ferret_ext/stem_UTF_8_armenian.c +546 -0
  149. data/ext/isomorfeus_ferret_ext/stem_UTF_8_armenian.h +6 -0
  150. data/ext/isomorfeus_ferret_ext/stem_UTF_8_basque.c +1171 -0
  151. data/ext/isomorfeus_ferret_ext/stem_UTF_8_basque.h +6 -0
  152. data/ext/isomorfeus_ferret_ext/stem_UTF_8_catalan.c +1436 -0
  153. data/ext/isomorfeus_ferret_ext/stem_UTF_8_catalan.h +6 -0
  154. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.c +121 -141
  155. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.h +1 -1
  156. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.c +221 -241
  157. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.h +1 -1
  158. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.c +381 -431
  159. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.h +1 -1
  160. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.c +300 -345
  161. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.h +1 -1
  162. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.c +518 -511
  163. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.h +1 -1
  164. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.c +201 -209
  165. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.h +1 -1
  166. data/ext/isomorfeus_ferret_ext/stem_UTF_8_greek.c +3660 -0
  167. data/ext/isomorfeus_ferret_ext/stem_UTF_8_greek.h +6 -0
  168. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hindi.c +309 -0
  169. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hindi.h +6 -0
  170. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.c +306 -671
  171. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.h +1 -1
  172. data/ext/isomorfeus_ferret_ext/stem_UTF_8_indonesian.c +394 -0
  173. data/ext/isomorfeus_ferret_ext/stem_UTF_8_indonesian.h +6 -0
  174. data/ext/isomorfeus_ferret_ext/stem_UTF_8_irish.c +457 -0
  175. data/ext/isomorfeus_ferret_ext/stem_UTF_8_irish.h +6 -0
  176. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.c +400 -442
  177. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.h +1 -1
  178. data/ext/isomorfeus_ferret_ext/stem_UTF_8_lithuanian.c +824 -0
  179. data/ext/isomorfeus_ferret_ext/stem_UTF_8_lithuanian.h +6 -0
  180. data/ext/isomorfeus_ferret_ext/stem_UTF_8_nepali.c +408 -0
  181. data/ext/isomorfeus_ferret_ext/stem_UTF_8_nepali.h +6 -0
  182. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.c +105 -127
  183. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.h +1 -1
  184. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.c +245 -276
  185. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.h +1 -1
  186. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.c +409 -464
  187. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.h +1 -1
  188. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.c +376 -408
  189. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.h +1 -1
  190. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.c +272 -287
  191. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.h +1 -1
  192. data/ext/isomorfeus_ferret_ext/stem_UTF_8_serbian.c +6530 -0
  193. data/ext/isomorfeus_ferret_ext/stem_UTF_8_serbian.h +6 -0
  194. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.c +407 -458
  195. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.h +1 -1
  196. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.c +110 -125
  197. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.h +1 -1
  198. data/ext/isomorfeus_ferret_ext/stem_UTF_8_tamil.c +1865 -0
  199. data/ext/isomorfeus_ferret_ext/stem_UTF_8_tamil.h +6 -0
  200. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.c +698 -806
  201. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.h +1 -1
  202. data/ext/isomorfeus_ferret_ext/stem_UTF_8_yiddish.c +1220 -0
  203. data/ext/isomorfeus_ferret_ext/stem_UTF_8_yiddish.h +6 -0
  204. data/ext/isomorfeus_ferret_ext/stem_api.c +1 -9
  205. data/ext/isomorfeus_ferret_ext/stem_api.h +1 -3
  206. data/ext/isomorfeus_ferret_ext/stem_header.h +30 -26
  207. data/ext/isomorfeus_ferret_ext/stem_modules.h +113 -26
  208. data/ext/isomorfeus_ferret_ext/stem_modules.txt +18 -5
  209. data/ext/isomorfeus_ferret_ext/stem_utilities.c +167 -132
  210. data/ext/isomorfeus_ferret_ext/test.c +7 -1
  211. data/ext/isomorfeus_ferret_ext/test_fields.c +57 -45
  212. data/ext/isomorfeus_ferret_ext/test_index.c +4 -1
  213. data/ext/isomorfeus_ferret_ext/test_search.c +0 -1
  214. data/lib/isomorfeus/ferret/version.rb +1 -1
  215. metadata +125 -5
  216. 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
+