nltkor 1.2.14__cp311-cp311-macosx_13_0_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. nltkor/Kor_char.py +193 -0
  2. nltkor/__init__.py +16 -0
  3. nltkor/alignment/__init__.py +1315 -0
  4. nltkor/cider/__init__.py +2 -0
  5. nltkor/cider/cider.py +55 -0
  6. nltkor/cider/cider_scorer.py +207 -0
  7. nltkor/distance/__init__.py +441 -0
  8. nltkor/distance/wasserstein.py +126 -0
  9. nltkor/etc.py +22 -0
  10. nltkor/lazyimport.py +144 -0
  11. nltkor/make_requirement.py +11 -0
  12. nltkor/metrics/__init__.py +63 -0
  13. nltkor/metrics/bartscore.py +301 -0
  14. nltkor/metrics/bertscore.py +331 -0
  15. nltkor/metrics/bleu_tensor.py +20 -0
  16. nltkor/metrics/classical.py +847 -0
  17. nltkor/metrics/entment.py +24 -0
  18. nltkor/metrics/eval.py +517 -0
  19. nltkor/metrics/mauve.py +273 -0
  20. nltkor/metrics/mauve_utils.py +131 -0
  21. nltkor/misc/__init__.py +11 -0
  22. nltkor/misc/string2string_basic_functions.py +59 -0
  23. nltkor/misc/string2string_default_tokenizer.py +83 -0
  24. nltkor/misc/string2string_hash_functions.py +159 -0
  25. nltkor/misc/string2string_word_embeddings.py +503 -0
  26. nltkor/search/__init__.py +10 -0
  27. nltkor/search/classical.py +569 -0
  28. nltkor/search/faiss_search.py +787 -0
  29. nltkor/search/kobert_tokenizer.py +181 -0
  30. nltkor/sejong/__init__.py +3 -0
  31. nltkor/sejong/__pycache__/__init__.cpython-38.pyc +0 -0
  32. nltkor/sejong/__pycache__/__init__.cpython-39.pyc +0 -0
  33. nltkor/sejong/__pycache__/sejong_download.cpython-38.pyc +0 -0
  34. nltkor/sejong/__pycache__/sejong_download.cpython-39.pyc +0 -0
  35. nltkor/sejong/__pycache__/ssem.cpython-38.pyc +0 -0
  36. nltkor/sejong/__pycache__/ssem.cpython-39.pyc +0 -0
  37. nltkor/sejong/ch.py +12 -0
  38. nltkor/sejong/dict_semClassNum.txt +491 -0
  39. nltkor/sejong/layer.txt +630 -0
  40. nltkor/sejong/sejong_download.py +87 -0
  41. nltkor/sejong/ssem.py +684 -0
  42. nltkor/similarity/__init__.py +3 -0
  43. nltkor/similarity/bartscore____.py +337 -0
  44. nltkor/similarity/bertscore____.py +339 -0
  45. nltkor/similarity/classical.py +245 -0
  46. nltkor/similarity/cosine_similarity.py +175 -0
  47. nltkor/tag/__init__.py +71 -0
  48. nltkor/tag/__pycache__/__init__.cpython-38.pyc +0 -0
  49. nltkor/tag/__pycache__/__init__.cpython-39.pyc +0 -0
  50. nltkor/tag/__pycache__/espresso_tag.cpython-38.pyc +0 -0
  51. nltkor/tag/__pycache__/espresso_tag.cpython-39.pyc +0 -0
  52. nltkor/tag/espresso_tag.py +220 -0
  53. nltkor/tag/libs/__init__.py +10 -0
  54. nltkor/tag/libs/__pycache__/__init__.cpython-38.pyc +0 -0
  55. nltkor/tag/libs/__pycache__/__init__.cpython-39.pyc +0 -0
  56. nltkor/tag/libs/__pycache__/attributes.cpython-38.pyc +0 -0
  57. nltkor/tag/libs/__pycache__/attributes.cpython-39.pyc +0 -0
  58. nltkor/tag/libs/__pycache__/config.cpython-38.pyc +0 -0
  59. nltkor/tag/libs/__pycache__/config.cpython-39.pyc +0 -0
  60. nltkor/tag/libs/__pycache__/metadata.cpython-38.pyc +0 -0
  61. nltkor/tag/libs/__pycache__/metadata.cpython-39.pyc +0 -0
  62. nltkor/tag/libs/__pycache__/reader.cpython-38.pyc +0 -0
  63. nltkor/tag/libs/__pycache__/reader.cpython-39.pyc +0 -0
  64. nltkor/tag/libs/__pycache__/taggers.cpython-38.pyc +0 -0
  65. nltkor/tag/libs/__pycache__/taggers.cpython-39.pyc +0 -0
  66. nltkor/tag/libs/__pycache__/utils.cpython-38.pyc +0 -0
  67. nltkor/tag/libs/__pycache__/utils.cpython-39.pyc +0 -0
  68. nltkor/tag/libs/__pycache__/word_dictionary.cpython-38.pyc +0 -0
  69. nltkor/tag/libs/__pycache__/word_dictionary.cpython-39.pyc +0 -0
  70. nltkor/tag/libs/arguments.py +280 -0
  71. nltkor/tag/libs/attributes.py +231 -0
  72. nltkor/tag/libs/config.py +159 -0
  73. nltkor/tag/libs/metadata.py +129 -0
  74. nltkor/tag/libs/ner/__init__.py +2 -0
  75. nltkor/tag/libs/ner/__pycache__/__init__.cpython-38.pyc +0 -0
  76. nltkor/tag/libs/ner/__pycache__/__init__.cpython-39.pyc +0 -0
  77. nltkor/tag/libs/ner/__pycache__/ner_reader.cpython-38.pyc +0 -0
  78. nltkor/tag/libs/ner/__pycache__/ner_reader.cpython-39.pyc +0 -0
  79. nltkor/tag/libs/ner/macmorphoreader.py +7 -0
  80. nltkor/tag/libs/ner/ner_reader.py +92 -0
  81. nltkor/tag/libs/network.c +72325 -0
  82. nltkor/tag/libs/network.cpython-311-darwin.so +0 -0
  83. nltkor/tag/libs/network.pyx +878 -0
  84. nltkor/tag/libs/networkconv.pyx +1028 -0
  85. nltkor/tag/libs/networkdependencyconv.pyx +451 -0
  86. nltkor/tag/libs/parse/__init__.py +1 -0
  87. nltkor/tag/libs/parse/__pycache__/__init__.cpython-38.pyc +0 -0
  88. nltkor/tag/libs/parse/__pycache__/__init__.cpython-39.pyc +0 -0
  89. nltkor/tag/libs/parse/__pycache__/parse_reader.cpython-38.pyc +0 -0
  90. nltkor/tag/libs/parse/__pycache__/parse_reader.cpython-39.pyc +0 -0
  91. nltkor/tag/libs/parse/parse_reader.py +283 -0
  92. nltkor/tag/libs/pos/__init__.py +2 -0
  93. nltkor/tag/libs/pos/__pycache__/__init__.cpython-38.pyc +0 -0
  94. nltkor/tag/libs/pos/__pycache__/__init__.cpython-39.pyc +0 -0
  95. nltkor/tag/libs/pos/__pycache__/pos_reader.cpython-38.pyc +0 -0
  96. nltkor/tag/libs/pos/__pycache__/pos_reader.cpython-39.pyc +0 -0
  97. nltkor/tag/libs/pos/macmorphoreader.py +7 -0
  98. nltkor/tag/libs/pos/pos_reader.py +97 -0
  99. nltkor/tag/libs/reader.py +485 -0
  100. nltkor/tag/libs/srl/__init__.py +3 -0
  101. nltkor/tag/libs/srl/__pycache__/__init__.cpython-38.pyc +0 -0
  102. nltkor/tag/libs/srl/__pycache__/__init__.cpython-39.pyc +0 -0
  103. nltkor/tag/libs/srl/__pycache__/srl_reader.cpython-38.pyc +0 -0
  104. nltkor/tag/libs/srl/__pycache__/srl_reader.cpython-39.pyc +0 -0
  105. nltkor/tag/libs/srl/__pycache__/train_srl.cpython-38.pyc +0 -0
  106. nltkor/tag/libs/srl/__pycache__/train_srl.cpython-39.pyc +0 -0
  107. nltkor/tag/libs/srl/__srl_reader_.py +535 -0
  108. nltkor/tag/libs/srl/srl_reader.py +436 -0
  109. nltkor/tag/libs/srl/train_srl.py +87 -0
  110. nltkor/tag/libs/taggers.py +926 -0
  111. nltkor/tag/libs/utils.py +384 -0
  112. nltkor/tag/libs/word_dictionary.py +239 -0
  113. nltkor/tag/libs/wsd/__init__.py +2 -0
  114. nltkor/tag/libs/wsd/__pycache__/__init__.cpython-38.pyc +0 -0
  115. nltkor/tag/libs/wsd/__pycache__/__init__.cpython-39.pyc +0 -0
  116. nltkor/tag/libs/wsd/__pycache__/wsd_reader.cpython-38.pyc +0 -0
  117. nltkor/tag/libs/wsd/__pycache__/wsd_reader.cpython-39.pyc +0 -0
  118. nltkor/tag/libs/wsd/macmorphoreader.py +7 -0
  119. nltkor/tag/libs/wsd/wsd_reader.py +93 -0
  120. nltkor/tokenize/__init__.py +62 -0
  121. nltkor/tokenize/ko_tokenize.py +115 -0
  122. nltkor/trans.py +121 -0
  123. nltkor-1.2.14.dist-info/LICENSE.txt +1093 -0
  124. nltkor-1.2.14.dist-info/METADATA +41 -0
  125. nltkor-1.2.14.dist-info/RECORD +127 -0
  126. nltkor-1.2.14.dist-info/WHEEL +5 -0
  127. nltkor-1.2.14.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1093 @@
1
+ stanfordnlp/string2string/LICENSE:
2
+
3
+ MIT License
4
+
5
+ Copyright (c) 2023 Mirac Suzgun
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+
25
+
26
+ SKTBrain/KoBERT/LICENSE:
27
+
28
+
29
+ Apache License
30
+ Version 2.0, January 2004
31
+ http://www.apache.org/licenses/
32
+
33
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
34
+
35
+ 1. Definitions.
36
+
37
+ "License" shall mean the terms and conditions for use, reproduction,
38
+ and distribution as defined by Sections 1 through 9 of this document.
39
+
40
+ "Licensor" shall mean the copyright owner or entity authorized by
41
+ the copyright owner that is granting the License.
42
+
43
+ "Legal Entity" shall mean the union of the acting entity and all
44
+ other entities that control, are controlled by, or are under common
45
+ control with that entity. For the purposes of this definition,
46
+ "control" means (i) the power, direct or indirect, to cause the
47
+ direction or management of such entity, whether by contract or
48
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
49
+ outstanding shares, or (iii) beneficial ownership of such entity.
50
+
51
+ "You" (or "Your") shall mean an individual or Legal Entity
52
+ exercising permissions granted by this License.
53
+
54
+ "Source" form shall mean the preferred form for making modifications,
55
+ including but not limited to software source code, documentation
56
+ source, and configuration files.
57
+
58
+ "Object" form shall mean any form resulting from mechanical
59
+ transformation or translation of a Source form, including but
60
+ not limited to compiled object code, generated documentation,
61
+ and conversions to other media types.
62
+
63
+ "Work" shall mean the work of authorship, whether in Source or
64
+ Object form, made available under the License, as indicated by a
65
+ copyright notice that is included in or attached to the work
66
+ (an example is provided in the Appendix below).
67
+
68
+ "Derivative Works" shall mean any work, whether in Source or Object
69
+ form, that is based on (or derived from) the Work and for which the
70
+ editorial revisions, annotations, elaborations, or other modifications
71
+ represent, as a whole, an original work of authorship. For the purposes
72
+ of this License, Derivative Works shall not include works that remain
73
+ separable from, or merely link (or bind by name) to the interfaces of,
74
+ the Work and Derivative Works thereof.
75
+
76
+ "Contribution" shall mean any work of authorship, including
77
+ the original version of the Work and any modifications or additions
78
+ to that Work or Derivative Works thereof, that is intentionally
79
+ submitted to Licensor for inclusion in the Work by the copyright owner
80
+ or by an individual or Legal Entity authorized to submit on behalf of
81
+ the copyright owner. For the purposes of this definition, "submitted"
82
+ means any form of electronic, verbal, or written communication sent
83
+ to the Licensor or its representatives, including but not limited to
84
+ communication on electronic mailing lists, source code control systems,
85
+ and issue tracking systems that are managed by, or on behalf of, the
86
+ Licensor for the purpose of discussing and improving the Work, but
87
+ excluding communication that is conspicuously marked or otherwise
88
+ designated in writing by the copyright owner as "Not a Contribution."
89
+
90
+ "Contributor" shall mean Licensor and any individual or Legal Entity
91
+ on behalf of whom a Contribution has been received by Licensor and
92
+ subsequently incorporated within the Work.
93
+
94
+ 2. Grant of Copyright License. Subject to the terms and conditions of
95
+ this License, each Contributor hereby grants to You a perpetual,
96
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
97
+ copyright license to reproduce, prepare Derivative Works of,
98
+ publicly display, publicly perform, sublicense, and distribute the
99
+ Work and such Derivative Works in Source or Object form.
100
+
101
+ 3. Grant of Patent License. Subject to the terms and conditions of
102
+ this License, each Contributor hereby grants to You a perpetual,
103
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
104
+ (except as stated in this section) patent license to make, have made,
105
+ use, offer to sell, sell, import, and otherwise transfer the Work,
106
+ where such license applies only to those patent claims licensable
107
+ by such Contributor that are necessarily infringed by their
108
+ Contribution(s) alone or by combination of their Contribution(s)
109
+ with the Work to which such Contribution(s) was submitted. If You
110
+ institute patent litigation against any entity (including a
111
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
112
+ or a Contribution incorporated within the Work constitutes direct
113
+ or contributory patent infringement, then any patent licenses
114
+ granted to You under this License for that Work shall terminate
115
+ as of the date such litigation is filed.
116
+
117
+ 4. Redistribution. You may reproduce and distribute copies of the
118
+ Work or Derivative Works thereof in any medium, with or without
119
+ modifications, and in Source or Object form, provided that You
120
+ meet the following conditions:
121
+
122
+ (a) You must give any other recipients of the Work or
123
+ Derivative Works a copy of this License; and
124
+
125
+ (b) You must cause any modified files to carry prominent notices
126
+ stating that You changed the files; and
127
+
128
+ (c) You must retain, in the Source form of any Derivative Works
129
+ that You distribute, all copyright, patent, trademark, and
130
+ attribution notices from the Source form of the Work,
131
+ excluding those notices that do not pertain to any part of
132
+ the Derivative Works; and
133
+
134
+ (d) If the Work includes a "NOTICE" text file as part of its
135
+ distribution, then any Derivative Works that You distribute must
136
+ include a readable copy of the attribution notices contained
137
+ within such NOTICE file, excluding those notices that do not
138
+ pertain to any part of the Derivative Works, in at least one
139
+ of the following places: within a NOTICE text file distributed
140
+ as part of the Derivative Works; within the Source form or
141
+ documentation, if provided along with the Derivative Works; or,
142
+ within a display generated by the Derivative Works, if and
143
+ wherever such third-party notices normally appear. The contents
144
+ of the NOTICE file are for informational purposes only and
145
+ do not modify the License. You may add Your own attribution
146
+ notices within Derivative Works that You distribute, alongside
147
+ or as an addendum to the NOTICE text from the Work, provided
148
+ that such additional attribution notices cannot be construed
149
+ as modifying the License.
150
+
151
+ You may add Your own copyright statement to Your modifications and
152
+ may provide additional or different license terms and conditions
153
+ for use, reproduction, or distribution of Your modifications, or
154
+ for any such Derivative Works as a whole, provided Your use,
155
+ reproduction, and distribution of the Work otherwise complies with
156
+ the conditions stated in this License.
157
+
158
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
159
+ any Contribution intentionally submitted for inclusion in the Work
160
+ by You to the Licensor shall be under the terms and conditions of
161
+ this License, without any additional terms or conditions.
162
+ Notwithstanding the above, nothing herein shall supersede or modify
163
+ the terms of any separate license agreement you may have executed
164
+ with Licensor regarding such Contributions.
165
+
166
+ 6. Trademarks. This License does not grant permission to use the trade
167
+ names, trademarks, service marks, or product names of the Licensor,
168
+ except as required for reasonable and customary use in describing the
169
+ origin of the Work and reproducing the content of the NOTICE file.
170
+
171
+ 7. Disclaimer of Warranty. Unless required by applicable law or
172
+ agreed to in writing, Licensor provides the Work (and each
173
+ Contributor provides its Contributions) on an "AS IS" BASIS,
174
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
175
+ implied, including, without limitation, any warranties or conditions
176
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
177
+ PARTICULAR PURPOSE. You are solely responsible for determining the
178
+ appropriateness of using or redistributing the Work and assume any
179
+ risks associated with Your exercise of permissions under this License.
180
+
181
+ 8. Limitation of Liability. In no event and under no legal theory,
182
+ whether in tort (including negligence), contract, or otherwise,
183
+ unless required by applicable law (such as deliberate and grossly
184
+ negligent acts) or agreed to in writing, shall any Contributor be
185
+ liable to You for damages, including any direct, indirect, special,
186
+ incidental, or consequential damages of any character arising as a
187
+ result of this License or out of the use or inability to use the
188
+ Work (including but not limited to damages for loss of goodwill,
189
+ work stoppage, computer failure or malfunction, or any and all
190
+ other commercial damages or losses), even if such Contributor
191
+ has been advised of the possibility of such damages.
192
+
193
+ 9. Accepting Warranty or Additional Liability. While redistributing
194
+ the Work or Derivative Works thereof, You may choose to offer,
195
+ and charge a fee for, acceptance of support, warranty, indemnity,
196
+ or other liability obligations and/or rights consistent with this
197
+ License. However, in accepting such obligations, You may act only
198
+ on Your own behalf and on Your sole responsibility, not on behalf
199
+ of any other Contributor, and only if You agree to indemnify,
200
+ defend, and hold each Contributor harmless for any liability
201
+ incurred by, or claims asserted against, such Contributor by reason
202
+ of your accepting any such warranty or additional liability.
203
+
204
+ END OF TERMS AND CONDITIONS
205
+
206
+ APPENDIX: How to apply the Apache License to your work.
207
+
208
+ To apply the Apache License to your work, attach the following
209
+ boilerplate notice, with the fields enclosed by brackets "[]"
210
+ replaced with your own identifying information. (Don't include
211
+ the brackets!) The text should be enclosed in the appropriate
212
+ comment syntax for the file format. We also recommend that a
213
+ file or class name and description of purpose be included on the
214
+ same "printed page" as the copyright notice for easier
215
+ identification within third-party archives.
216
+
217
+ Copyright (c) 2019 SK T-Brain
218
+
219
+ Licensed under the Apache License, Version 2.0 (the "License");
220
+ you may not use this file except in compliance with the License.
221
+ You may obtain a copy of the License at
222
+
223
+ http://www.apache.org/licenses/LICENSE-2.0
224
+
225
+ Unless required by applicable law or agreed to in writing, software
226
+ distributed under the License is distributed on an "AS IS" BASIS,
227
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
228
+ See the License for the specific language governing permissions and
229
+ limitations under the License.
230
+
231
+ krishnap25/mauve/LICENSE:
232
+
233
+ The GNU General Public License, Version 3, 29 June 2007 (GPLv3)
234
+ ===============================================================
235
+
236
+ > Copyright © 2007
237
+ > Free Software Foundation, Inc.
238
+ > <<http://fsf.org/>>
239
+
240
+ Everyone is permitted to copy and distribute verbatim copies of this license
241
+ document, but changing it is not allowed.
242
+
243
+
244
+ Preamble
245
+ --------
246
+
247
+ The GNU General Public License is a free, copyleft license for software and
248
+ other kinds of works.
249
+
250
+ The licenses for most software and other practical works are designed to take
251
+ away your freedom to share and change the works. By contrast, the GNU General
252
+ Public License is intended to guarantee your freedom to share and change all
253
+ versions of a program--to make sure it remains free software for all its users.
254
+ We, the Free Software Foundation, use the GNU General Public License for most of
255
+ our software; it applies also to any other work released this way by its
256
+ authors. You can apply it to your programs, too.
257
+
258
+ When we speak of free software, we are referring to freedom, not price. Our
259
+ General Public Licenses are designed to make sure that you have the freedom to
260
+ distribute copies of free software (and charge for them if you wish), that you
261
+ receive source code or can get it if you want it, that you can change the
262
+ software or use pieces of it in new free programs, and that you know you can do
263
+ these things.
264
+
265
+ To protect your rights, we need to prevent others from denying you these rights
266
+ or asking you to surrender the rights. Therefore, you have certain
267
+ responsibilities if you distribute copies of the software, or if you modify it:
268
+ responsibilities to respect the freedom of others.
269
+
270
+ For example, if you distribute copies of such a program, whether gratis or for a
271
+ fee, you must pass on to the recipients the same freedoms that you received. You
272
+ must make sure that they, too, receive or can get the source code. And you must
273
+ show them these terms so they know their rights.
274
+
275
+ Developers that use the GNU GPL protect your rights with two steps: (1) assert
276
+ copyright on the software, and (2) offer you this License giving you legal
277
+ permission to copy, distribute and/or modify it.
278
+
279
+ For the developers' and authors' protection, the GPL clearly explains that there
280
+ is no warranty for this free software. For both users' and authors' sake, the
281
+ GPL requires that modified versions be marked as changed, so that their problems
282
+ will not be attributed erroneously to authors of previous versions.
283
+
284
+ Some devices are designed to deny users access to install or run modified
285
+ versions of the software inside them, although the manufacturer can do so. This
286
+ is fundamentally incompatible with the aim of protecting users' freedom to
287
+ change the software. The systematic pattern of such abuse occurs in the area of
288
+ products for individuals to use, which is precisely where it is most
289
+ unacceptable. Therefore, we have designed this version of the GPL to prohibit
290
+ the practice for those products. If such problems arise substantially in other
291
+ domains, we stand ready to extend this provision to those domains in future
292
+ versions of the GPL, as needed to protect the freedom of users.
293
+
294
+ Finally, every program is threatened constantly by software patents. States
295
+ should not allow patents to restrict development and use of software on
296
+ general-purpose computers, but in those that do, we wish to avoid the special
297
+ danger that patents applied to a free program could make it effectively
298
+ proprietary. To prevent this, the GPL assures that patents cannot be used to
299
+ render the program non-free.
300
+
301
+ The precise terms and conditions for copying, distribution and modification
302
+ follow.
303
+
304
+
305
+ TERMS AND CONDITIONS
306
+ --------------------
307
+
308
+
309
+ ### 0. Definitions.
310
+
311
+ "This License refers to version 3 of the GNU General Public License.
312
+
313
+ "Copyright" also means copyright-like laws that apply to other kinds of works,
314
+ such as semiconductor masks.
315
+
316
+ "The Program" refers to any copyrightable work licensed under this License. Each
317
+ licensee is addressed as "you". "Licensees" and "recipients" may be individuals
318
+ or organizations.
319
+
320
+ To "modify" a work means to copy from or adapt all or part of the work in a
321
+ fashion requiring copyright permission, other than the making of an exact copy.
322
+ The resulting work is called a "modified version" of the earlier work or a work
323
+ "based on" the earlier work.
324
+
325
+ A "covered work" means either the unmodified Program or a work based on the
326
+ Program.
327
+
328
+ To "propagate" a work means to do anything with it that, without permission,
329
+ would make you directly or secondarily liable for infringement under applicable
330
+ copyright law, except executing it on a computer or modifying a private copy.
331
+ Propagation includes copying, distribution (with or without modification),
332
+ making available to the public, and in some countries other activities as well.
333
+
334
+ To "convey" a work means any kind of propagation that enables other parties to
335
+ make or receive copies. Mere interaction with a user through a computer network,
336
+ with no transfer of a copy, is not conveying.
337
+
338
+ An interactive user interface displays "Appropriate Legal Notices" to the extent
339
+ that it includes a convenient and prominently visible feature that (1) displays
340
+ an appropriate copyright notice, and (2) tells the user that there is no
341
+ warranty for the work (except to the extent that warranties are provided), that
342
+ licensees may convey the work under this License, and how to view a copy of this
343
+ License. If the interface presents a list of user commands or options, such as a
344
+ menu, a prominent item in the list meets this criterion.
345
+
346
+
347
+ ### 1. Source Code.
348
+
349
+ The "source code" for a work means the preferred form of the work for making
350
+ modifications to it. "Object code" means any non-source form of a work.
351
+
352
+ A "Standard Interface" means an interface that either is an official standard
353
+ defined by a recognized standards body, or, in the case of interfaces specified
354
+ for a particular programming language, one that is widely used among developers
355
+ working in that language.
356
+
357
+ The "System Libraries" of an executable work include anything, other than the
358
+ work as a whole, that (a) is included in the normal form of packaging a Major
359
+ Component, but which is not part of that Major Component, and (b) serves only to
360
+ enable use of the work with that Major Component, or to implement a Standard
361
+ Interface for which an implementation is available to the public in source code
362
+ form. A "Major Component", in this context, means a major essential component
363
+ (kernel, window system, and so on) of the specific operating system (if any) on
364
+ which the executable work runs, or a compiler used to produce the work, or an
365
+ object code interpreter used to run it.
366
+
367
+ The "Corresponding Source" for a work in object code form means all the source
368
+ code needed to generate, install, and (for an executable work) run the object
369
+ code and to modify the work, including scripts to control those activities.
370
+ However, it does not include the work's System Libraries, or general-purpose
371
+ tools or generally available free programs which are used unmodified in
372
+ performing those activities but which are not part of the work. For example,
373
+ Corresponding Source includes interface definition files associated with source
374
+ files for the work, and the source code for shared libraries and dynamically
375
+ linked subprograms that the work is specifically designed to require, such as by
376
+ intimate data communication or control flow between those subprograms and other
377
+ parts of the work.
378
+
379
+ The Corresponding Source need not include anything that users can regenerate
380
+ automatically from other parts of the Corresponding Source.
381
+
382
+ The Corresponding Source for a work in source code form is that same work.
383
+
384
+
385
+ ### 2. Basic Permissions.
386
+
387
+ All rights granted under this License are granted for the term of copyright on
388
+ the Program, and are irrevocable provided the stated conditions are met. This
389
+ License explicitly affirms your unlimited permission to run the unmodified
390
+ Program. The output from running a covered work is covered by this License only
391
+ if the output, given its content, constitutes a covered work. This License
392
+ acknowledges your rights of fair use or other equivalent, as provided by
393
+ copyright law.
394
+
395
+ You may make, run and propagate covered works that you do not convey, without
396
+ conditions so long as your license otherwise remains in force. You may convey
397
+ covered works to others for the sole purpose of having them make modifications
398
+ exclusively for you, or provide you with facilities for running those works,
399
+ provided that you comply with the terms of this License in conveying all
400
+ material for which you do not control copyright. Those thus making or running
401
+ the covered works for you must do so exclusively on your behalf, under your
402
+ direction and control, on terms that prohibit them from making any copies of
403
+ your copyrighted material outside their relationship with you.
404
+
405
+ Conveying under any other circumstances is permitted solely under the conditions
406
+ stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
407
+
408
+
409
+ ### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
410
+
411
+ No covered work shall be deemed part of an effective technological measure under
412
+ any applicable law fulfilling obligations under article 11 of the WIPO copyright
413
+ treaty adopted on 20 December 1996, or similar laws prohibiting or restricting
414
+ circumvention of such measures.
415
+
416
+ When you convey a covered work, you waive any legal power to forbid
417
+ circumvention of technological measures to the extent such circumvention is
418
+ effected by exercising rights under this License with respect to the covered
419
+ work, and you disclaim any intention to limit operation or modification of the
420
+ work as a means of enforcing, against the work's users, your or third parties'
421
+ legal rights to forbid circumvention of technological measures.
422
+
423
+
424
+ ### 4. Conveying Verbatim Copies.
425
+
426
+ You may convey verbatim copies of the Program's source code as you receive it,
427
+ in any medium, provided that you conspicuously and appropriately publish on each
428
+ copy an appropriate copyright notice; keep intact all notices stating that this
429
+ License and any non-permissive terms added in accord with section 7 apply to the
430
+ code; keep intact all notices of the absence of any warranty; and give all
431
+ recipients a copy of this License along with the Program.
432
+
433
+ You may charge any price or no price for each copy that you convey, and you may
434
+ offer support or warranty protection for a fee.
435
+
436
+
437
+ ### 5. Conveying Modified Source Versions.
438
+
439
+ You may convey a work based on the Program, or the modifications to produce it
440
+ from the Program, in the form of source code under the terms of section 4,
441
+ provided that you also meet all of these conditions:
442
+
443
+ * **a)** The work must carry prominent notices stating that you modified it,
444
+ and giving a relevant date.
445
+
446
+ * **b)** The work must carry prominent notices stating that it is released
447
+ under this License and any conditions added under section 7. This
448
+ requirement modifies the requirement in section 4 to "keep intact all
449
+ notices".
450
+
451
+ * **c)** You must license the entire work, as a whole, under this License to
452
+ anyone who comes into possession of a copy. This License will therefore
453
+ apply, along with any applicable section 7 additional terms, to the whole of
454
+ the work, and all its parts, regardless of how they are packaged. This
455
+ License gives no permission to license the work in any other way, but it
456
+ does not invalidate such permission if you have separately received it.
457
+
458
+ * **d)** If the work has interactive user interfaces, each must display
459
+ Appropriate Legal Notices; however, if the Program has interactive
460
+ interfaces that do not display Appropriate Legal Notices, your work need not
461
+ make them do so.
462
+
463
+ A compilation of a covered work with other separate and independent works,
464
+ which are not by their nature extensions of the covered work, and which are
465
+ not combined with it such as to form a larger program, in or on a volume of
466
+ a storage or distribution medium, is called an "aggregate" if the
467
+ compilation and its resulting copyright are not used to limit the access or
468
+ legal rights of the compilation's users beyond what the individual works
469
+ permit. Inclusion of a covered work in an aggregate does not cause this
470
+ License to apply to the other parts of the aggregate.
471
+
472
+
473
+ ### 6. Conveying Non-Source Forms.
474
+
475
+ You may convey a covered work in object code form under the terms of sections 4
476
+ and 5, provided that you also convey the machine-readable Corresponding Source
477
+ under the terms of this License, in one of these ways:
478
+
479
+ * **a)** Convey the object code in, or embodied in, a physical product
480
+ (including a physical distribution medium), accompanied by the Corresponding
481
+ Source fixed on a durable physical medium customarily used for software
482
+ interchange.
483
+
484
+ * **b)** Convey the object code in, or embodied in, a physical product
485
+ (including a physical distribution medium), accompanied by a written offer,
486
+ valid for at least three years and valid for as long as you offer spare
487
+ parts or customer support for that product model, to give anyone who
488
+ possesses the object code either (1) a copy of the Corresponding Source for
489
+ all the software in the product that is covered by this License, on a
490
+ durable physical medium customarily used for software interchange, for a
491
+ price no more than your reasonable cost of physically performing this
492
+ conveying of source, or (2) access to copy the Corresponding Source from a
493
+ network server at no charge.
494
+
495
+ * **c)** Convey individual copies of the object code with a copy of the
496
+ written offer to provide the Corresponding Source. This alternative is
497
+ allowed only occasionally and noncommercially, and only if you received the
498
+ object code with such an offer, in accord with subsection 6b.
499
+
500
+ * **d)** Convey the object code by offering access from a designated place
501
+ (gratis or for a charge), and offer equivalent access to the Corresponding
502
+ Source in the same way through the same place at no further charge. You need
503
+ not require recipients to copy the Corresponding Source along with the
504
+ object code. If the place to copy the object code is a network server, the
505
+ Corresponding Source may be on a different server (operated by you or a
506
+ third party) that supports equivalent copying facilities, provided you
507
+ maintain clear directions next to the object code saying where to find the
508
+ Corresponding Source. Regardless of what server hosts the Corresponding
509
+ Source, you remain obligated to ensure that it is available for as long as
510
+ needed to satisfy these requirements.
511
+
512
+ * **e)** Convey the object code using peer-to-peer transmission, provided you
513
+ inform other peers where the object code and Corresponding Source of the
514
+ work are being offered to the general public at no charge under subsection
515
+ 6d.
516
+
517
+ A separable portion of the object code, whose source code is excluded from
518
+ the Corresponding Source as a System Library, need not be included in
519
+ conveying the object code work.
520
+
521
+ A "User Product" is either (1) a "consumer product", which means any
522
+ tangible personal property which is normally used for personal, family, or
523
+ household purposes, or (2) anything designed or sold for incorporation into
524
+ a dwelling. In determining whether a product is a consumer product, doubtful
525
+ cases shall be resolved in favor of coverage. For a particular product
526
+ received by a particular user, "normally used" refers to a typical or common
527
+ use of that class of product, regardless of the status of the particular
528
+ user or of the way in which the particular user actually uses, or expects or
529
+ is expected to use, the product. A product is a consumer product regardless
530
+ of whether the product has substantial commercial, industrial or non-
531
+ consumer uses, unless such uses represent the only significant mode of use
532
+ of the product.
533
+
534
+ "Installation Information" for a User Product means any methods, procedures,
535
+ authorization keys, or other information required to install and execute
536
+ modified versions of a covered work in that User Product from a modified
537
+ version of its Corresponding Source. The information must suffice to ensure
538
+ that the continued functioning of the modified object code is in no case
539
+ prevented or interfered with solely because modification has been made.
540
+
541
+ If you convey an object code work under this section in, or with, or
542
+ specifically for use in, a User Product, and the conveying occurs as part of
543
+ a transaction in which the right of possession and use of the User Product
544
+ is transferred to the recipient in perpetuity or for a fixed term
545
+ (regardless of how the transaction is characterized), the Corresponding
546
+ Source conveyed under this section must be accompanied by the Installation
547
+ Information. But this requirement does not apply if neither you nor any
548
+ third party retains the ability to install modified object code on the User
549
+ Product (for example, the work has been installed in ROM).
550
+
551
+ The requirement to provide Installation Information does not include a
552
+ requirement to continue to provide support service, warranty, or updates for
553
+ a work that has been modified or installed by the recipient, or for the User
554
+ Product in which it has been modified or installed. Access to a network may
555
+ be denied when the modification itself materially and adversely affects the
556
+ operation of the network or violates the rules and protocols for
557
+ communication across the network.
558
+
559
+ Corresponding Source conveyed, and Installation Information provided, in
560
+ accord with this section must be in a format that is publicly documented
561
+ (and with an implementation available to the public in source code form),
562
+ and must require no special password or key for unpacking, reading or
563
+ copying.
564
+
565
+
566
+ ### 7. Additional Terms.
567
+
568
+ "Additional permissions" are terms that supplement the terms of this License by
569
+ making exceptions from one or more of its conditions. Additional permissions
570
+ that are applicable to the entire Program shall be treated as though they were
571
+ included in this License, to the extent that they are valid under applicable
572
+ law. If additional permissions apply only to part of the Program, that part may
573
+ be used separately under those permissions, but the entire Program remains
574
+ governed by this License without regard to the additional permissions.
575
+
576
+ When you convey a copy of a covered work, you may at your option remove any
577
+ additional permissions from that copy, or from any part of it. (Additional
578
+ permissions may be written to require their own removal in certain cases when
579
+ you modify the work.) You may place additional permissions on material, added by
580
+ you to a covered work, for which you have or can give appropriate copyright
581
+ permission.
582
+
583
+ Notwithstanding any other provision of this License, for material you add to a
584
+ covered work, you may (if authorized by the copyright holders of that material)
585
+ supplement the terms of this License with terms:
586
+
587
+ * **a)** Disclaiming warranty or limiting liability differently from the terms
588
+ of sections 15 and 16 of this License; or
589
+
590
+ * **b)** Requiring preservation of specified reasonable legal notices or
591
+ author attributions in that material or in the Appropriate Legal Notices
592
+ displayed by works containing it; or
593
+
594
+ * **c)** Prohibiting misrepresentation of the origin of that material, or
595
+ requiring that modified versions of such material be marked in reasonable
596
+ ways as different from the original version; or
597
+
598
+ * **d)** Limiting the use for publicity purposes of names of licensors or
599
+ authors of the material; or
600
+
601
+ * **e)** Declining to grant rights under trademark law for use of some trade
602
+ names, trademarks, or service marks; or
603
+
604
+ * **f)** Requiring indemnification of licensors and authors of that material
605
+ by anyone who conveys the material (or modified versions of it) with
606
+ contractual assumptions of liability to the recipient, for any liability
607
+ that these contractual assumptions directly impose on those licensors and
608
+ authors.
609
+
610
+ All other non-permissive additional terms are considered "further restrictions"
611
+ within the meaning of section 10. If the Program as you received it, or any part
612
+ of it, contains a notice stating that it is governed by this License along with
613
+ a term that is a further restriction, you may remove that term. If a license
614
+ document contains a further restriction but permits relicensing or conveying
615
+ under this License, you may add to a covered work material governed by the terms
616
+ of that license document, provided that the further restriction does not survive
617
+ such relicensing or conveying.
618
+
619
+ If you add terms to a covered work in accord with this section, you must place,
620
+ in the relevant source files, a statement of the additional terms that apply to
621
+ those files, or a notice indicating where to find the applicable terms.
622
+
623
+ Additional terms, permissive or non-permissive, may be stated in the form of a
624
+ separately written license, or stated as exceptions; the above requirements
625
+ apply either way.
626
+
627
+
628
+ ### 8. Termination.
629
+
630
+ You may not propagate or modify a covered work except as expressly provided
631
+ under this License. Any attempt otherwise to propagate or modify it is void, and
632
+ will automatically terminate your rights under this License (including any
633
+ patent licenses granted under the third paragraph of section 11).
634
+
635
+ However, if you cease all violation of this License, then your license from a
636
+ particular copyright holder is reinstated (a) provisionally, unless and until
637
+ the copyright holder explicitly and finally terminates your license, and (b)
638
+ permanently, if the copyright holder fails to notify you of the violation by
639
+ some reasonable means prior to 60 days after the cessation.
640
+
641
+ Moreover, your license from a particular copyright holder is reinstated
642
+ permanently if the copyright holder notifies you of the violation by some
643
+ reasonable means, this is the first time you have received notice of violation
644
+ of this License (for any work) from that copyright holder, and you cure the
645
+ violation prior to 30 days after your receipt of the notice.
646
+
647
+ Termination of your rights under this section does not terminate the licenses of
648
+ parties who have received copies or rights from you under this License. If your
649
+ rights have been terminated and not permanently reinstated, you do not qualify
650
+ to receive new licenses for the same material under section 10.
651
+
652
+
653
+ ### 9. Acceptance Not Required for Having Copies.
654
+
655
+ You are not required to accept this License in order to receive or run a copy of
656
+ the Program. Ancillary propagation of a covered work occurring solely as a
657
+ consequence of using peer-to-peer transmission to receive a copy likewise does
658
+ not require acceptance. However, nothing other than this License grants you
659
+ permission to propagate or modify any covered work. These actions infringe
660
+ copyright if you do not accept this License. Therefore, by modifying or
661
+ propagating a covered work, you indicate your acceptance of this License to do
662
+ so.
663
+
664
+
665
+ ### 10. Automatic Licensing of Downstream Recipients.
666
+
667
+ Each time you convey a covered work, the recipient automatically receives a
668
+ license from the original licensors, to run, modify and propagate that work,
669
+ subject to this License. You are not responsible for enforcing compliance by
670
+ third parties with this License.
671
+
672
+ An "entity transaction" is a transaction transferring control of an
673
+ organization, or substantially all assets of one, or subdividing an
674
+ organization, or merging organizations. If propagation of a covered work results
675
+ from an entity transaction, each party to that transaction who receives a copy
676
+ of the work also receives whatever licenses to the work the party's predecessor
677
+ in interest had or could give under the previous paragraph, plus a right to
678
+ possession of the Corresponding Source of the work from the predecessor in
679
+ interest, if the predecessor has it or can get it with reasonable efforts.
680
+
681
+ You may not impose any further restrictions on the exercise of the rights
682
+ granted or affirmed under this License. For example, you may not impose a
683
+ license fee, royalty, or other charge for exercise of rights granted under this
684
+ License, and you may not initiate litigation (including a cross-claim or
685
+ counterclaim in a lawsuit) alleging that any patent claim is infringed by
686
+ making, using, selling, offering for sale, or importing the Program or any
687
+ portion of it.
688
+
689
+
690
+ ### 11. Patents.
691
+
692
+ A "contributor" is a copyright holder who authorizes use under this License of
693
+ the Program or a work on which the Program is based. The work thus licensed is
694
+ called the contributor's "contributor version".
695
+
696
+ A contributor's "essential patent claims" are all patent claims owned or
697
+ controlled by the contributor, whether already acquired or hereafter acquired,
698
+ that would be infringed by some manner, permitted by this License, of making,
699
+ using, or selling its contributor version, but do not include claims that would
700
+ be infringed only as a consequence of further modification of the contributor
701
+ version. For purposes of this definition, "control" includes the right to grant
702
+ patent sublicenses in a manner consistent with the requirements of this License.
703
+
704
+ Each contributor grants you a non-exclusive, worldwide, royalty-free patent
705
+ license under the contributor's essential patent claims, to make, use, sell,
706
+ offer for sale, import and otherwise run, modify and propagate the contents of
707
+ its contributor version.
708
+
709
+ In the following three paragraphs, a "patent license" is any express agreement
710
+ or commitment, however denominated, not to enforce a patent (such as an express
711
+ permission to practice a patent or covenant not to sue for patent infringement).
712
+ To "grant" such a patent license to a party means to make such an agreement or
713
+ commitment not to enforce a patent against the party.
714
+
715
+ If you convey a covered work, knowingly relying on a patent license, and the
716
+ Corresponding Source of the work is not available for anyone to copy, free of
717
+ charge and under the terms of this License, through a publicly available network
718
+ server or other readily accessible means, then you must either (1) cause the
719
+ Corresponding Source to be so available, or (2) arrange to deprive yourself of
720
+ the benefit of the patent license for this particular work, or (3) arrange, in a
721
+ manner consistent with the requirements of this License, to extend the patent
722
+ license to downstream recipients. "Knowingly relying" means you have actual
723
+ knowledge that, but for the patent license, your conveying the covered work in a
724
+ country, or your recipient's use of the covered work in a country, would
725
+ infringe one or more identifiable patents in that country that you have reason
726
+ to believe are valid.
727
+
728
+ If, pursuant to or in connection with a single transaction or arrangement, you
729
+ convey, or propagate by procuring conveyance of, a covered work, and grant a
730
+ patent license to some of the parties receiving the covered work authorizing
731
+ them to use, propagate, modify or convey a specific copy of the covered work,
732
+ then the patent license you grant is automatically extended to all recipients of
733
+ the covered work and works based on it.
734
+
735
+ A patent license is "discriminatory" if it does not include within the scope of
736
+ its coverage, prohibits the exercise of, or is conditioned on the non- exercise
737
+ of one or more of the rights that are specifically granted under this License.
738
+ You may not convey a covered work if you are a party to an arrangement with a
739
+ third party that is in the business of distributing software, under which you
740
+ make payment to the third party based on the extent of your activity of
741
+ conveying the work, and under which the third party grants, to any of the
742
+ parties who would receive the covered work from you, a discriminatory patent
743
+ license (a) in connection with copies of the covered work conveyed by you (or
744
+ copies made from those copies), or (b) primarily for and in connection with
745
+ specific products or compilations that contain the covered work, unless you
746
+ entered into that arrangement, or that patent license was granted, prior to 28
747
+ March 2007.
748
+
749
+ Nothing in this License shall be construed as excluding or limiting any implied
750
+ license or other defenses to infringement that may otherwise be available to you
751
+ under applicable patent law.
752
+
753
+
754
+ ### 12. No Surrender of Others' Freedom.
755
+
756
+ If conditions are imposed on you (whether by court order, agreement or
757
+ otherwise) that contradict the conditions of this License, they do not excuse
758
+ you from the conditions of this License. If you cannot convey a covered work so
759
+ as to satisfy simultaneously your obligations under this License and any other
760
+ pertinent obligations, then as a consequence you may not convey it at all. For
761
+ example, if you agree to terms that obligate you to collect a royalty for
762
+ further conveying from those to whom you convey the Program, the only way you
763
+ could satisfy both those terms and this License would be to refrain entirely
764
+ from conveying the Program.
765
+
766
+
767
+ ### 13. Use with the GNU Affero General Public License.
768
+
769
+ Notwithstanding any other provision of this License, you have permission to link
770
+ or combine any covered work with a work licensed under version 3 of the GNU
771
+ Affero General Public License into a single combined work, and to convey the
772
+ resulting work. The terms of this License will continue to apply to the part
773
+ which is the covered work, but the special requirements of the GNU Affero
774
+ General Public License, section 13, concerning interaction through a network
775
+ will apply to the combination as such.
776
+
777
+
778
+ ### 14. Revised Versions of this License.
779
+
780
+ The Free Software Foundation may publish revised and/or new versions of the GNU
781
+ General Public License from time to time. Such new versions will be similar in
782
+ spirit to the present version, but may differ in detail to address new problems
783
+ or concerns.
784
+
785
+ Each version is given a distinguishing version number. If the Program specifies
786
+ that a certain numbered version of the GNU General Public License "or any later
787
+ version" applies to it, you have the option of following the terms and
788
+ conditions either of that numbered version or of any later version published by
789
+ the Free Software Foundation. If the Program does not specify a version number
790
+ of the GNU General Public License, you may choose any version ever published by
791
+ the Free Software Foundation.
792
+
793
+ If the Program specifies that a proxy can decide which future versions of the
794
+ GNU General Public License can be used, that proxy's public statement of
795
+ acceptance of a version permanently authorizes you to choose that version for
796
+ the Program.
797
+
798
+ Later license versions may give you additional or different permissions.
799
+ However, no additional obligations are imposed on any author or copyright holder
800
+ as a result of your choosing to follow a later version.
801
+
802
+
803
+ ### 15. Disclaimer of Warranty.
804
+
805
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
806
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
807
+ PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
808
+ EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
809
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
810
+ QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
811
+ DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
812
+
813
+
814
+ ### 16. Limitation of Liability.
815
+
816
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
817
+ COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS
818
+ PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
819
+ INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
820
+ THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
821
+ INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
822
+ PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
823
+ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
824
+
825
+ ### 17. Interpretation of Sections 15 and 16.
826
+
827
+ If the disclaimer of warranty and limitation of liability provided above cannot
828
+ be given local legal effect according to their terms, reviewing courts shall
829
+ apply local law that most closely approximates an absolute waiver of all civil
830
+ liability in connection with the Program, unless a warranty or assumption of
831
+ liability accompanies a copy of the Program in return for a fee.
832
+
833
+ END OF TERMS AND CONDITIONS
834
+
835
+
836
+ How to Apply These Terms to Your New Programs
837
+ ---------------------------------------------
838
+
839
+ If you develop a new program, and you want it to be of the greatest possible use
840
+ to the public, the best way to achieve this is to make it free software which
841
+ everyone can redistribute and change under these terms.
842
+
843
+ To do so, attach the following notices to the program. It is safest to attach
844
+ them to the start of each source file to most effectively state the exclusion of
845
+ warranty; and each file should have at least the "copyright" line and a pointer
846
+ to where the full notice is found.
847
+
848
+ <one line to give the program's name and a brief idea of what it does.>
849
+ Copyright (C) <year> <name of author>
850
+
851
+ This program is free software: you can redistribute it and/or modify it
852
+ under the terms of the GNU General Public License as published by the Free
853
+ Software Foundation, either version 3 of the License, or (at your option)
854
+ any later version.
855
+
856
+ This program is distributed in the hope that it will be useful, but WITHOUT
857
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
858
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
859
+ more details.
860
+
861
+ You should have received a copy of the GNU General Public License along with
862
+ this program. If not, see <http://www.gnu.org/licenses/>.
863
+
864
+ Also add information on how to contact you by electronic and paper mail.
865
+
866
+ If the program does terminal interaction, make it output a short notice like
867
+ this when it starts in an interactive mode:
868
+
869
+ <program> Copyright (C) <year> <name of author>
870
+ This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
871
+ This is free software, and you are welcome to redistribute it under certain
872
+ conditions; type 'show c' for details.
873
+
874
+ The hypothetical commands 'show w' and 'show c' should show the appropriate
875
+ parts of the General Public License. Of course, your program's commands might be
876
+ different; for a GUI interface, you would use an "about box".
877
+
878
+ You should also get your employer (if you work as a programmer) or school, if
879
+ any, to sign a "copyright disclaimer" for the program, if necessary. For more
880
+ information on this, and how to apply and follow the GNU GPL, see
881
+ <<http://www.gnu.org/licenses/>>.
882
+
883
+ The GNU General Public License does not permit incorporating your program into
884
+ proprietary programs. If your program is a subroutine library, you may consider
885
+ it more useful to permit linking proprietary applications with the library. If
886
+ this is what you want to do, use the GNU Lesser General Public License instead
887
+ of this License. But first, please read
888
+ <<http://www.gnu.org/philosophy/why-not-lgpl.html>>.
889
+
890
+
891
+ nltk/LICENSE:
892
+
893
+ Apache License
894
+ Version 2.0, January 2004
895
+ http://www.apache.org/licenses/
896
+
897
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
898
+
899
+ 1. Definitions.
900
+
901
+ "License" shall mean the terms and conditions for use, reproduction,
902
+ and distribution as defined by Sections 1 through 9 of this document.
903
+
904
+ "Licensor" shall mean the copyright owner or entity authorized by
905
+ the copyright owner that is granting the License.
906
+
907
+ "Legal Entity" shall mean the union of the acting entity and all
908
+ other entities that control, are controlled by, or are under common
909
+ control with that entity. For the purposes of this definition,
910
+ "control" means (i) the power, direct or indirect, to cause the
911
+ direction or management of such entity, whether by contract or
912
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
913
+ outstanding shares, or (iii) beneficial ownership of such entity.
914
+
915
+ "You" (or "Your") shall mean an individual or Legal Entity
916
+ exercising permissions granted by this License.
917
+
918
+ "Source" form shall mean the preferred form for making modifications,
919
+ including but not limited to software source code, documentation
920
+ source, and configuration files.
921
+
922
+ "Object" form shall mean any form resulting from mechanical
923
+ transformation or translation of a Source form, including but
924
+ not limited to compiled object code, generated documentation,
925
+ and conversions to other media types.
926
+
927
+ "Work" shall mean the work of authorship, whether in Source or
928
+ Object form, made available under the License, as indicated by a
929
+ copyright notice that is included in or attached to the work
930
+ (an example is provided in the Appendix below).
931
+
932
+ "Derivative Works" shall mean any work, whether in Source or Object
933
+ form, that is based on (or derived from) the Work and for which the
934
+ editorial revisions, annotations, elaborations, or other modifications
935
+ represent, as a whole, an original work of authorship. For the purposes
936
+ of this License, Derivative Works shall not include works that remain
937
+ separable from, or merely link (or bind by name) to the interfaces of,
938
+ the Work and Derivative Works thereof.
939
+
940
+ "Contribution" shall mean any work of authorship, including
941
+ the original version of the Work and any modifications or additions
942
+ to that Work or Derivative Works thereof, that is intentionally
943
+ submitted to Licensor for inclusion in the Work by the copyright owner
944
+ or by an individual or Legal Entity authorized to submit on behalf of
945
+ the copyright owner. For the purposes of this definition, "submitted"
946
+ means any form of electronic, verbal, or written communication sent
947
+ to the Licensor or its representatives, including but not limited to
948
+ communication on electronic mailing lists, source code control systems,
949
+ and issue tracking systems that are managed by, or on behalf of, the
950
+ Licensor for the purpose of discussing and improving the Work, but
951
+ excluding communication that is conspicuously marked or otherwise
952
+ designated in writing by the copyright owner as "Not a Contribution."
953
+
954
+ "Contributor" shall mean Licensor and any individual or Legal Entity
955
+ on behalf of whom a Contribution has been received by Licensor and
956
+ subsequently incorporated within the Work.
957
+
958
+ 2. Grant of Copyright License. Subject to the terms and conditions of
959
+ this License, each Contributor hereby grants to You a perpetual,
960
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
961
+ copyright license to reproduce, prepare Derivative Works of,
962
+ publicly display, publicly perform, sublicense, and distribute the
963
+ Work and such Derivative Works in Source or Object form.
964
+
965
+ 3. Grant of Patent License. Subject to the terms and conditions of
966
+ this License, each Contributor hereby grants to You a perpetual,
967
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
968
+ (except as stated in this section) patent license to make, have made,
969
+ use, offer to sell, sell, import, and otherwise transfer the Work,
970
+ where such license applies only to those patent claims licensable
971
+ by such Contributor that are necessarily infringed by their
972
+ Contribution(s) alone or by combination of their Contribution(s)
973
+ with the Work to which such Contribution(s) was submitted. If You
974
+ institute patent litigation against any entity (including a
975
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
976
+ or a Contribution incorporated within the Work constitutes direct
977
+ or contributory patent infringement, then any patent licenses
978
+ granted to You under this License for that Work shall terminate
979
+ as of the date such litigation is filed.
980
+
981
+ 4. Redistribution. You may reproduce and distribute copies of the
982
+ Work or Derivative Works thereof in any medium, with or without
983
+ modifications, and in Source or Object form, provided that You
984
+ meet the following conditions:
985
+
986
+ (a) You must give any other recipients of the Work or
987
+ Derivative Works a copy of this License; and
988
+
989
+ (b) You must cause any modified files to carry prominent notices
990
+ stating that You changed the files; and
991
+
992
+ (c) You must retain, in the Source form of any Derivative Works
993
+ that You distribute, all copyright, patent, trademark, and
994
+ attribution notices from the Source form of the Work,
995
+ excluding those notices that do not pertain to any part of
996
+ the Derivative Works; and
997
+
998
+ (d) If the Work includes a "NOTICE" text file as part of its
999
+ distribution, then any Derivative Works that You distribute must
1000
+ include a readable copy of the attribution notices contained
1001
+ within such NOTICE file, excluding those notices that do not
1002
+ pertain to any part of the Derivative Works, in at least one
1003
+ of the following places: within a NOTICE text file distributed
1004
+ as part of the Derivative Works; within the Source form or
1005
+ documentation, if provided along with the Derivative Works; or,
1006
+ within a display generated by the Derivative Works, if and
1007
+ wherever such third-party notices normally appear. The contents
1008
+ of the NOTICE file are for informational purposes only and
1009
+ do not modify the License. You may add Your own attribution
1010
+ notices within Derivative Works that You distribute, alongside
1011
+ or as an addendum to the NOTICE text from the Work, provided
1012
+ that such additional attribution notices cannot be construed
1013
+ as modifying the License.
1014
+
1015
+ You may add Your own copyright statement to Your modifications and
1016
+ may provide additional or different license terms and conditions
1017
+ for use, reproduction, or distribution of Your modifications, or
1018
+ for any such Derivative Works as a whole, provided Your use,
1019
+ reproduction, and distribution of the Work otherwise complies with
1020
+ the conditions stated in this License.
1021
+
1022
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1023
+ any Contribution intentionally submitted for inclusion in the Work
1024
+ by You to the Licensor shall be under the terms and conditions of
1025
+ this License, without any additional terms or conditions.
1026
+ Notwithstanding the above, nothing herein shall supersede or modify
1027
+ the terms of any separate license agreement you may have executed
1028
+ with Licensor regarding such Contributions.
1029
+
1030
+ 6. Trademarks. This License does not grant permission to use the trade
1031
+ names, trademarks, service marks, or product names of the Licensor,
1032
+ except as required for reasonable and customary use in describing the
1033
+ origin of the Work and reproducing the content of the NOTICE file.
1034
+
1035
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1036
+ agreed to in writing, Licensor provides the Work (and each
1037
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1038
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1039
+ implied, including, without limitation, any warranties or conditions
1040
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1041
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1042
+ appropriateness of using or redistributing the Work and assume any
1043
+ risks associated with Your exercise of permissions under this License.
1044
+
1045
+ 8. Limitation of Liability. In no event and under no legal theory,
1046
+ whether in tort (including negligence), contract, or otherwise,
1047
+ unless required by applicable law (such as deliberate and grossly
1048
+ negligent acts) or agreed to in writing, shall any Contributor be
1049
+ liable to You for damages, including any direct, indirect, special,
1050
+ incidental, or consequential damages of any character arising as a
1051
+ result of this License or out of the use or inability to use the
1052
+ Work (including but not limited to damages for loss of goodwill,
1053
+ work stoppage, computer failure or malfunction, or any and all
1054
+ other commercial damages or losses), even if such Contributor
1055
+ has been advised of the possibility of such damages.
1056
+
1057
+ 9. Accepting Warranty or Additional Liability. While redistributing
1058
+ the Work or Derivative Works thereof, You may choose to offer,
1059
+ and charge a fee for, acceptance of support, warranty, indemnity,
1060
+ or other liability obligations and/or rights consistent with this
1061
+ License. However, in accepting such obligations, You may act only
1062
+ on Your own behalf and on Your sole responsibility, not on behalf
1063
+ of any other Contributor, and only if You agree to indemnify,
1064
+ defend, and hold each Contributor harmless for any liability
1065
+ incurred by, or claims asserted against, such Contributor by reason
1066
+ of your accepting any such warranty or additional liability.
1067
+
1068
+ END OF TERMS AND CONDITIONS
1069
+
1070
+ APPENDIX: How to apply the Apache License to your work.
1071
+
1072
+ To apply the Apache License to your work, attach the following
1073
+ boilerplate notice, with the fields enclosed by brackets "[]"
1074
+ replaced with your own identifying information. (Don't include
1075
+ the brackets!) The text should be enclosed in the appropriate
1076
+ comment syntax for the file format. We also recommend that a
1077
+ file or class name and description of purpose be included on the
1078
+ same "printed page" as the copyright notice for easier
1079
+ identification within third-party archives.
1080
+
1081
+ Copyright [yyyy] [name of copyright owner]
1082
+
1083
+ Licensed under the Apache License, Version 2.0 (the "License");
1084
+ you may not use this file except in compliance with the License.
1085
+ You may obtain a copy of the License at
1086
+
1087
+ http://www.apache.org/licenses/LICENSE-2.0
1088
+
1089
+ Unless required by applicable law or agreed to in writing, software
1090
+ distributed under the License is distributed on an "AS IS" BASIS,
1091
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1092
+ See the License for the specific language governing permissions and
1093
+ limitations under the License.