similarity_tree 1.0.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.
@@ -0,0 +1,3 @@
1
+ module SimilarityTree
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'similarity_tree/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "similarity_tree"
8
+ spec.version = SimilarityTree::VERSION
9
+ spec.authors = ["Kent Mewhort"]
10
+ spec.email = ["kent@openissues.ca"]
11
+ spec.description = %q{Generates a tree representing the branches or revisions to a set of HTML files}
12
+ spec.summary = %q{Generates a tree representing the branches or revisions to a set of HTML files}
13
+ spec.homepage = "https://github.com/kmewhort/similarity_tree/"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_runtime_dependency "fast_html_diff"
24
+ spec.add_runtime_dependency "tf-idf-similarity"
25
+ spec.add_runtime_dependency "ruby-progressbar"
26
+ end
@@ -0,0 +1,401 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
+ <html><body>
3
+ <h3><em>License</em></h3>
4
+
5
+ <p>THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS
6
+ OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR
7
+ "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER
8
+ APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
9
+ AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
10
+ PROHIBITED.</p>
11
+
12
+ <p>BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU
13
+ ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
+ TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A
15
+ CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE
16
+ IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
17
+ CONDITIONS.</p>
18
+
19
+ <p><strong>1. Definitions</strong></p>
20
+
21
+ <ol type="a">
22
+ <li>
23
+ <strong>"Adaptation"</strong> means a work based upon
24
+ the Work, or upon the Work and other pre-existing works,
25
+ such as a translation, adaptation, derivative work,
26
+ arrangement of music or other alterations of a literary
27
+ or artistic work, or phonogram or performance and
28
+ includes cinematographic adaptations or any other form in
29
+ which the Work may be recast, transformed, or adapted
30
+ including in any form recognizably derived from the
31
+ original, except that a work that constitutes a
32
+ Collection will not be considered an Adaptation for the
33
+ purpose of this License. For the avoidance of doubt,
34
+ where the Work is a musical work, performance or
35
+ phonogram, the synchronization of the Work in
36
+ timed-relation with a moving image ("synching") will be
37
+ considered an Adaptation for the purpose of this
38
+ License.</li>
39
+
40
+ <li>
41
+ <strong>"Collection"</strong> means a collection of
42
+ literary or artistic works, such as encyclopedias and
43
+ anthologies, or performances, phonograms or broadcasts,
44
+ or other works or subject matter other than works listed
45
+ in Section 1(f) below, which, by reason of the selection
46
+ and arrangement of their contents, constitute
47
+ intellectual creations, in which the Work is included in
48
+ its entirety in unmodified form along with one or more
49
+ other contributions, each constituting separate and
50
+ independent works in themselves, which together are
51
+ assembled into a collective whole. A work that
52
+ constitutes a Collection will not be considered an
53
+ Adaptation (as defined above) for the purposes of this
54
+ License.</li>
55
+
56
+ <li>
57
+ <strong>"Distribute"</strong> means to make available
58
+ to the public the original and copies of the Work or
59
+ Adaptation, as appropriate, through sale or other
60
+ transfer of ownership.</li>
61
+
62
+ <li>
63
+ <strong>"Licensor"</strong> means the individual,
64
+ individuals, entity or entities that offer(s) the Work
65
+ under the terms of this License.</li>
66
+
67
+ <li>
68
+ <strong>"Original Author"</strong> means, in the case
69
+ of a literary or artistic work, the individual,
70
+ individuals, entity or entities who created the Work or
71
+ if no individual or entity can be identified, the
72
+ publisher; and in addition (i) in the case of a
73
+ performance the actors, singers, musicians, dancers, and
74
+ other persons who act, sing, deliver, declaim, play in,
75
+ interpret or otherwise perform literary or artistic works
76
+ or expressions of folklore; (ii) in the case of a
77
+ phonogram the producer being the person or legal entity
78
+ who first fixes the sounds of a performance or other
79
+ sounds; and, (iii) in the case of broadcasts, the
80
+ organization that transmits the broadcast.</li>
81
+
82
+ <li>
83
+ <strong>"Work"</strong> means the literary and/or
84
+ artistic work offered under the terms of this License
85
+ including without limitation any production in the
86
+ literary, scientific and artistic domain, whatever may be
87
+ the mode or form of its expression including digital
88
+ form, such as a book, pamphlet and other writing; a
89
+ lecture, address, sermon or other work of the same
90
+ nature; a dramatic or dramatico-musical work; a
91
+ choreographic work or entertainment in dumb show; a
92
+ musical composition with or without words; a
93
+ cinematographic work to which are assimilated works
94
+ expressed by a process analogous to cinematography; a
95
+ work of drawing, painting, architecture, sculpture,
96
+ engraving or lithography; a photographic work to which
97
+ are assimilated works expressed by a process analogous to
98
+ photography; a work of applied art; an illustration, map,
99
+ plan, sketch or three-dimensional work relative to
100
+ geography, topography, architecture or science; a
101
+ performance; a broadcast; a phonogram; a compilation of
102
+ data to the extent it is protected as a copyrightable
103
+ work; or a work performed by a variety or circus
104
+ performer to the extent it is not otherwise considered a
105
+ literary or artistic work.</li>
106
+
107
+ <li>
108
+ <strong>"You"</strong> means an individual or entity
109
+ exercising rights under this License who has not
110
+ previously violated the terms of this License with
111
+ respect to the Work, or who has received express
112
+ permission from the Licensor to exercise rights under
113
+ this License despite a previous violation.</li>
114
+
115
+ <li>
116
+ <strong>"Publicly Perform"</strong> means to perform
117
+ public recitations of the Work and to communicate to the
118
+ public those public recitations, by any means or process,
119
+ including by wire or wireless means or public digital
120
+ performances; to make available to the public Works in
121
+ such a way that members of the public may access these
122
+ Works from a place and at a place individually chosen by
123
+ them; to perform the Work to the public by any means or
124
+ process and the communication to the public of the
125
+ performances of the Work, including by public digital
126
+ performance; to broadcast and rebroadcast the Work by any
127
+ means including signs, sounds or images.</li>
128
+
129
+ <li>
130
+ <strong>"Reproduce"</strong> means to make copies of
131
+ the Work by any means including without limitation by
132
+ sound or visual recordings and the right of fixation and
133
+ reproducing fixations of the Work, including storage of a
134
+ protected performance or phonogram in digital form or
135
+ other electronic medium.</li>
136
+ </ol>
137
+ <p><strong>2. Fair Dealing Rights.</strong> Nothing in this
138
+ License is intended to reduce, limit, or restrict any uses
139
+ free from copyright or rights arising from limitations or
140
+ exceptions that are provided for in connection with the
141
+ copyright protection under copyright law or other
142
+ applicable laws.</p>
143
+
144
+ <p><strong>3. License Grant.</strong> Subject to the terms
145
+ and conditions of this License, Licensor hereby grants You
146
+ a worldwide, royalty-free, non-exclusive, perpetual (for
147
+ the duration of the applicable copyright) license to
148
+ exercise the rights in the Work as stated below:</p>
149
+
150
+ <ol type="a">
151
+ <li>to Reproduce the Work, to incorporate the Work into
152
+ one or more Collections, and to Reproduce the Work as
153
+ incorporated in the Collections;</li>
154
+
155
+ <li>to create and Reproduce Adaptations provided that any
156
+ such Adaptation, including any translation in any medium,
157
+ takes reasonable steps to clearly label, demarcate or
158
+ otherwise identify that changes were made to the original
159
+ Work. For example, a translation could be marked "The
160
+ original work was translated from English to Spanish," or
161
+ a modification could indicate "The original work has been
162
+ modified.";</li>
163
+
164
+ <li>to Distribute and Publicly Perform the Work including
165
+ as incorporated in Collections; and,</li>
166
+
167
+ <li>to Distribute and Publicly Perform Adaptations.</li>
168
+
169
+ <li>
170
+ <p>For the avoidance of doubt:</p>
171
+
172
+ <ol type="i">
173
+ <li>
174
+ <strong>Non-waivable Compulsory License
175
+ Schemes</strong>. In those jurisdictions in which the
176
+ right to collect royalties through any statutory or
177
+ compulsory licensing scheme cannot be waived, the
178
+ Licensor reserves the exclusive right to collect such
179
+ royalties for any exercise by You of the rights
180
+ granted under this License;</li>
181
+
182
+ <li>
183
+ <strong>Waivable Compulsory License
184
+ Schemes</strong>. In those jurisdictions in which the
185
+ right to collect royalties through any statutory or
186
+ compulsory licensing scheme can be waived, the
187
+ Licensor waives the exclusive right to collect such
188
+ royalties for any exercise by You of the rights
189
+ granted under this License; and,</li>
190
+
191
+ <li>
192
+ <strong>Voluntary License Schemes</strong>. The
193
+ Licensor waives the right to collect royalties,
194
+ whether individually or, in the event that the
195
+ Licensor is a member of a collecting society that
196
+ administers voluntary licensing schemes, via that
197
+ society, from any exercise by You of the rights
198
+ granted under this License.</li>
199
+ </ol>
200
+ </li>
201
+ </ol>
202
+ <p>The above rights may be exercised in all media and
203
+ formats whether now known or hereafter devised. The above
204
+ rights include the right to make such modifications as are
205
+ technically necessary to exercise the rights in other media
206
+ and formats. Subject to Section 8(f), all rights not
207
+ expressly granted by Licensor are hereby reserved.</p>
208
+
209
+ <p><strong>4. Restrictions.</strong> The license granted in
210
+ Section 3 above is expressly made subject to and limited by
211
+ the following restrictions:</p>
212
+
213
+ <ol type="a">
214
+ <li>You may Distribute or Publicly Perform the Work only
215
+ under the terms of this License. You must include a copy
216
+ of, or the Uniform Resource Identifier (URI) for, this
217
+ License with every copy of the Work You Distribute or
218
+ Publicly Perform. You may not offer or impose any terms
219
+ on the Work that restrict the terms of this License or
220
+ the ability of the recipient of the Work to exercise the
221
+ rights granted to that recipient under the terms of the
222
+ License. You may not sublicense the Work. You must keep
223
+ intact all notices that refer to this License and to the
224
+ disclaimer of warranties with every copy of the Work You
225
+ Distribute or Publicly Perform. When You Distribute or
226
+ Publicly Perform the Work, You may not impose any
227
+ effective technological measures on the Work that
228
+ restrict the ability of a recipient of the Work from You
229
+ to exercise the rights granted to that recipient under
230
+ the terms of the License. This Section 4(a) applies to
231
+ the Work as incorporated in a Collection, but this does
232
+ not require the Collection apart from the Work itself to
233
+ be made subject to the terms of this License. If You
234
+ create a Collection, upon notice from any Licensor You
235
+ must, to the extent practicable, remove from the
236
+ Collection any credit as required by Section 4(b), as
237
+ requested. If You create an Adaptation, upon notice from
238
+ any Licensor You must, to the extent practicable, remove
239
+ from the Adaptation any credit as required by Section
240
+ 4(b), as requested.</li>
241
+
242
+ <li>If You Distribute, or Publicly Perform the Work or
243
+ any Adaptations or Collections, You must, unless a
244
+ request has been made pursuant to Section 4(a), keep
245
+ intact all copyright notices for the Work and provide,
246
+ reasonable to the medium or means You are utilizing: (i)
247
+ the name of the Original Author (or pseudonym, if
248
+ applicable) if supplied, and/or if the Original Author
249
+ and/or Licensor designate another party or parties (e.g.,
250
+ a sponsor institute, publishing entity, journal) for
251
+ attribution ("Attribution Parties") in Licensor's
252
+ copyright notice, terms of service or by other reasonable
253
+ means, the name of such party or parties; (ii) the title
254
+ of the Work if supplied; (iii) to the extent reasonably
255
+ practicable, the URI, if any, that Licensor specifies to
256
+ be associated with the Work, unless such URI does not
257
+ refer to the copyright notice or licensing information
258
+ for the Work; and (iv) , consistent with Section 3(b), in
259
+ the case of an Adaptation, a credit identifying the use
260
+ of the Work in the Adaptation (e.g., "French translation
261
+ of the Work by Original Author," or "Screenplay based on
262
+ original Work by Original Author"). The credit required
263
+ by this Section 4 (b) may be implemented in any
264
+ reasonable manner; provided, however, that in the case of
265
+ a Adaptation or Collection, at a minimum such credit will
266
+ appear, if a credit for all contributing authors of the
267
+ Adaptation or Collection appears, then as part of these
268
+ credits and in a manner at least as prominent as the
269
+ credits for the other contributing authors. For the
270
+ avoidance of doubt, You may only use the credit required
271
+ by this Section for the purpose of attribution in the
272
+ manner set out above and, by exercising Your rights under
273
+ this License, You may not implicitly or explicitly assert
274
+ or imply any connection with, sponsorship or endorsement
275
+ by the Original Author, Licensor and/or Attribution
276
+ Parties, as appropriate, of You or Your use of the Work,
277
+ without the separate, express prior written permission of
278
+ the Original Author, Licensor and/or Attribution
279
+ Parties.</li>
280
+
281
+ <li>Except as otherwise agreed in writing by the Licensor
282
+ or as may be otherwise permitted by applicable law, if
283
+ You Reproduce, Distribute or Publicly Perform the Work
284
+ either by itself or as part of any Adaptations or
285
+ Collections, You must not distort, mutilate, modify or
286
+ take other derogatory action in relation to the Work
287
+ which would be prejudicial to the Original Author's honor
288
+ or reputation. Licensor agrees that in those
289
+ jurisdictions (e.g. Japan), in which any exercise of the
290
+ right granted in Section 3(b) of this License (the right
291
+ to make Adaptations) would be deemed to be a distortion,
292
+ mutilation, modification or other derogatory action
293
+ prejudicial to the Original Author's honor and
294
+ reputation, the Licensor will waive or not assert, as
295
+ appropriate, this Section, to the fullest extent
296
+ permitted by the applicable national law, to enable You
297
+ to reasonably exercise Your right under Section 3(b) of
298
+ this License (right to make Adaptations) but not
299
+ otherwise.</li>
300
+ </ol>
301
+ <p><strong>5. Representations, Warranties and
302
+ Disclaimer</strong></p>
303
+
304
+ <p>UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN
305
+ WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO
306
+ REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE
307
+ WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING,
308
+ WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
309
+ FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE
310
+ ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE
311
+ PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
312
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED
313
+ WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.</p>
314
+
315
+ <p><strong>6. Limitation on Liability.</strong> EXCEPT TO
316
+ THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL
317
+ LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
318
+ SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY
319
+ DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK,
320
+ EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF
321
+ SUCH DAMAGES.</p>
322
+
323
+ <p><strong>7. Termination</strong></p>
324
+
325
+ <ol type="a">
326
+ <li>This License and the rights granted hereunder will
327
+ terminate automatically upon any breach by You of the
328
+ terms of this License. Individuals or entities who have
329
+ received Adaptations or Collections from You under this
330
+ License, however, will not have their licenses terminated
331
+ provided such individuals or entities remain in full
332
+ compliance with those licenses. Sections 1, 2, 5, 6, 7,
333
+ and 8 will survive any termination of this License.</li>
334
+
335
+ <li>Subject to the above terms and conditions, the
336
+ license granted here is perpetual (for the duration of
337
+ the applicable copyright in the Work). Notwithstanding
338
+ the above, Licensor reserves the right to release the
339
+ Work under different license terms or to stop
340
+ distributing the Work at any time; provided, however that
341
+ any such election will not serve to withdraw this License
342
+ (or any other license that has been, or is required to
343
+ be, granted under the terms of this License), and this
344
+ License will continue in full force and effect unless
345
+ terminated as stated above.</li>
346
+ </ol>
347
+ <p><strong>8. Miscellaneous</strong></p>
348
+
349
+ <ol type="a">
350
+ <li>Each time You Distribute or Publicly Perform the Work
351
+ or a Collection, the Licensor offers to the recipient a
352
+ license to the Work on the same terms and conditions as
353
+ the license granted to You under this License.</li>
354
+
355
+ <li>Each time You Distribute or Publicly Perform an
356
+ Adaptation, Licensor offers to the recipient a license to
357
+ the original Work on the same terms and conditions as the
358
+ license granted to You under this License.</li>
359
+
360
+ <li>If any provision of this License is invalid or
361
+ unenforceable under applicable law, it shall not affect
362
+ the validity or enforceability of the remainder of the
363
+ terms of this License, and without further action by the
364
+ parties to this agreement, such provision shall be
365
+ reformed to the minimum extent necessary to make such
366
+ provision valid and enforceable.</li>
367
+
368
+ <li>No term or provision of this License shall be deemed
369
+ waived and no breach consented to unless such waiver or
370
+ consent shall be in writing and signed by the party to be
371
+ charged with such waiver or consent.</li>
372
+
373
+ <li>This License constitutes the entire agreement between
374
+ the parties with respect to the Work licensed here. There
375
+ are no understandings, agreements or representations with
376
+ respect to the Work not specified here. Licensor shall
377
+ not be bound by any additional provisions that may appear
378
+ in any communication from You. This License may not be
379
+ modified without the mutual written agreement of the
380
+ Licensor and You.</li>
381
+
382
+ <li>The rights granted under, and the subject matter
383
+ referenced, in this License were drafted utilizing the
384
+ terminology of the Berne Convention for the Protection of
385
+ Literary and Artistic Works (as amended on September 28,
386
+ 1979), the Rome Convention of 1961, the WIPO Copyright
387
+ Treaty of 1996, the WIPO Performances and Phonograms
388
+ Treaty of 1996 and the Universal Copyright Convention (as
389
+ revised on July 24, 1971). These rights and subject
390
+ matter take effect in the relevant jurisdiction in which
391
+ the License terms are sought to be enforced according to
392
+ the corresponding provisions of the implementation of
393
+ those treaty provisions in the applicable national law.
394
+ If the standard suite of rights granted under applicable
395
+ copyright law includes additional rights not granted
396
+ under this License, such additional rights are deemed to
397
+ be included in the License; this License is not intended
398
+ to restrict the license of any rights under applicable
399
+ law.</li>
400
+ </ol>
401
+ </body></html>
@@ -0,0 +1,423 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
+ <html><body>
3
+ <h3><em>License</em></h3>
4
+
5
+ <p>THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS
6
+ OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR
7
+ "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER
8
+ APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
9
+ AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
10
+ PROHIBITED.</p>
11
+
12
+ <p>BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU
13
+ ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE.
14
+ TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A
15
+ CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE
16
+ IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
17
+ CONDITIONS.</p>
18
+
19
+ <p><strong>1. Definitions</strong></p>
20
+
21
+ <ol type="a">
22
+ <li>
23
+ <strong>"Adaptation"</strong> means a work based upon
24
+ the Work, or upon the Work and other pre-existing works,
25
+ such as a translation, adaptation, derivative work,
26
+ arrangement of music or other alterations of a literary
27
+ or artistic work, or phonogram or performance and
28
+ includes cinematographic adaptations or any other form in
29
+ which the Work may be recast, transformed, or adapted
30
+ including in any form recognizably derived from the
31
+ original, except that a work that constitutes a
32
+ Collection will not be considered an Adaptation for the
33
+ purpose of this License. For the avoidance of doubt,
34
+ where the Work is a musical work, performance or
35
+ phonogram, the synchronization of the Work in
36
+ timed-relation with a moving image ("synching") will be
37
+ considered an Adaptation for the purpose of this
38
+ License.</li>
39
+
40
+ <li>
41
+ <strong>"Collection"</strong> means a collection of
42
+ literary or artistic works, such as encyclopedias and
43
+ anthologies, or performances, phonograms or broadcasts,
44
+ or other works or subject matter other than works listed
45
+ in Section 1(f) below, which, by reason of the selection
46
+ and arrangement of their contents, constitute
47
+ intellectual creations, in which the Work is included in
48
+ its entirety in unmodified form along with one or more
49
+ other contributions, each constituting separate and
50
+ independent works in themselves, which together are
51
+ assembled into a collective whole. A work that
52
+ constitutes a Collection will not be considered an
53
+ Adaptation (as defined above) for the purposes of this
54
+ License.</li>
55
+
56
+ <li>
57
+ <strong>"Distribute"</strong> means to make available
58
+ to the public the original and copies of the Work or
59
+ Adaptation, as appropriate, through sale or other
60
+ transfer of ownership.</li>
61
+
62
+ <li>
63
+ <strong>"Licensor"</strong> means the individual,
64
+ individuals, entity or entities that offer(s) the Work
65
+ under the terms of this License.</li>
66
+
67
+ <li>
68
+ <strong>"Original Author"</strong> means, in the case
69
+ of a literary or artistic work, the individual,
70
+ individuals, entity or entities who created the Work or
71
+ if no individual or entity can be identified, the
72
+ publisher; and in addition (i) in the case of a
73
+ performance the actors, singers, musicians, dancers, and
74
+ other persons who act, sing, deliver, declaim, play in,
75
+ interpret or otherwise perform literary or artistic works
76
+ or expressions of folklore; (ii) in the case of a
77
+ phonogram the producer being the person or legal entity
78
+ who first fixes the sounds of a performance or other
79
+ sounds; and, (iii) in the case of broadcasts, the
80
+ organization that transmits the broadcast.</li>
81
+
82
+ <li>
83
+ <strong>"Work"</strong> means the literary and/or
84
+ artistic work offered under the terms of this License
85
+ including without limitation any production in the
86
+ literary, scientific and artistic domain, whatever may be
87
+ the mode or form of its expression including digital
88
+ form, such as a book, pamphlet and other writing; a
89
+ lecture, address, sermon or other work of the same
90
+ nature; a dramatic or dramatico-musical work; a
91
+ choreographic work or entertainment in dumb show; a
92
+ musical composition with or without words; a
93
+ cinematographic work to which are assimilated works
94
+ expressed by a process analogous to cinematography; a
95
+ work of drawing, painting, architecture, sculpture,
96
+ engraving or lithography; a photographic work to which
97
+ are assimilated works expressed by a process analogous to
98
+ photography; a work of applied art; an illustration, map,
99
+ plan, sketch or three-dimensional work relative to
100
+ geography, topography, architecture or science; a
101
+ performance; a broadcast; a phonogram; a compilation of
102
+ data to the extent it is protected as a copyrightable
103
+ work; or a work performed by a variety or circus
104
+ performer to the extent it is not otherwise considered a
105
+ literary or artistic work.</li>
106
+
107
+ <li>
108
+ <strong>"You"</strong> means an individual or entity
109
+ exercising rights under this License who has not
110
+ previously violated the terms of this License with
111
+ respect to the Work, or who has received express
112
+ permission from the Licensor to exercise rights under
113
+ this License despite a previous violation.</li>
114
+
115
+ <li>
116
+ <strong>"Publicly Perform"</strong> means to perform
117
+ public recitations of the Work and to communicate to the
118
+ public those public recitations, by any means or process,
119
+ including by wire or wireless means or public digital
120
+ performances; to make available to the public Works in
121
+ such a way that members of the public may access these
122
+ Works from a place and at a place individually chosen by
123
+ them; to perform the Work to the public by any means or
124
+ process and the communication to the public of the
125
+ performances of the Work, including by public digital
126
+ performance; to broadcast and rebroadcast the Work by any
127
+ means including signs, sounds or images.</li>
128
+
129
+ <li>
130
+ <strong>"Reproduce"</strong> means to make copies of
131
+ the Work by any means including without limitation by
132
+ sound or visual recordings and the right of fixation and
133
+ reproducing fixations of the Work, including storage of a
134
+ protected performance or phonogram in digital form or
135
+ other electronic medium.</li>
136
+ </ol>
137
+ <p><strong>2. Fair Dealing Rights.</strong> Nothing in this
138
+ License is intended to reduce, limit, or restrict any uses
139
+ free from copyright or rights arising from limitations or
140
+ exceptions that are provided for in connection with the
141
+ copyright protection under copyright law or other
142
+ applicable laws.</p>
143
+
144
+ <p><strong>3. License Grant.</strong> Subject to the terms
145
+ and conditions of this License, Licensor hereby grants You
146
+ a worldwide, royalty-free, non-exclusive, perpetual (for
147
+ the duration of the applicable copyright) license to
148
+ exercise the rights in the Work as stated below:</p>
149
+
150
+ <ol type="a">
151
+ <li>to Reproduce the Work, to incorporate the Work into
152
+ one or more Collections, and to Reproduce the Work as
153
+ incorporated in the Collections;</li>
154
+
155
+ <li>to create and Reproduce Adaptations provided that any
156
+ such Adaptation, including any translation in any medium,
157
+ takes reasonable steps to clearly label, demarcate or
158
+ otherwise identify that changes were made to the original
159
+ Work. For example, a translation could be marked "The
160
+ original work was translated from English to Spanish," or
161
+ a modification could indicate "The original work has been
162
+ modified.";</li>
163
+
164
+ <li>to Distribute and Publicly Perform the Work including
165
+ as incorporated in Collections; and,</li>
166
+
167
+ <li>to Distribute and Publicly Perform Adaptations.</li>
168
+ </ol>
169
+ <p>The above rights may be exercised in all media and
170
+ formats whether now known or hereafter devised. The above
171
+ rights include the right to make such modifications as are
172
+ technically necessary to exercise the rights in other media
173
+ and formats. Subject to Section 8(f), all rights not
174
+ expressly granted by Licensor are hereby reserved,
175
+ including but not limited to the rights set forth in
176
+ Section 4(d).</p>
177
+
178
+ <p><strong>4. Restrictions.</strong> The license granted in
179
+ Section 3 above is expressly made subject to and limited by
180
+ the following restrictions:</p>
181
+
182
+ <ol type="a">
183
+ <li>You may Distribute or Publicly Perform the Work only
184
+ under the terms of this License. You must include a copy
185
+ of, or the Uniform Resource Identifier (URI) for, this
186
+ License with every copy of the Work You Distribute or
187
+ Publicly Perform. You may not offer or impose any terms
188
+ on the Work that restrict the terms of this License or
189
+ the ability of the recipient of the Work to exercise the
190
+ rights granted to that recipient under the terms of the
191
+ License. You may not sublicense the Work. You must keep
192
+ intact all notices that refer to this License and to the
193
+ disclaimer of warranties with every copy of the Work You
194
+ Distribute or Publicly Perform. When You Distribute or
195
+ Publicly Perform the Work, You may not impose any
196
+ effective technological measures on the Work that
197
+ restrict the ability of a recipient of the Work from You
198
+ to exercise the rights granted to that recipient under
199
+ the terms of the License. This Section 4(a) applies to
200
+ the Work as incorporated in a Collection, but this does
201
+ not require the Collection apart from the Work itself to
202
+ be made subject to the terms of this License. If You
203
+ create a Collection, upon notice from any Licensor You
204
+ must, to the extent practicable, remove from the
205
+ Collection any credit as required by Section 4(c), as
206
+ requested. If You create an Adaptation, upon notice from
207
+ any Licensor You must, to the extent practicable, remove
208
+ from the Adaptation any credit as required by Section
209
+ 4(c), as requested.</li>
210
+
211
+ <li>You may not exercise any of the rights granted to You
212
+ in Section 3 above in any manner that is primarily
213
+ intended for or directed toward commercial advantage or
214
+ private monetary compensation. The exchange of the Work
215
+ for other copyrighted works by means of digital
216
+ file-sharing or otherwise shall not be considered to be
217
+ intended for or directed toward commercial advantage or
218
+ private monetary compensation, provided there is no
219
+ payment of any monetary compensation in connection with
220
+ the exchange of copyrighted works.</li>
221
+
222
+ <li>If You Distribute, or Publicly Perform the Work or
223
+ any Adaptations or Collections, You must, unless a
224
+ request has been made pursuant to Section 4(a), keep
225
+ intact all copyright notices for the Work and provide,
226
+ reasonable to the medium or means You are utilizing: (i)
227
+ the name of the Original Author (or pseudonym, if
228
+ applicable) if supplied, and/or if the Original Author
229
+ and/or Licensor designate another party or parties (e.g.,
230
+ a sponsor institute, publishing entity, journal) for
231
+ attribution ("Attribution Parties") in Licensor's
232
+ copyright notice, terms of service or by other reasonable
233
+ means, the name of such party or parties; (ii) the title
234
+ of the Work if supplied; (iii) to the extent reasonably
235
+ practicable, the URI, if any, that Licensor specifies to
236
+ be associated with the Work, unless such URI does not
237
+ refer to the copyright notice or licensing information
238
+ for the Work; and, (iv) consistent with Section 3(b), in
239
+ the case of an Adaptation, a credit identifying the use
240
+ of the Work in the Adaptation (e.g., "French translation
241
+ of the Work by Original Author," or "Screenplay based on
242
+ original Work by Original Author"). The credit required
243
+ by this Section 4(c) may be implemented in any reasonable
244
+ manner; provided, however, that in the case of a
245
+ Adaptation or Collection, at a minimum such credit will
246
+ appear, if a credit for all contributing authors of the
247
+ Adaptation or Collection appears, then as part of these
248
+ credits and in a manner at least as prominent as the
249
+ credits for the other contributing authors. For the
250
+ avoidance of doubt, You may only use the credit required
251
+ by this Section for the purpose of attribution in the
252
+ manner set out above and, by exercising Your rights under
253
+ this License, You may not implicitly or explicitly assert
254
+ or imply any connection with, sponsorship or endorsement
255
+ by the Original Author, Licensor and/or Attribution
256
+ Parties, as appropriate, of You or Your use of the Work,
257
+ without the separate, express prior written permission of
258
+ the Original Author, Licensor and/or Attribution
259
+ Parties.</li>
260
+
261
+ <li>
262
+
263
+ <p>For the avoidance of doubt:</p>
264
+
265
+ <ol type="i">
266
+ <li>
267
+ <strong>Non-waivable Compulsory License
268
+ Schemes</strong>. In those jurisdictions in which the
269
+ right to collect royalties through any statutory or
270
+ compulsory licensing scheme cannot be waived, the
271
+ Licensor reserves the exclusive right to collect such
272
+ royalties for any exercise by You of the rights
273
+ granted under this License;</li>
274
+
275
+ <li>
276
+ <strong>Waivable Compulsory License
277
+ Schemes</strong>. In those jurisdictions in which the
278
+ right to collect royalties through any statutory or
279
+ compulsory licensing scheme can be waived, the
280
+ Licensor reserves the exclusive right to collect such
281
+ royalties for any exercise by You of the rights
282
+ granted under this License if Your exercise of such
283
+ rights is for a purpose or use which is otherwise
284
+ than noncommercial as permitted under Section 4(b)
285
+ and otherwise waives the right to collect royalties
286
+ through any statutory or compulsory licensing scheme;
287
+ and,</li>
288
+
289
+ <li>
290
+ <strong>Voluntary License Schemes</strong>. The
291
+ Licensor reserves the right to collect royalties,
292
+ whether individually or, in the event that the
293
+ Licensor is a member of a collecting society that
294
+ administers voluntary licensing schemes, via that
295
+ society, from any exercise by You of the rights
296
+ granted under this License that is for a purpose or
297
+ use which is otherwise than noncommercial as
298
+ permitted under Section 4(c).</li>
299
+
300
+ </ol>
301
+ </li>
302
+
303
+ <li>Except as otherwise agreed in writing by the Licensor
304
+ or as may be otherwise permitted by applicable law, if
305
+ You Reproduce, Distribute or Publicly Perform the Work
306
+ either by itself or as part of any Adaptations or
307
+ Collections, You must not distort, mutilate, modify or
308
+ take other derogatory action in relation to the Work
309
+ which would be prejudicial to the Original Author's honor
310
+ or reputation. Licensor agrees that in those
311
+ jurisdictions (e.g. Japan), in which any exercise of the
312
+ right granted in Section 3(b) of this License (the right
313
+ to make Adaptations) would be deemed to be a distortion,
314
+ mutilation, modification or other derogatory action
315
+ prejudicial to the Original Author's honor and
316
+ reputation, the Licensor will waive or not assert, as
317
+ appropriate, this Section, to the fullest extent
318
+ permitted by the applicable national law, to enable You
319
+ to reasonably exercise Your right under Section 3(b) of
320
+ this License (right to make Adaptations) but not
321
+ otherwise.</li>
322
+ </ol>
323
+ <p><strong>5. Representations, Warranties and
324
+ Disclaimer</strong></p>
325
+
326
+ <p>UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN
327
+ WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO
328
+ REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE
329
+ WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING,
330
+ WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
331
+ FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE
332
+ ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE
333
+ PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE.
334
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED
335
+ WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.</p>
336
+
337
+ <p><strong>6. Limitation on Liability.</strong> EXCEPT TO
338
+ THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL
339
+ LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY
340
+ SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY
341
+ DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK,
342
+ EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF
343
+ SUCH DAMAGES.</p>
344
+
345
+ <p><strong>7. Termination</strong></p>
346
+
347
+ <ol type="a">
348
+ <li>This License and the rights granted hereunder will
349
+ terminate automatically upon any breach by You of the
350
+ terms of this License. Individuals or entities who have
351
+ received Adaptations or Collections from You under this
352
+ License, however, will not have their licenses terminated
353
+ provided such individuals or entities remain in full
354
+ compliance with those licenses. Sections 1, 2, 5, 6, 7,
355
+ and 8 will survive any termination of this License.</li>
356
+
357
+ <li>Subject to the above terms and conditions, the
358
+ license granted here is perpetual (for the duration of
359
+ the applicable copyright in the Work). Notwithstanding
360
+ the above, Licensor reserves the right to release the
361
+ Work under different license terms or to stop
362
+ distributing the Work at any time; provided, however that
363
+ any such election will not serve to withdraw this License
364
+ (or any other license that has been, or is required to
365
+ be, granted under the terms of this License), and this
366
+ License will continue in full force and effect unless
367
+ terminated as stated above.</li>
368
+ </ol>
369
+ <p><strong>8. Miscellaneous</strong></p>
370
+
371
+ <ol type="a">
372
+ <li>Each time You Distribute or Publicly Perform the Work
373
+ or a Collection, the Licensor offers to the recipient a
374
+ license to the Work on the same terms and conditions as
375
+ the license granted to You under this License.</li>
376
+
377
+ <li>Each time You Distribute or Publicly Perform an
378
+ Adaptation, Licensor offers to the recipient a license to
379
+ the original Work on the same terms and conditions as the
380
+ license granted to You under this License.</li>
381
+
382
+ <li>If any provision of this License is invalid or
383
+ unenforceable under applicable law, it shall not affect
384
+ the validity or enforceability of the remainder of the
385
+ terms of this License, and without further action by the
386
+ parties to this agreement, such provision shall be
387
+ reformed to the minimum extent necessary to make such
388
+ provision valid and enforceable.</li>
389
+
390
+ <li>No term or provision of this License shall be deemed
391
+ waived and no breach consented to unless such waiver or
392
+ consent shall be in writing and signed by the party to be
393
+ charged with such waiver or consent.</li>
394
+
395
+ <li>This License constitutes the entire agreement between
396
+ the parties with respect to the Work licensed here. There
397
+ are no understandings, agreements or representations with
398
+ respect to the Work not specified here. Licensor shall
399
+ not be bound by any additional provisions that may appear
400
+ in any communication from You. This License may not be
401
+ modified without the mutual written agreement of the
402
+ Licensor and You.</li>
403
+
404
+ <li>The rights granted under, and the subject matter
405
+ referenced, in this License were drafted utilizing the
406
+ terminology of the Berne Convention for the Protection of
407
+ Literary and Artistic Works (as amended on September 28,
408
+ 1979), the Rome Convention of 1961, the WIPO Copyright
409
+ Treaty of 1996, the WIPO Performances and Phonograms
410
+ Treaty of 1996 and the Universal Copyright Convention (as
411
+ revised on July 24, 1971). These rights and subject
412
+ matter take effect in the relevant jurisdiction in which
413
+ the License terms are sought to be enforced according to
414
+ the corresponding provisions of the implementation of
415
+ those treaty provisions in the applicable national law.
416
+ If the standard suite of rights granted under applicable
417
+ copyright law includes additional rights not granted
418
+ under this License, such additional rights are deemed to
419
+ be included in the License; this License is not intended
420
+ to restrict the license of any rights under applicable
421
+ law.</li>
422
+ </ol>
423
+ </body></html>