@cognica-io/uqa-darwin-arm64 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY/JDK-UNICODE.md +103 -0
- package/THIRD-PARTY/LUCENE-LICENSE.txt +507 -0
- package/THIRD-PARTY/LUCENE-NOTICE.txt +197 -0
- package/THIRD-PARTY/LUCENE-SOURCE.md +7 -0
- package/THIRD-PARTY/MECAB-COPYING.txt +201 -0
- package/THIRD-PARTY/NORI-MODEL-MANIFEST.json +515 -0
- package/THIRD-PARTY/NORI-RESOURCE-MANIFEST.json +40 -0
- package/package.json +9 -2
- package/uqa.darwin-arm64.node +0 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
Apache Lucene
|
|
2
|
+
Copyright 2001-2025 The Apache Software Foundation
|
|
3
|
+
|
|
4
|
+
This product includes software developed at
|
|
5
|
+
The Apache Software Foundation (http://www.apache.org/).
|
|
6
|
+
|
|
7
|
+
Includes software from other Apache Software Foundation projects,
|
|
8
|
+
including, but not limited to:
|
|
9
|
+
- Apache Jakarta Regexp
|
|
10
|
+
- Apache Commons
|
|
11
|
+
- Apache Xerces
|
|
12
|
+
|
|
13
|
+
ICU4J, (under analysis/icu) is licensed under an MIT styles license
|
|
14
|
+
and Copyright (c) 1995-2008 International Business Machines Corporation and others
|
|
15
|
+
|
|
16
|
+
Some data files (under analysis/icu/src/data) are derived from Unicode data such
|
|
17
|
+
as the Unicode Character Database. See http://unicode.org/copyright.html for more
|
|
18
|
+
details.
|
|
19
|
+
|
|
20
|
+
Brics Automaton (under core/src/java/org/apache/lucene/util/automaton) is
|
|
21
|
+
BSD-licensed, created by Anders Møller. See http://www.brics.dk/automaton/
|
|
22
|
+
|
|
23
|
+
The levenshtein automata tables (under core/src/java/org/apache/lucene/util/automaton) were
|
|
24
|
+
automatically generated with the moman/finenight FSA library, created by
|
|
25
|
+
Jean-Philippe Barrette-LaPierre. This library is available under an MIT license,
|
|
26
|
+
see http://sites.google.com/site/rrettesite/moman and
|
|
27
|
+
http://bitbucket.org/jpbarrette/moman/overview/
|
|
28
|
+
|
|
29
|
+
The class org.apache.lucene.util.WeakIdentityMap was derived from
|
|
30
|
+
the Apache CXF project and is Apache License 2.0.
|
|
31
|
+
|
|
32
|
+
The class org.apache.lucene.util.compress.LZ4 is a Java rewrite of the LZ4
|
|
33
|
+
compression library (https://github.com/lz4/lz4/tree/dev/lib) that is licensed
|
|
34
|
+
under the 2-clause BSD license.
|
|
35
|
+
(https://opensource.org/licenses/bsd-license.php)
|
|
36
|
+
|
|
37
|
+
The Google Code Prettify is Apache License 2.0.
|
|
38
|
+
See http://code.google.com/p/google-code-prettify/
|
|
39
|
+
|
|
40
|
+
This product includes code (JaspellTernarySearchTrie) from Java Spelling Checkin
|
|
41
|
+
g Package (jaspell): http://jaspell.sourceforge.net/
|
|
42
|
+
License: The BSD License (http://www.opensource.org/licenses/bsd-license.php)
|
|
43
|
+
|
|
44
|
+
The snowball stemmers in
|
|
45
|
+
analysis/common/src/java/net/sf/snowball
|
|
46
|
+
were developed by Martin Porter and Richard Boulton.
|
|
47
|
+
The snowball stopword lists in
|
|
48
|
+
analysis/common/src/resources/org/apache/lucene/analysis/snowball
|
|
49
|
+
were developed by Martin Porter and Richard Boulton.
|
|
50
|
+
The full snowball package is available from
|
|
51
|
+
https://snowballstem.org/
|
|
52
|
+
|
|
53
|
+
The KStem stemmer in
|
|
54
|
+
analysis/common/src/org/apache/lucene/analysis/en
|
|
55
|
+
was developed by Bob Krovetz and Sergio Guzman-Lara (CIIR-UMass Amherst)
|
|
56
|
+
under the BSD-license.
|
|
57
|
+
|
|
58
|
+
The Arabic,Persian,Romanian,Bulgarian, Hindi and Bengali analyzers (common) come with a default
|
|
59
|
+
stopword list that is BSD-licensed created by Jacques Savoy. These files reside in:
|
|
60
|
+
analysis/common/src/resources/org/apache/lucene/analysis/ar/stopwords.txt,
|
|
61
|
+
analysis/common/src/resources/org/apache/lucene/analysis/fa/stopwords.txt,
|
|
62
|
+
analysis/common/src/resources/org/apache/lucene/analysis/ro/stopwords.txt,
|
|
63
|
+
analysis/common/src/resources/org/apache/lucene/analysis/bg/stopwords.txt,
|
|
64
|
+
analysis/common/src/resources/org/apache/lucene/analysis/hi/stopwords.txt,
|
|
65
|
+
analysis/common/src/resources/org/apache/lucene/analysis/bn/stopwords.txt
|
|
66
|
+
See http://members.unine.ch/jacques.savoy/clef/index.html.
|
|
67
|
+
|
|
68
|
+
The German,Spanish,Finnish,French,Hungarian,Italian,Portuguese,Russian and Swedish light stemmers
|
|
69
|
+
(common) are based on BSD-licensed reference implementations created by Jacques Savoy and
|
|
70
|
+
Ljiljana Dolamic. These files reside in:
|
|
71
|
+
analysis/common/src/java/org/apache/lucene/analysis/de/GermanLightStemmer.java
|
|
72
|
+
analysis/common/src/java/org/apache/lucene/analysis/de/GermanMinimalStemmer.java
|
|
73
|
+
analysis/common/src/java/org/apache/lucene/analysis/es/SpanishLightStemmer.java
|
|
74
|
+
analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishLightStemmer.java
|
|
75
|
+
analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchLightStemmer.java
|
|
76
|
+
analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchMinimalStemmer.java
|
|
77
|
+
analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianLightStemmer.java
|
|
78
|
+
analysis/common/src/java/org/apache/lucene/analysis/it/ItalianLightStemmer.java
|
|
79
|
+
analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseLightStemmer.java
|
|
80
|
+
analysis/common/src/java/org/apache/lucene/analysis/ru/RussianLightStemmer.java
|
|
81
|
+
analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishLightStemmer.java
|
|
82
|
+
|
|
83
|
+
The Stempel analyzer (stempel) includes BSD-licensed software developed
|
|
84
|
+
by the Egothor project http://egothor.sf.net/, created by Leo Galambos, Martin Kvapil,
|
|
85
|
+
and Edmond Nolan.
|
|
86
|
+
|
|
87
|
+
The Polish analyzer (stempel) comes with a default
|
|
88
|
+
stopword list that is BSD-licensed created by the Carrot2 project. The file resides
|
|
89
|
+
in stempel/src/resources/org/apache/lucene/analysis/pl/stopwords.txt.
|
|
90
|
+
See https://github.com/carrot2/carrot2.
|
|
91
|
+
|
|
92
|
+
The SmartChineseAnalyzer source code (smartcn) was
|
|
93
|
+
provided by Xiaoping Gao and copyright 2009 by www.imdict.net.
|
|
94
|
+
|
|
95
|
+
WordBreakTestUnicode_*.java (under modules/analysis/common/src/test/)
|
|
96
|
+
is derived from Unicode data such as the Unicode Character Database.
|
|
97
|
+
See http://unicode.org/copyright.html for more details.
|
|
98
|
+
|
|
99
|
+
The Morfologik analyzer (morfologik) includes BSD-licensed software
|
|
100
|
+
developed by Dawid Weiss and Marcin Miłkowski
|
|
101
|
+
(https://github.com/morfologik/morfologik-stemming) and uses
|
|
102
|
+
data from the BSD-licensed dictionary of Polish (SGJP, http://sgjp.pl/morfeusz/).
|
|
103
|
+
|
|
104
|
+
===========================================================================
|
|
105
|
+
Kuromoji Japanese Morphological Analyzer - Apache Lucene Integration
|
|
106
|
+
===========================================================================
|
|
107
|
+
|
|
108
|
+
This software includes a binary and/or source version of data from
|
|
109
|
+
|
|
110
|
+
mecab-ipadic-2.7.0-20070801
|
|
111
|
+
|
|
112
|
+
which can be obtained from
|
|
113
|
+
|
|
114
|
+
http://atilika.com/releases/mecab-ipadic/mecab-ipadic-2.7.0-20070801.tar.gz
|
|
115
|
+
|
|
116
|
+
or
|
|
117
|
+
|
|
118
|
+
http://jaist.dl.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz
|
|
119
|
+
|
|
120
|
+
===========================================================================
|
|
121
|
+
mecab-ipadic-2.7.0-20070801 Notice
|
|
122
|
+
===========================================================================
|
|
123
|
+
|
|
124
|
+
Nara Institute of Science and Technology (NAIST),
|
|
125
|
+
the copyright holders, disclaims all warranties with regard to this
|
|
126
|
+
software, including all implied warranties of merchantability and
|
|
127
|
+
fitness, in no event shall NAIST be liable for
|
|
128
|
+
any special, indirect or consequential damages or any damages
|
|
129
|
+
whatsoever resulting from loss of use, data or profits, whether in an
|
|
130
|
+
action of contract, negligence or other tortuous action, arising out
|
|
131
|
+
of or in connection with the use or performance of this software.
|
|
132
|
+
|
|
133
|
+
A large portion of the dictionary entries
|
|
134
|
+
originate from ICOT Free Software. The following conditions for ICOT
|
|
135
|
+
Free Software applies to the current dictionary as well.
|
|
136
|
+
|
|
137
|
+
Each User may also freely distribute the Program, whether in its
|
|
138
|
+
original form or modified, to any third party or parties, PROVIDED
|
|
139
|
+
that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
|
|
140
|
+
on, or be attached to, the Program, which is distributed substantially
|
|
141
|
+
in the same form as set out herein and that such intended
|
|
142
|
+
distribution, if actually made, will neither violate or otherwise
|
|
143
|
+
contravene any of the laws and regulations of the countries having
|
|
144
|
+
jurisdiction over the User or the intended distribution itself.
|
|
145
|
+
|
|
146
|
+
NO WARRANTY
|
|
147
|
+
|
|
148
|
+
The program was produced on an experimental basis in the course of the
|
|
149
|
+
research and development conducted during the project and is provided
|
|
150
|
+
to users as so produced on an experimental basis. Accordingly, the
|
|
151
|
+
program is provided without any warranty whatsoever, whether express,
|
|
152
|
+
implied, statutory or otherwise. The term "warranty" used herein
|
|
153
|
+
includes, but is not limited to, any warranty of the quality,
|
|
154
|
+
performance, merchantability and fitness for a particular purpose of
|
|
155
|
+
the program and the nonexistence of any infringement or violation of
|
|
156
|
+
any right of any third party.
|
|
157
|
+
|
|
158
|
+
Each user of the program will agree and understand, and be deemed to
|
|
159
|
+
have agreed and understood, that there is no warranty whatsoever for
|
|
160
|
+
the program and, accordingly, the entire risk arising from or
|
|
161
|
+
otherwise connected with the program is assumed by the user.
|
|
162
|
+
|
|
163
|
+
Therefore, neither ICOT, the copyright holder, or any other
|
|
164
|
+
organization that participated in or was otherwise related to the
|
|
165
|
+
development of the program and their respective officials, directors,
|
|
166
|
+
officers and other employees shall be held liable for any and all
|
|
167
|
+
damages, including, without limitation, general, special, incidental
|
|
168
|
+
and consequential damages, arising out of or otherwise in connection
|
|
169
|
+
with the use or inability to use the program or any product, material
|
|
170
|
+
or result produced or otherwise obtained by using the program,
|
|
171
|
+
regardless of whether they have been advised of, or otherwise had
|
|
172
|
+
knowledge of, the possibility of such damages at any time during the
|
|
173
|
+
project or thereafter. Each user will be deemed to have agreed to the
|
|
174
|
+
foregoing by his or her commencement of use of the program. The term
|
|
175
|
+
"use" as used herein includes, but is not limited to, the use,
|
|
176
|
+
modification, copying and distribution of the program and the
|
|
177
|
+
production of secondary products from the program.
|
|
178
|
+
|
|
179
|
+
In the case where the program, whether in its original form or
|
|
180
|
+
modified, was distributed or delivered to or received by a user from
|
|
181
|
+
any person, organization or entity other than ICOT, unless it makes or
|
|
182
|
+
grants independently of ICOT any specific warranty to the user in
|
|
183
|
+
writing, such person, organization or entity, will also be exempted
|
|
184
|
+
from and not be held liable to the user for any such damages as noted
|
|
185
|
+
above as far as the program is concerned.
|
|
186
|
+
|
|
187
|
+
===========================================================================
|
|
188
|
+
Nori Korean Morphological Analyzer - Apache Lucene Integration
|
|
189
|
+
===========================================================================
|
|
190
|
+
|
|
191
|
+
This software includes a binary and/or source version of data from
|
|
192
|
+
|
|
193
|
+
mecab-ko-dic-2.1.1-20180720
|
|
194
|
+
|
|
195
|
+
which can be obtained from
|
|
196
|
+
|
|
197
|
+
https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.1.1-20180720.tar.gz
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Lucene source attribution
|
|
2
|
+
|
|
3
|
+
The native Nori user-dictionary parser, rolling Viterbi search, token emission, filters, number parsing/composition, and analyzer normalization in `src/nori/user_dictionary/`, `src/nori/user_dictionary.rs`, `src/nori/tokenizer/`, `src/nori/filters/`, `src/nori/filters.rs`, `src/nori/number/`, `src/nori/number.rs`, and `src/nori/analyzer.rs` were ported from Apache Lucene 10.5.1, commit `64ce863a2bea79c69c19c4d56268c26710ff0ff9`. The original source is licensed under Apache-2.0; the complete upstream `LICENSE.txt` and `NOTICE.txt` are retained alongside this file.
|
|
4
|
+
|
|
5
|
+
The reference files are `lucene/analysis/common/src/java/org/apache/lucene/analysis/morph/Viterbi.java` and the Nori `Viterbi.java`, `KoreanTokenizer.java`, `Token.java`, `DecompoundToken.java`, `dict/UserDictionary.java`, `dict/UserMorphData.java`, `KoreanAnalyzer.java`, `KoreanPartOfSpeechStopFilter.java`, `KoreanReadingFormFilter.java`, and `KoreanNumberFilter.java` under `lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/`. The shared filter behavior follows `FilteringTokenFilter.java`, `LowerCaseFilter.java`, and `CharacterUtils.java` under `lucene/core/src/java/org/apache/lucene/analysis/`. See the [pinned upstream tree](https://github.com/apache/lucene/tree/64ce863a2bea79c69c19c4d56268c26710ff0ff9/lucene/analysis).
|
|
6
|
+
|
|
7
|
+
Cognica's modifications translate the algorithms to Rust, use the validated portable dictionary representation, retain raw UTF-16 token and morpheme units, make compiled models immutable and shareable, and add explicit resource limits and cancellation. Number arithmetic uses an interruptible exact decimal coefficient and scale; materialized filter streams retain shared terminal-attribute effects. A shared filter kernel in `src/nori/filters/stream.rs` and the generic-token adapter in `src/token/korean.rs` preserve optional morphology and source projection across both representations. The pinned Docker reference drivers and native differential tests record observable ordering, morphology, graph, offset, and stream-end behavior. The dictionary data and its additional attribution ship separately in `uqa-nori-data`.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|