/[bayescl]/bayescl/COPYING
ViewVC logotype

Contents of /bayescl/COPYING

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Nov 25 16:12:53 2003 UTC (10 years, 4 months ago) by aventimiglia
Branch: MAIN
CVS Tags: HEAD
Added some required text files
1 aventimiglia 1.1 Bayescl - A Common Lisp Bayesian Pattern Filtering Library
2    
3     (c) 2003 Anthony J Ventimiglia <aventimiglia@common-lisp.net>
4    
5     Bayescl is licensed under the terms of the Lisp Lesser GNU Public
6     License, known as the LLGPL. The LLGPL consists of a preamble and the
7     LGPL. Where these conflict, the preamble takes precedence. bayescl
8     is referenced in the preamble as the "LIBRARY."
9    
10    
11     Preamble to the Gnu Lesser General Public License
12    
13     Copyright (c) 2000 Franz Incorporated, Berkeley, CA 94704
14    
15    
16     The concept of the GNU Lesser General Public License version 2.1
17     ("LGPL") has been adopted to govern the use and distribution of
18     above-mentioned application. However, the LGPL uses terminology that
19     is more appropriate for a program written in C than one written in
20     Lisp. Nevertheless, the LGPL can still be applied to a Lisp program if
21     certain clarifications are made. This document details those
22     clarifications. Accordingly, the license for the open-source Lisp
23     applications consists of this document plus the LGPL. Wherever there
24     is a conflict between this document and the LGPL, this document takes
25     precedence over the LGPL.
26    
27     A "Library" in Lisp is a collection of Lisp functions, data and
28     foreign modules. The form of the Library can be Lisp source code (for
29     processing by an interpreter) or object code (usually the result of
30     compilation of source code or built with some other
31     mechanisms). Foreign modules are object code in a form that can be
32     linked into a Lisp executable. When we speak of functions we do so in
33     the most general way to include, in addition, methods and unnamed
34     functions. Lisp "data" is also a general term that includes the data
35     structures resulting from defining Lisp classes. A Lisp application
36     may include the same set of Lisp objects as does a Library, but this
37     does not mean that the application is necessarily a "work based on the
38     Library" it contains.
39    
40     The Library consists of everything in the distribution file set before
41     any modifications are made to the files. If any of the functions or
42     classes in the Library are redefined in other files, then those
43     redefinitions ARE considered a work based on the Library. If
44     additional methods are added to generic functions in the Library,
45     those additional methods are NOT considered a work based on the
46     Library. If Library classes are subclassed, these subclasses are NOT
47     considered a work based on the Library. If the Library is modified to
48     explicitly call other functions that are neither part of Lisp itself
49     nor an available add-on module to Lisp, then the functions called by
50     the modified Library ARE considered a work based on the Library. The
51     goal is to ensure that the Library will compile and run without
52     getting undefined function errors.
53    
54     It is permitted to add proprietary source code to the Library, but it
55     must be done in a way such that the Library will still run without
56     that proprietary code present. Section 5 of the LGPL distinguishes
57     between the case of a library being dynamically linked at runtime and
58     one being statically linked at build time. Section 5 of the LGPL
59     states that the former results in an executable that is a "work that
60     uses the Library." Section 5 of the LGPL states that the latter
61     results in one that is a "derivative of the Library", which is
62     therefore covered by the LGPL. Since Lisp only offers one choice,
63     which is to link the Library into an executable at build time, we
64     declare that, for the purpose applying the LGPL to the Library, an
65     executable that results from linking a "work that uses the Library"
66     with the Library is considered a "work that uses the Library" and is
67     therefore NOT covered by the LGPL.
68    
69     Because of this declaration, section 6 of LGPL is not applicable to
70     the Library. However, in connection with each distribution of this
71     executable, you must also deliver, in accordance with the terms and
72     conditions of the LGPL, the source code of Library (or your derivative
73     thereof) that is incorporated into this executable.
74    
75    
76    
77     GNU LESSER GENERAL PUBLIC LICENSE
78     Version 2.1, February 1999
79    
80     Copyright (C) 1991, 1999 Free Software Foundation, Inc.
81     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
82     Everyone is permitted to copy and distribute verbatim copies
83     of this license document, but changing it is not allowed.
84    
85     [This is the first released version of the Lesser GPL. It also counts
86     as the successor of the GNU Library Public License, version 2, hence
87     the version number 2.1.]
88    
89     Preamble
90    
91     The licenses for most software are designed to take away your
92     freedom to share and change it. By contrast, the GNU General Public
93     Licenses are intended to guarantee your freedom to share and change
94     free software--to make sure the software is free for all its users.
95    
96     This license, the Lesser General Public License, applies to some
97     specially designated software packages--typically libraries--of the
98     Free Software Foundation and other authors who decide to use it. You
99     can use it too, but we suggest you first think carefully about whether
100     this license or the ordinary General Public License is the better
101     strategy to use in any particular case, based on the explanations below.
102    
103     When we speak of free software, we are referring to freedom of use,
104     not price. Our General Public Licenses are designed to make sure that
105     you have the freedom to distribute copies of free software (and charge
106     for this service if you wish); that you receive source code or can get
107     it if you want it; that you can change the software and use pieces of
108     it in new free programs; and that you are informed that you can do
109     these things.
110    
111     To protect your rights, we need to make restrictions that forbid
112     distributors to deny you these rights or to ask you to surrender these
113     rights. These restrictions translate to certain responsibilities for
114     you if you distribute copies of the library or if you modify it.
115    
116     For example, if you distribute copies of the library, whether gratis
117     or for a fee, you must give the recipients all the rights that we gave
118     you. You must make sure that they, too, receive or can get the source
119     code. If you link other code with the library, you must provide
120     complete object files to the recipients, so that they can relink them
121     with the library after making changes to the library and recompiling
122     it. And you must show them these terms so they know their rights.
123    
124     We protect your rights with a two-step method: (1) we copyright the
125     library, and (2) we offer you this license, which gives you legal
126     permission to copy, distribute and/or modify the library.
127    
128     To protect each distributor, we want to make it very clear that
129     there is no warranty for the free library. Also, if the library is
130     modified by someone else and passed on, the recipients should know
131     that what they have is not the original version, so that the original
132     author's reputation will not be affected by problems that might be
133     introduced by others.
134    
135     Finally, software patents pose a constant threat to the existence of
136     any free program. We wish to make sure that a company cannot
137     effectively restrict the users of a free program by obtaining a
138     restrictive license from a patent holder. Therefore, we insist that
139     any patent license obtained for a version of the library must be
140     consistent with the full freedom of use specified in this license.
141    
142     Most GNU software, including some libraries, is covered by the
143     ordinary GNU General Public License. This license, the GNU Lesser
144     General Public License, applies to certain designated libraries, and
145     is quite different from the ordinary General Public License. We use
146     this license for certain libraries in order to permit linking those
147     libraries into non-free programs.
148    
149     When a program is linked with a library, whether statically or using
150     a shared library, the combination of the two is legally speaking a
151     combined work, a derivative of the original library. The ordinary
152     General Public License therefore permits such linking only if the
153     entire combination fits its criteria of freedom. The Lesser General
154     Public License permits more lax criteria for linking other code with
155     the library.
156    
157     We call this license the "Lesser" General Public License because it
158     does Less to protect the user's freedom than the ordinary General
159     Public License. It also provides other free software developers Less
160     of an advantage over competing non-free programs. These disadvantages
161     are the reason we use the ordinary General Public License for many
162     libraries. However, the Lesser license provides advantages in certain
163     special circumstances.
164    
165     For example, on rare occasions, there may be a special need to
166     encourage the widest possible use of a certain library, so that it becomes
167     a de-facto standard. To achieve this, non-free programs must be
168     allowed to use the library. A more frequent case is that a free
169     library does the same job as widely used non-free libraries. In this
170     case, there is little to gain by limiting the free library to free
171     software only, so we use the Lesser General Public License.
172    
173     In other cases, permission to use a particular library in non-free
174     programs enables a greater number of people to use a large body of
175     free software. For example, permission to use the GNU C Library in
176     non-free programs enables many more people to use the whole GNU
177     operating system, as well as its variant, the GNU/Linux operating
178     system.
179    
180     Although the Lesser General Public License is Less protective of the
181     users' freedom, it does ensure that the user of a program that is
182     linked with the Library has the freedom and the wherewithal to run
183     that program using a modified version of the Library.
184    
185     The precise terms and conditions for copying, distribution and
186     modification follow. Pay close attention to the difference between a
187     "work based on the library" and a "work that uses the library". The
188     former contains code derived from the library, whereas the latter must
189     be combined with the library in order to run.
190    
191     GNU LESSER GENERAL PUBLIC LICENSE
192     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
193    
194     0. This License Agreement applies to any software library or other
195     program which contains a notice placed by the copyright holder or
196     other authorized party saying it may be distributed under the terms of
197     this Lesser General Public License (also called "this License").
198     Each licensee is addressed as "you".
199    
200     A "library" means a collection of software functions and/or data
201     prepared so as to be conveniently linked with application programs
202     (which use some of those functions and data) to form executables.
203    
204     The "Library", below, refers to any such software library or work
205     which has been distributed under these terms. A "work based on the
206     Library" means either the Library or any derivative work under
207     copyright law: that is to say, a work containing the Library or a
208     portion of it, either verbatim or with modifications and/or translated
209     straightforwardly into another language. (Hereinafter, translation is
210     included without limitation in the term "modification".)
211    
212     "Source code" for a work means the preferred form of the work for
213     making modifications to it. For a library, complete source code means
214     all the source code for all modules it contains, plus any associated
215     interface definition files, plus the scripts used to control compilation
216     and installation of the library.
217    
218     Activities other than copying, distribution and modification are not
219     covered by this License; they are outside its scope. The act of
220     running a program using the Library is not restricted, and output from
221     such a program is covered only if its contents constitute a work based
222     on the Library (independent of the use of the Library in a tool for
223     writing it). Whether that is true depends on what the Library does
224     and what the program that uses the Library does.
225    
226     1. You may copy and distribute verbatim copies of the Library's
227     complete source code as you receive it, in any medium, provided that
228     you conspicuously and appropriately publish on each copy an
229     appropriate copyright notice and disclaimer of warranty; keep intact
230     all the notices that refer to this License and to the absence of any
231     warranty; and distribute a copy of this License along with the
232     Library.
233    
234     You may charge a fee for the physical act of transferring a copy,
235     and you may at your option offer warranty protection in exchange for a
236     fee.
237    
238     2. You may modify your copy or copies of the Library or any portion
239     of it, thus forming a work based on the Library, and copy and
240     distribute such modifications or work under the terms of Section 1
241     above, provided that you also meet all of these conditions:
242    
243     a) The modified work must itself be a software library.
244    
245     b) You must cause the files modified to carry prominent notices
246     stating that you changed the files and the date of any change.
247    
248     c) You must cause the whole of the work to be licensed at no
249     charge to all third parties under the terms of this License.
250    
251     d) If a facility in the modified Library refers to a function or a
252     table of data to be supplied by an application program that uses
253     the facility, other than as an argument passed when the facility
254     is invoked, then you must make a good faith effort to ensure that,
255     in the event an application does not supply such function or
256     table, the facility still operates, and performs whatever part of
257     its purpose remains meaningful.
258    
259     (For example, a function in a library to compute square roots has
260     a purpose that is entirely well-defined independent of the
261     application. Therefore, Subsection 2d requires that any
262     application-supplied function or table used by this function must
263     be optional: if the application does not supply it, the square
264     root function must still compute square roots.)
265    
266     These requirements apply to the modified work as a whole. If
267     identifiable sections of that work are not derived from the Library,
268     and can be reasonably considered independent and separate works in
269     themselves, then this License, and its terms, do not apply to those
270     sections when you distribute them as separate works. But when you
271     distribute the same sections as part of a whole which is a work based
272     on the Library, the distribution of the whole must be on the terms of
273     this License, whose permissions for other licensees extend to the
274     entire whole, and thus to each and every part regardless of who wrote
275     it.
276    
277     Thus, it is not the intent of this section to claim rights or contest
278     your rights to work written entirely by you; rather, the intent is to
279     exercise the right to control the distribution of derivative or
280     collective works based on the Library.
281    
282     In addition, mere aggregation of another work not based on the Library
283     with the Library (or with a work based on the Library) on a volume of
284     a storage or distribution medium does not bring the other work under
285     the scope of this License.
286    
287     3. You may opt to apply the terms of the ordinary GNU General Public
288     License instead of this License to a given copy of the Library. To do
289     this, you must alter all the notices that refer to this License, so
290     that they refer to the ordinary GNU General Public License, version 2,
291     instead of to this License. (If a newer version than version 2 of the
292     ordinary GNU General Public License has appeared, then you can specify
293     that version instead if you wish.) Do not make any other change in
294     these notices.
295    
296     Once this change is made in a given copy, it is irreversible for
297     that copy, so the ordinary GNU General Public License applies to all
298     subsequent copies and derivative works made from that copy.
299    
300     This option is useful when you wish to copy part of the code of
301     the Library into a program that is not a library.
302    
303     4. You may copy and distribute the Library (or a portion or
304     derivative of it, under Section 2) in object code or executable form
305     under the terms of Sections 1 and 2 above provided that you accompany
306     it with the complete corresponding machine-readable source code, which
307     must be distributed under the terms of Sections 1 and 2 above on a
308     medium customarily used for software interchange.
309    
310     If distribution of object code is made by offering access to copy
311     from a designated place, then offering equivalent access to copy the
312     source code from the same place satisfies the requirement to
313     distribute the source code, even though third parties are not
314     compelled to copy the source along with the object code.
315    
316     5. A program that contains no derivative of any portion of the
317     Library, but is designed to work with the Library by being compiled or
318     linked with it, is called a "work that uses the Library". Such a
319     work, in isolation, is not a derivative work of the Library, and
320     therefore falls outside the scope of this License.
321    
322     However, linking a "work that uses the Library" with the Library
323     creates an executable that is a derivative of the Library (because it
324     contains portions of the Library), rather than a "work that uses the
325     library". The executable is therefore covered by this License.
326     Section 6 states terms for distribution of such executables.
327    
328     When a "work that uses the Library" uses material from a header file
329     that is part of the Library, the object code for the work may be a
330     derivative work of the Library even though the source code is not.
331     Whether this is true is especially significant if the work can be
332     linked without the Library, or if the work is itself a library. The
333     threshold for this to be true is not precisely defined by law.
334    
335     If such an object file uses only numerical parameters, data
336     structure layouts and accessors, and small macros and small inline
337     functions (ten lines or less in length), then the use of the object
338     file is unrestricted, regardless of whether it is legally a derivative
339     work. (Executables containing this object code plus portions of the
340     Library will still fall under Section 6.)
341    
342     Otherwise, if the work is a derivative of the Library, you may
343     distribute the object code for the work under the terms of Section 6.
344     Any executables containing that work also fall under Section 6,
345     whether or not they are linked directly with the Library itself.
346    
347     6. As an exception to the Sections above, you may also combine or
348     link a "work that uses the Library" with the Library to produce a
349     work containing portions of the Library, and distribute that work
350     under terms of your choice, provided that the terms permit
351     modification of the work for the customer's own use and reverse
352     engineering for debugging such modifications.
353    
354     You must give prominent notice with each copy of the work that the
355     Library is used in it and that the Library and its use are covered by
356     this License. You must supply a copy of this License. If the work
357     during execution displays copyright notices, you must include the
358     copyright notice for the Library among them, as well as a reference
359     directing the user to the copy of this License. Also, you must do one
360     of these things:
361    
362     a) Accompany the work with the complete corresponding
363     machine-readable source code for the Library including whatever
364     changes were used in the work (which must be distributed under
365     Sections 1 and 2 above); and, if the work is an executable linked
366     with the Library, with the complete machine-readable "work that
367     uses the Library", as object code and/or source code, so that the
368     user can modify the Library and then relink to produce a modified
369     executable containing the modified Library. (It is understood
370     that the user who changes the contents of definitions files in the
371     Library will not necessarily be able to recompile the application
372     to use the modified definitions.)
373    
374     b) Use a suitable shared library mechanism for linking with the
375     Library. A suitable mechanism is one that (1) uses at run time a
376     copy of the library already present on the user's computer system,
377     rather than copying library functions into the executable, and (2)
378     will operate properly with a modified version of the library, if
379     the user installs one, as long as the modified version is
380     interface-compatible with the version that the work was made with.
381    
382     c) Accompany the work with a written offer, valid for at
383     least three years, to give the same user the materials
384     specified in Subsection 6a, above, for a charge no more
385     than the cost of performing this distribution.
386    
387     d) If distribution of the work is made by offering access to copy
388     from a designated place, offer equivalent access to copy the above
389     specified materials from the same place.
390    
391     e) Verify that the user has already received a copy of these
392     materials or that you have already sent this user a copy.
393    
394     For an executable, the required form of the "work that uses the
395     Library" must include any data and utility programs needed for
396     reproducing the executable from it. However, as a special exception,
397     the materials to be distributed need not include anything that is
398     normally distributed (in either source or binary form) with the major
399     components (compiler, kernel, and so on) of the operating system on
400     which the executable runs, unless that component itself accompanies
401     the executable.
402    
403     It may happen that this requirement contradicts the license
404     restrictions of other proprietary libraries that do not normally
405     accompany the operating system. Such a contradiction means you cannot
406     use both them and the Library together in an executable that you
407     distribute.
408    
409     7. You may place library facilities that are a work based on the
410     Library side-by-side in a single library together with other library
411     facilities not covered by this License, and distribute such a combined
412     library, provided that the separate distribution of the work based on
413     the Library and of the other library facilities is otherwise
414     permitted, and provided that you do these two things:
415    
416     a) Accompany the combined library with a copy of the same work
417     based on the Library, uncombined with any other library
418     facilities. This must be distributed under the terms of the
419     Sections above.
420    
421     b) Give prominent notice with the combined library of the fact
422     that part of it is a work based on the Library, and explaining
423     where to find the accompanying uncombined form of the same work.
424    
425     8. You may not copy, modify, sublicense, link with, or distribute
426     the Library except as expressly provided under this License. Any
427     attempt otherwise to copy, modify, sublicense, link with, or
428     distribute the Library is void, and will automatically terminate your
429     rights under this License. However, parties who have received copies,
430     or rights, from you under this License will not have their licenses
431     terminated so long as such parties remain in full compliance.
432    
433     9. You are not required to accept this License, since you have not
434     signed it. However, nothing else grants you permission to modify or
435     distribute the Library or its derivative works. These actions are
436     prohibited by law if you do not accept this License. Therefore, by
437     modifying or distributing the Library (or any work based on the
438     Library), you indicate your acceptance of this License to do so, and
439     all its terms and conditions for copying, distributing or modifying
440     the Library or works based on it.
441    
442     10. Each time you redistribute the Library (or any work based on the
443     Library), the recipient automatically receives a license from the
444     original licensor to copy, distribute, link with or modify the Library
445     subject to these terms and conditions. You may not impose any further
446     restrictions on the recipients' exercise of the rights granted herein.
447     You are not responsible for enforcing compliance by third parties with
448     this License.
449    
450     11. If, as a consequence of a court judgment or allegation of patent
451     infringement or for any other reason (not limited to patent issues),
452     conditions are imposed on you (whether by court order, agreement or
453     otherwise) that contradict the conditions of this License, they do not
454     excuse you from the conditions of this License. If you cannot
455     distribute so as to satisfy simultaneously your obligations under this
456     License and any other pertinent obligations, then as a consequence you
457     may not distribute the Library at all. For example, if a patent
458     license would not permit royalty-free redistribution of the Library by
459     all those who receive copies directly or indirectly through you, then
460     the only way you could satisfy both it and this License would be to
461     refrain entirely from distribution of the Library.
462    
463     If any portion of this section is held invalid or unenforceable under any
464     particular circumstance, the balance of the section is intended to apply,
465     and the section as a whole is intended to apply in other circumstances.
466    
467     It is not the purpose of this section to induce you to infringe any
468     patents or other property right claims or to contest validity of any
469     such claims; this section has the sole purpose of protecting the
470     integrity of the free software distribution system which is
471     implemented by public license practices. Many people have made
472     generous contributions to the wide range of software distributed
473     through that system in reliance on consistent application of that
474     system; it is up to the author/donor to decide if he or she is willing
475     to distribute software through any other system and a licensee cannot
476     impose that choice.
477    
478     This section is intended to make thoroughly clear what is believed to
479     be a consequence of the rest of this License.
480    
481     12. If the distribution and/or use of the Library is restricted in
482     certain countries either by patents or by copyrighted interfaces, the
483     original copyright holder who places the Library under this License may add
484     an explicit geographical distribution limitation excluding those countries,
485     so that distribution is permitted only in or among countries not thus
486     excluded. In such case, this License incorporates the limitation as if
487     written in the body of this License.
488    
489     13. The Free Software Foundation may publish revised and/or new
490     versions of the Lesser General Public License from time to time.
491     Such new versions will be similar in spirit to the present version,
492     but may differ in detail to address new problems or concerns.
493    
494     Each version is given a distinguishing version number. If the Library
495     specifies a version number of this License which applies to it and
496     "any later version", you have the option of following the terms and
497     conditions either of that version or of any later version published by
498     the Free Software Foundation. If the Library does not specify a
499     license version number, you may choose any version ever published by
500     the Free Software Foundation.
501    
502     14. If you wish to incorporate parts of the Library into other free
503     programs whose distribution conditions are incompatible with these,
504     write to the author to ask for permission. For software which is
505     copyrighted by the Free Software Foundation, write to the Free
506     Software Foundation; we sometimes make exceptions for this. Our
507     decision will be guided by the two goals of preserving the free status
508     of all derivatives of our free software and of promoting the sharing
509     and reuse of software generally.
510    
511     NO WARRANTY
512    
513     15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
514     WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
515     EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
516     OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
517     KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
518     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
519     PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
520     LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
521     THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
522    
523     16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
524     WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
525     AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
526     FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
527     CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
528     LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
529     RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
530     FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
531     SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
532     DAMAGES.
533    

  ViewVC Help
Powered by ViewVC 1.1.5