From e826e03f379650edd02e4068909bb2ad59ad0ad8 Mon Sep 17 00:00:00 2001
From: Pawel Orlowicz <porlowicz@gmail.com>
Date: Tue, 17 Jul 2012 13:37:58 +0200
Subject: [PATCH] GPL -> LGPL

---
 COPYING.LESSER                                | 166 ++++++++++++++++++
 LICENSE.CORPUS2                               |  27 +++
 LICENSE => LICENSE.POLIQARP                   |   5 +
 LICENSE.in                                    |   2 +-
 libcorpus2/ann/annotatedsentence.cpp          |  16 ++
 libcorpus2/ann/annotatedsentence.h            |  16 ++
 libcorpus2/ann/channel.cpp                    |  16 ++
 libcorpus2/ann/channel.h                      |  16 ++
 libcorpus2/ann/iob.cpp                        |  16 ++
 libcorpus2/ann/iob.h                          |  16 ++
 libcorpus2/ann/view.cpp                       |  16 ++
 libcorpus2/ann/view.h                         |  16 ++
 libcorpus2/chunk.cpp                          |   4 +-
 libcorpus2/chunk.h                            |   4 +-
 libcorpus2/exception.cpp                      |   4 +-
 libcorpus2/exception.h                        |   4 +-
 libcorpus2/io/cclreader.cpp                   |   4 +-
 libcorpus2/io/cclreader.h                     |   4 +-
 libcorpus2/io/cclwriter.cpp                   |  16 ++
 libcorpus2/io/cclwriter.h                     |  16 ++
 libcorpus2/io/conllwriter.cpp                 |  16 ++
 libcorpus2/io/conllwriter.h                   |  16 ++
 libcorpus2/io/fastxces.cpp                    |  16 ++
 libcorpus2/io/fastxces.h                      |  16 ++
 libcorpus2/io/helpers.cpp                     |  16 ++
 libcorpus2/io/helpers.h                       |  16 ++
 libcorpus2/io/iob-chan.cpp                    |  14 +-
 libcorpus2/io/iob-chan.h                      |  14 +-
 libcorpus2/io/nonewriter.cpp                  |  15 ++
 libcorpus2/io/nonewriter.h                    |  16 ++
 libcorpus2/io/orthwriter.cpp                  |   4 +-
 libcorpus2/io/orthwriter.h                    |   4 +-
 libcorpus2/io/pathwriter.cpp                  |  16 ++
 libcorpus2/io/pathwriter.h                    |  16 ++
 libcorpus2/io/plainreader.cpp                 |  16 ++
 libcorpus2/io/plainreader.h                   |  16 ++
 libcorpus2/io/plainwriter.cpp                 |   4 +-
 libcorpus2/io/plainwriter.h                   |   4 +-
 libcorpus2/io/premorphwriter.cpp              |   4 +-
 libcorpus2/io/premorphwriter.h                |   4 +-
 libcorpus2/io/reader.cpp                      |   4 +-
 libcorpus2/io/reader.h                        |   4 +-
 libcorpus2/io/rft.cpp                         |   4 +-
 libcorpus2/io/rft.h                           |   4 +-
 libcorpus2/io/sax.cpp                         |   4 +-
 libcorpus2/io/sax.h                           |   4 +-
 libcorpus2/io/statwriter.cpp                  |  16 ++
 libcorpus2/io/statwriter.h                    |  16 ++
 libcorpus2/io/writer.cpp                      |   4 +-
 libcorpus2/io/writer.h                        |   4 +-
 libcorpus2/io/xces.cpp                        |   4 +-
 libcorpus2/io/xces.h                          |   4 +-
 libcorpus2/io/xcescommon.cpp                  |   4 +-
 libcorpus2/io/xcescommon.h                    |   4 +-
 libcorpus2/io/xcesreader.cpp                  |   4 +-
 libcorpus2/io/xcesreader.h                    |   4 +-
 libcorpus2/io/xcesvalidate.cpp                |   4 +-
 libcorpus2/io/xcesvalidate.h                  |   4 +-
 libcorpus2/io/xceswriter.cpp                  |   4 +-
 libcorpus2/io/xceswriter.h                    |   4 +-
 libcorpus2/io/xmlreader.cpp                   |   4 +-
 libcorpus2/io/xmlreader.h                     |   4 +-
 libcorpus2/io/xmlwriter.cpp                   |   4 +-
 libcorpus2/io/xmlwriter.h                     |  16 ++
 libcorpus2/lexeme.cpp                         |   4 +-
 libcorpus2/lexeme.h                           |   4 +-
 libcorpus2/sentence.cpp                       |   4 +-
 libcorpus2/sentence.h                         |   4 +-
 libcorpus2/tag.cpp                            |   4 +-
 libcorpus2/tag.h                              |   4 +-
 libcorpus2/tagging.cpp                        |  14 +-
 libcorpus2/tagging.h                          |  14 +-
 libcorpus2/tagset.cpp                         |   4 +-
 libcorpus2/tagset.h                           |   4 +-
 libcorpus2/tagsetmanager.cpp                  |   4 +-
 libcorpus2/tagsetmanager.h                    |   4 +-
 libcorpus2/tagsetparser.cpp                   |   4 +-
 libcorpus2/tagsetparser.h                     |   4 +-
 libcorpus2/token.cpp                          |   4 +-
 libcorpus2/token.h                            |   4 +-
 libcorpus2/tokenmetadata.cpp                  |   4 +-
 libcorpus2/tokenmetadata.h                    |   4 +-
 libcorpus2/tokensource.h                      |   4 +-
 libcorpus2/typedefs.h                         |   4 +-
 libcorpus2/util/ioformat-options.cpp          |  16 ++
 libcorpus2/util/ioformat-options.h            |  16 ++
 libcorpus2/util/settings.cpp                  |   4 +-
 libcorpus2/util/settings.h                    |   4 +-
 libcorpus2/util/symboldictionary.cpp          |   4 +-
 libcorpus2/util/symboldictionary.h            |   4 +-
 libcorpus2/util/tokentimer.cpp                |   4 +-
 libcorpus2/util/tokentimer.h                  |   4 +-
 libcorpus2_whole/corpus.cpp                   |   4 +-
 libcorpus2_whole/corpus.h                     |   4 +-
 libcorpus2_whole/document.cpp                 |   4 +-
 libcorpus2_whole/document.h                   |   4 +-
 libcorpus2_whole/io/cclrelreader.cpp          |   4 +-
 libcorpus2_whole/io/cclrelreader.h            |   4 +-
 libcorpus2_whole/io/corpusreader.cpp          |  15 ++
 libcorpus2_whole/io/corpusreader.h            |  16 ++
 libcorpus2_whole/io/documentcorpusreader.cpp  |  15 ++
 libcorpus2_whole/io/documentcorpusreader.h    |  16 ++
 libcorpus2_whole/io/documentreader.cpp        |   4 +-
 libcorpus2_whole/io/documentreader.h          |  16 ++
 libcorpus2_whole/io/poliqarpcorpusreader.cpp  |  15 ++
 libcorpus2_whole/io/poliqarpcorpusreader.h    |  16 ++
 .../io/poliqarpdocumentreader.cpp             |  15 ++
 libcorpus2_whole/io/poliqarpdocumentreader.h  |  16 ++
 libcorpus2_whole/io/reader_i.h                |  16 ++
 libcorpus2_whole/io/relreader.cpp             |   4 +-
 libcorpus2_whole/io/relreader.h               |   4 +-
 libcorpus2_whole/relation.cpp                 |   4 +-
 libcorpus2_whole/relation.h                   |   4 +-
 libpwrutils/bitset.h                          |   4 +-
 libpwrutils/exception.cpp                     |   4 +-
 libpwrutils/exception.h                       |   4 +-
 libpwrutils/foreach.h                         |   4 +-
 libpwrutils/pathsearch.cpp                    |   4 +-
 libpwrutils/pathsearch.h                      |   4 +-
 libpwrutils/plugin.cpp                        |  14 ++
 libpwrutils/plugin.h                          |  15 ++
 libpwrutils/plural.cpp                        |   4 +-
 libpwrutils/plural.h                          |   4 +-
 libpwrutils/sentence.h                        |   4 +-
 libpwrutils/tokensource.h                     |   4 +-
 libpwrutils/typedefs_includes.in.h            |   4 +-
 libpwrutils/typedefs_typedefs.in.h            |   4 +-
 libpwrutils/util.cpp                          |   4 +-
 libpwrutils/util.h                            |   4 +-
 libpwrutils/whitespace.cpp                    |   4 +-
 libpwrutils/whitespace.h                      |   4 +-
 poliqarp/c2pqtest.cpp                         |  16 ++
 poliqarp/pqclient.cpp                         |  15 ++
 poliqarp/pqclient.h                           |  15 ++
 poliqarp/pqreader.cpp                         |  15 ++
 poliqarp/pqreader.h                           |  15 ++
 tests/ann_basic.cpp                           |   4 +-
 tests/basic.cpp                               |   6 +-
 tests/io.cpp                                  |   4 +-
 tests/ioann.cpp                               |   4 +-
 tests/main.cpp                                |   6 +-
 tests/tag_split.cpp                           |   6 +-
 tests/tagset_parse.cpp                        |   6 +-
 tests/tokenmetadata.cpp                       |   5 +-
 utils/chunk_eval.py                           |  12 ++
 utils/corpspace.py                            |  12 ++
 utils/corptext.py                             |  13 ++
 utils/get_held_out.pl                         |  12 ++
 utils/parfolds.py                             |  13 ++
 utils/relation_eval.py                        |  17 ++
 utils/split.pl                                |  12 ++
 utils/swapchans.pl                            |  12 ++
 utils/tagger-eval.py                          |  12 ++
 153 files changed, 1222 insertions(+), 218 deletions(-)
 create mode 100644 COPYING.LESSER
 create mode 100644 LICENSE.CORPUS2
 rename LICENSE => LICENSE.POLIQARP (82%)

diff --git a/COPYING.LESSER b/COPYING.LESSER
new file mode 100644
index 0000000..341c30b
--- /dev/null
+++ b/COPYING.LESSER
@@ -0,0 +1,166 @@
+                   GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+  This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+  0. Additional Definitions.
+
+  As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+  "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+  An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+  A "Combined Work" is a work produced by combining or linking an
+Application with the Library.  The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+  The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+  The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+  1. Exception to Section 3 of the GNU GPL.
+
+  You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+  2. Conveying Modified Versions.
+
+  If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+   a) under this License, provided that you make a good faith effort to
+   ensure that, in the event an Application does not supply the
+   function or data, the facility still operates, and performs
+   whatever part of its purpose remains meaningful, or
+
+   b) under the GNU GPL, with none of the additional permissions of
+   this License applicable to that copy.
+
+  3. Object Code Incorporating Material from Library Header Files.
+
+  The object code form of an Application may incorporate material from
+a header file that is part of the Library.  You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+   a) Give prominent notice with each copy of the object code that the
+   Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the object code with a copy of the GNU GPL and this license
+   document.
+
+  4. Combined Works.
+
+  You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+   a) Give prominent notice with each copy of the Combined Work that
+   the Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the Combined Work with a copy of the GNU GPL and this license
+   document.
+
+   c) For a Combined Work that displays copyright notices during
+   execution, include the copyright notice for the Library among
+   these notices, as well as a reference directing the user to the
+   copies of the GNU GPL and this license document.
+
+   d) Do one of the following:
+
+       0) Convey the Minimal Corresponding Source under the terms of this
+       License, and the Corresponding Application Code in a form
+       suitable for, and under terms that permit, the user to
+       recombine or relink the Application with a modified version of
+       the Linked Version to produce a modified Combined Work, in the
+       manner specified by section 6 of the GNU GPL for conveying
+       Corresponding Source.
+
+       1) Use a suitable shared library mechanism for linking with the
+       Library.  A suitable mechanism is one that (a) uses at run time
+       a copy of the Library already present on the user's computer
+       system, and (b) will operate properly with a modified version
+       of the Library that is interface-compatible with the Linked
+       Version.
+
+   e) Provide Installation Information, but only if you would otherwise
+   be required to provide such information under section 6 of the
+   GNU GPL, and only to the extent that such information is
+   necessary to install and execute a modified version of the
+   Combined Work produced by recombining or relinking the
+   Application with a modified version of the Linked Version. (If
+   you use option 4d0, the Installation Information must accompany
+   the Minimal Corresponding Source and Corresponding Application
+   Code. If you use option 4d1, you must provide the Installation
+   Information in the manner specified by section 6 of the GNU GPL
+   for conveying Corresponding Source.)
+
+  5. Combined Libraries.
+
+  You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+   a) Accompany the combined library with a copy of the same work based
+   on the Library, uncombined with any other library facilities,
+   conveyed under the terms of this License.
+
+   b) Give prominent notice with the combined library that part of it
+   is a work based on the Library, and explaining where to find the
+   accompanying uncombined form of the same work.
+
+  6. Revised Versions of the GNU Lesser General Public License.
+
+  The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+  Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+  If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
diff --git a/LICENSE.CORPUS2 b/LICENSE.CORPUS2
new file mode 100644
index 0000000..0d38d8e
--- /dev/null
+++ b/LICENSE.CORPUS2
@@ -0,0 +1,27 @@
+Corpus2 includes libpwrutils, libcorpus2, libcorpus2_whole and optionally poliqarp library
+which makes Corpus2 have dual licensing - GNU LGPL or GNU GPL.
+
+Corpus2 WITHOUT poliqarp library is released under GNU LGPL:
+
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
+more details.
+
+    You should have received a copy of the GNU Lesser General Public License along
+with this program; if not, see <http://www.gnu.org/licenses>.
+
+    Additional permission under GNU GPL version 3 section 7
+
+    If you modify this Program, or any covered work, by linking or combining
+it with Morfeusz (or a modified version of that library),
+containing parts covered by the terms of the Morfeusz license, the
+licensors of this Program grant you additional permission to convey the
+resulting work. 
diff --git a/LICENSE b/LICENSE.POLIQARP
similarity index 82%
rename from LICENSE
rename to LICENSE.POLIQARP
index 596d24b..2baf50b 100644
--- a/LICENSE
+++ b/LICENSE.POLIQARP
@@ -1,3 +1,8 @@
+Corpus2 includes libpwrutils, libcorpus2, libcorpus2_whole and optionally poliqarp library
+which makes Corpus2 have dual licensing - GNU LGPL or GNU GPL.
+
+Corpus2 WITH poliqarp library is released under GNU GPL:
+
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
diff --git a/LICENSE.in b/LICENSE.in
index ae27351..be7e612 100644
--- a/LICENSE.in
+++ b/LICENSE.in
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
diff --git a/libcorpus2/ann/annotatedsentence.cpp b/libcorpus2/ann/annotatedsentence.cpp
index 097fe4e..d37958c 100644
--- a/libcorpus2/ann/annotatedsentence.cpp
+++ b/libcorpus2/ann/annotatedsentence.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/ann/annotatedsentence.h>
 #include <libcorpus2/ann/view.h>
 #include <boost/make_shared.hpp>
diff --git a/libcorpus2/ann/annotatedsentence.h b/libcorpus2/ann/annotatedsentence.h
index d186248..65b3a03 100644
--- a/libcorpus2/ann/annotatedsentence.h
+++ b/libcorpus2/ann/annotatedsentence.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_ANN_ANNOTATEDSENTENCE_H
 #define LIBCORPUS2_ANN_ANNOTATEDSENTENCE_H
 
diff --git a/libcorpus2/ann/channel.cpp b/libcorpus2/ann/channel.cpp
index c8be177..2ae9e4e 100644
--- a/libcorpus2/ann/channel.cpp
+++ b/libcorpus2/ann/channel.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/ann/channel.h>
 #include <libpwrutils/foreach.h>
 #include <algorithm>
diff --git a/libcorpus2/ann/channel.h b/libcorpus2/ann/channel.h
index d0ba721..fe955ce 100644
--- a/libcorpus2/ann/channel.h
+++ b/libcorpus2/ann/channel.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_ANN_CHANNEL_H
 #define LIBCORPUS2_ANN_CHANNEL_H
 
diff --git a/libcorpus2/ann/iob.cpp b/libcorpus2/ann/iob.cpp
index ef44b49..cf1e568 100644
--- a/libcorpus2/ann/iob.cpp
+++ b/libcorpus2/ann/iob.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/ann/iob.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/ann/iob.h b/libcorpus2/ann/iob.h
index 7be4086..dd11e00 100644
--- a/libcorpus2/ann/iob.h
+++ b/libcorpus2/ann/iob.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_ANN_IOB_H
 #define LIBCORPUS2_ANN_IOB_H
 
diff --git a/libcorpus2/ann/view.cpp b/libcorpus2/ann/view.cpp
index ac06b1e..f579b65 100644
--- a/libcorpus2/ann/view.cpp
+++ b/libcorpus2/ann/view.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/ann/view.h>
 #include <libcorpus2/ann/annotatedsentence.h>
 #include <boost/make_shared.hpp>
diff --git a/libcorpus2/ann/view.h b/libcorpus2/ann/view.h
index 45e75fe..144ab7e 100644
--- a/libcorpus2/ann/view.h
+++ b/libcorpus2/ann/view.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_ANN_VIEW_H
 #define LIBCORPUS2_ANN_VIEW_H
 
diff --git a/libcorpus2/chunk.cpp b/libcorpus2/chunk.cpp
index 5994145..cc71040 100644
--- a/libcorpus2/chunk.cpp
+++ b/libcorpus2/chunk.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/chunk.h>
diff --git a/libcorpus2/chunk.h b/libcorpus2/chunk.h
index c1c8f70..a97f113 100644
--- a/libcorpus2/chunk.h
+++ b/libcorpus2/chunk.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_CHUNK_H
diff --git a/libcorpus2/exception.cpp b/libcorpus2/exception.cpp
index 75785da..608c848 100644
--- a/libcorpus2/exception.cpp
+++ b/libcorpus2/exception.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/exception.h>
diff --git a/libcorpus2/exception.h b/libcorpus2/exception.h
index 7e22a9e..f8a5ee8 100644
--- a/libcorpus2/exception.h
+++ b/libcorpus2/exception.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_EXCEPTION_H
diff --git a/libcorpus2/io/cclreader.cpp b/libcorpus2/io/cclreader.cpp
index 312c480..0aa71c7 100644
--- a/libcorpus2/io/cclreader.cpp
+++ b/libcorpus2/io/cclreader.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/cclreader.h>
diff --git a/libcorpus2/io/cclreader.h b/libcorpus2/io/cclreader.h
index 59c8e8b..6b9265c 100644
--- a/libcorpus2/io/cclreader.h
+++ b/libcorpus2/io/cclreader.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_CCLREADER_H
diff --git a/libcorpus2/io/cclwriter.cpp b/libcorpus2/io/cclwriter.cpp
index b5ecf86..d559904 100644
--- a/libcorpus2/io/cclwriter.cpp
+++ b/libcorpus2/io/cclwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/cclwriter.h>
 #include <libpwrutils/foreach.h>
 #include <libcorpus2/ann/annotatedsentence.h>
diff --git a/libcorpus2/io/cclwriter.h b/libcorpus2/io/cclwriter.h
index b3bf42b..5306aae 100644
--- a/libcorpus2/io/cclwriter.h
+++ b/libcorpus2/io/cclwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_CCLWRITER_H
 #define LIBCORPUS2_IO_CCLWRITER_H
 
diff --git a/libcorpus2/io/conllwriter.cpp b/libcorpus2/io/conllwriter.cpp
index eea52b3..ac6e594 100644
--- a/libcorpus2/io/conllwriter.cpp
+++ b/libcorpus2/io/conllwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include "conllwriter.h"
 #include <libpwrutils/foreach.h>
 #include <boost/algorithm/string.hpp>
diff --git a/libcorpus2/io/conllwriter.h b/libcorpus2/io/conllwriter.h
index b16e4c0..36ca2e1 100644
--- a/libcorpus2/io/conllwriter.h
+++ b/libcorpus2/io/conllwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef CONLLWRITER_H
 #define CONLLWRITER_H
 
diff --git a/libcorpus2/io/fastxces.cpp b/libcorpus2/io/fastxces.cpp
index f2e0f30..0e2d0fa 100644
--- a/libcorpus2/io/fastxces.cpp
+++ b/libcorpus2/io/fastxces.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/fastxces.h>
 #include <boost/make_shared.hpp>
 #include <boost/regex.hpp>
diff --git a/libcorpus2/io/fastxces.h b/libcorpus2/io/fastxces.h
index 365ad09..10b39bd 100644
--- a/libcorpus2/io/fastxces.h
+++ b/libcorpus2/io/fastxces.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_FASTXCES_H
 #define LIBCORPUS2_IO_FASTXCES_H
 
diff --git a/libcorpus2/io/helpers.cpp b/libcorpus2/io/helpers.cpp
index 9aac878..8ebdf85 100644
--- a/libcorpus2/io/helpers.cpp
+++ b/libcorpus2/io/helpers.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/helpers.h>
 #include <libcorpus2/io/reader.h>
 #include <sstream>
diff --git a/libcorpus2/io/helpers.h b/libcorpus2/io/helpers.h
index 92d8a89..c61a904 100644
--- a/libcorpus2/io/helpers.h
+++ b/libcorpus2/io/helpers.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_HELPERS_H
 #define LIBCORPUS2_IO_HELPERS_H
 
diff --git a/libcorpus2/io/iob-chan.cpp b/libcorpus2/io/iob-chan.cpp
index c7b3ab4..5a30a16 100644
--- a/libcorpus2/io/iob-chan.cpp
+++ b/libcorpus2/io/iob-chan.cpp
@@ -1,17 +1,17 @@
 /*
-	Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
-	Part of the libcorpus2 project
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
 
-	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
-	This program is distributed in the hope that it will be useful, but
+    This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.
+or FITNESS FOR A PARTICULAR PURPOSE. 
 
-	See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/iob-chan.h>
diff --git a/libcorpus2/io/iob-chan.h b/libcorpus2/io/iob-chan.h
index 378e850..d1e9e2f 100644
--- a/libcorpus2/io/iob-chan.h
+++ b/libcorpus2/io/iob-chan.h
@@ -1,17 +1,17 @@
 /*
-	Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
-	Part of the libcorpus2 project
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
 
-	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
-	This program is distributed in the hope that it will be useful, but
+    This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.
+or FITNESS FOR A PARTICULAR PURPOSE. 
 
-	See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBSORPUS2_IO_IOB_CHAN_H
diff --git a/libcorpus2/io/nonewriter.cpp b/libcorpus2/io/nonewriter.cpp
index 2aaf4ee..38610e8 100644
--- a/libcorpus2/io/nonewriter.cpp
+++ b/libcorpus2/io/nonewriter.cpp
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
 #include <libcorpus2/io/nonewriter.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/io/nonewriter.h b/libcorpus2/io/nonewriter.h
index 8d6a719..5d9f81a 100644
--- a/libcorpus2/io/nonewriter.h
+++ b/libcorpus2/io/nonewriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_NONEWRITER_H
 #define LIBCORPUS2_IO_NONEWRITER_H
 
diff --git a/libcorpus2/io/orthwriter.cpp b/libcorpus2/io/orthwriter.cpp
index 11393a8..0b5806a 100644
--- a/libcorpus2/io/orthwriter.cpp
+++ b/libcorpus2/io/orthwriter.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/orthwriter.h>
diff --git a/libcorpus2/io/orthwriter.h b/libcorpus2/io/orthwriter.h
index f002e51..ec518e4 100644
--- a/libcorpus2/io/orthwriter.h
+++ b/libcorpus2/io/orthwriter.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_ORTHWRITER_H
diff --git a/libcorpus2/io/pathwriter.cpp b/libcorpus2/io/pathwriter.cpp
index a1abcda..b5a3a49 100644
--- a/libcorpus2/io/pathwriter.cpp
+++ b/libcorpus2/io/pathwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/pathwriter.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2/io/pathwriter.h b/libcorpus2/io/pathwriter.h
index 1f9bcc8..c9d0af7 100644
--- a/libcorpus2/io/pathwriter.h
+++ b/libcorpus2/io/pathwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_PATHWRITER_H
 #define LIBCORPUS2_IO_PATHWRITER_H
 
diff --git a/libcorpus2/io/plainreader.cpp b/libcorpus2/io/plainreader.cpp
index 2d322cf..28c6850 100644
--- a/libcorpus2/io/plainreader.cpp
+++ b/libcorpus2/io/plainreader.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/plainreader.h>
 #include <libpwrutils/foreach.h>
 
diff --git a/libcorpus2/io/plainreader.h b/libcorpus2/io/plainreader.h
index c17cb9e..9304b01 100644
--- a/libcorpus2/io/plainreader.h
+++ b/libcorpus2/io/plainreader.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_PLAINREADER_H
 #define LIBCORPUS2_IO_PLAINREADER_H
 
diff --git a/libcorpus2/io/plainwriter.cpp b/libcorpus2/io/plainwriter.cpp
index 7ab72e7..f75a52f 100644
--- a/libcorpus2/io/plainwriter.cpp
+++ b/libcorpus2/io/plainwriter.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/plainwriter.h>
diff --git a/libcorpus2/io/plainwriter.h b/libcorpus2/io/plainwriter.h
index 2a852be..f97353d 100644
--- a/libcorpus2/io/plainwriter.h
+++ b/libcorpus2/io/plainwriter.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_PLAIN_H
diff --git a/libcorpus2/io/premorphwriter.cpp b/libcorpus2/io/premorphwriter.cpp
index b1d39a4..6a551aa 100644
--- a/libcorpus2/io/premorphwriter.cpp
+++ b/libcorpus2/io/premorphwriter.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/premorphwriter.h>
diff --git a/libcorpus2/io/premorphwriter.h b/libcorpus2/io/premorphwriter.h
index 0e1a6b8..b16ea40 100644
--- a/libcorpus2/io/premorphwriter.h
+++ b/libcorpus2/io/premorphwriter.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_PREMORPHWRITER_H
diff --git a/libcorpus2/io/reader.cpp b/libcorpus2/io/reader.cpp
index b3b12ac..211a85a 100644
--- a/libcorpus2/io/reader.cpp
+++ b/libcorpus2/io/reader.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/reader.h>
diff --git a/libcorpus2/io/reader.h b/libcorpus2/io/reader.h
index e9d01f6..562a830 100644
--- a/libcorpus2/io/reader.h
+++ b/libcorpus2/io/reader.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_READER_H
diff --git a/libcorpus2/io/rft.cpp b/libcorpus2/io/rft.cpp
index d7366c3..bc3ad0b 100644
--- a/libcorpus2/io/rft.cpp
+++ b/libcorpus2/io/rft.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/rft.h>
diff --git a/libcorpus2/io/rft.h b/libcorpus2/io/rft.h
index b87b5dd..83e24c4 100644
--- a/libcorpus2/io/rft.h
+++ b/libcorpus2/io/rft.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_RFT_H
diff --git a/libcorpus2/io/sax.cpp b/libcorpus2/io/sax.cpp
index 6973714..6d17578 100644
--- a/libcorpus2/io/sax.cpp
+++ b/libcorpus2/io/sax.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/sax.h>
diff --git a/libcorpus2/io/sax.h b/libcorpus2/io/sax.h
index 75317cb..6535c7f 100644
--- a/libcorpus2/io/sax.h
+++ b/libcorpus2/io/sax.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_SAX_H
diff --git a/libcorpus2/io/statwriter.cpp b/libcorpus2/io/statwriter.cpp
index b77fbf7..36d8215 100644
--- a/libcorpus2/io/statwriter.cpp
+++ b/libcorpus2/io/statwriter.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/io/statwriter.h>
 #include <libcorpus2/ann/annotatedsentence.h>
 #include <iomanip>
diff --git a/libcorpus2/io/statwriter.h b/libcorpus2/io/statwriter.h
index a022b9f..92c2a56 100644
--- a/libcorpus2/io/statwriter.h
+++ b/libcorpus2/io/statwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_STATWRITER_H
 #define LIBCORPUS2_IO_STATWRITER_H
 
diff --git a/libcorpus2/io/writer.cpp b/libcorpus2/io/writer.cpp
index 4315343..166ae62 100644
--- a/libcorpus2/io/writer.cpp
+++ b/libcorpus2/io/writer.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/writer.h>
diff --git a/libcorpus2/io/writer.h b/libcorpus2/io/writer.h
index ae9b2cd..9e8978e 100644
--- a/libcorpus2/io/writer.h
+++ b/libcorpus2/io/writer.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_WRITER_H
diff --git a/libcorpus2/io/xces.cpp b/libcorpus2/io/xces.cpp
index bd780c0..4baacb6 100644
--- a/libcorpus2/io/xces.cpp
+++ b/libcorpus2/io/xces.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xces.h>
diff --git a/libcorpus2/io/xces.h b/libcorpus2/io/xces.h
index 66bddb1..cef0339 100644
--- a/libcorpus2/io/xces.h
+++ b/libcorpus2/io/xces.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XCES_H
diff --git a/libcorpus2/io/xcescommon.cpp b/libcorpus2/io/xcescommon.cpp
index 52edd59..3aea587 100644
--- a/libcorpus2/io/xcescommon.cpp
+++ b/libcorpus2/io/xcescommon.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xcescommon.h>
diff --git a/libcorpus2/io/xcescommon.h b/libcorpus2/io/xcescommon.h
index 204e272..e30e535 100644
--- a/libcorpus2/io/xcescommon.h
+++ b/libcorpus2/io/xcescommon.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XCESCOMMON_H
diff --git a/libcorpus2/io/xcesreader.cpp b/libcorpus2/io/xcesreader.cpp
index 6db3428..87bfbd7 100644
--- a/libcorpus2/io/xcesreader.cpp
+++ b/libcorpus2/io/xcesreader.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xcesreader.h>
diff --git a/libcorpus2/io/xcesreader.h b/libcorpus2/io/xcesreader.h
index f1a2253..ff3e745 100644
--- a/libcorpus2/io/xcesreader.h
+++ b/libcorpus2/io/xcesreader.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XCESREADER_H
diff --git a/libcorpus2/io/xcesvalidate.cpp b/libcorpus2/io/xcesvalidate.cpp
index 8c47bfd..818fe0a 100644
--- a/libcorpus2/io/xcesvalidate.cpp
+++ b/libcorpus2/io/xcesvalidate.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xcesvalidate.h>
diff --git a/libcorpus2/io/xcesvalidate.h b/libcorpus2/io/xcesvalidate.h
index f85bce7..634f7d5 100644
--- a/libcorpus2/io/xcesvalidate.h
+++ b/libcorpus2/io/xcesvalidate.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XCESVALIDATE_H
diff --git a/libcorpus2/io/xceswriter.cpp b/libcorpus2/io/xceswriter.cpp
index bf1cd78..afb01ec 100644
--- a/libcorpus2/io/xceswriter.cpp
+++ b/libcorpus2/io/xceswriter.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xcescommon.h>
diff --git a/libcorpus2/io/xceswriter.h b/libcorpus2/io/xceswriter.h
index a9c6634..01a03da 100644
--- a/libcorpus2/io/xceswriter.h
+++ b/libcorpus2/io/xceswriter.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XCESWRITER_H
diff --git a/libcorpus2/io/xmlreader.cpp b/libcorpus2/io/xmlreader.cpp
index 773eb85..3aa6917 100644
--- a/libcorpus2/io/xmlreader.cpp
+++ b/libcorpus2/io/xmlreader.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xmlreader.h>
diff --git a/libcorpus2/io/xmlreader.h b/libcorpus2/io/xmlreader.h
index 8ba0201..7e7f8ea 100644
--- a/libcorpus2/io/xmlreader.h
+++ b/libcorpus2/io/xmlreader.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_IO_XMLREADER_H
diff --git a/libcorpus2/io/xmlwriter.cpp b/libcorpus2/io/xmlwriter.cpp
index e540073..8f41c2b 100644
--- a/libcorpus2/io/xmlwriter.cpp
+++ b/libcorpus2/io/xmlwriter.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/io/xcescommon.h>
diff --git a/libcorpus2/io/xmlwriter.h b/libcorpus2/io/xmlwriter.h
index b8f7ccf..91ef6a5 100644
--- a/libcorpus2/io/xmlwriter.h
+++ b/libcorpus2/io/xmlwriter.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_IO_XMLWRITER_H
 #define LIBCORPUS2_IO_XMLWRITER_H
 
diff --git a/libcorpus2/lexeme.cpp b/libcorpus2/lexeme.cpp
index d5370ed..b6b6650 100644
--- a/libcorpus2/lexeme.cpp
+++ b/libcorpus2/lexeme.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/lexeme.h>
diff --git a/libcorpus2/lexeme.h b/libcorpus2/lexeme.h
index 4c0119a..2ba90d6 100644
--- a/libcorpus2/lexeme.h
+++ b/libcorpus2/lexeme.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_LEXEME_H
diff --git a/libcorpus2/sentence.cpp b/libcorpus2/sentence.cpp
index aaacf62..10b3b7d 100644
--- a/libcorpus2/sentence.cpp
+++ b/libcorpus2/sentence.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/sentence.h>
diff --git a/libcorpus2/sentence.h b/libcorpus2/sentence.h
index 5c465e4..d182fda 100644
--- a/libcorpus2/sentence.h
+++ b/libcorpus2/sentence.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_SENTENCE_H
diff --git a/libcorpus2/tag.cpp b/libcorpus2/tag.cpp
index fc263d3..81a7a9a 100644
--- a/libcorpus2/tag.cpp
+++ b/libcorpus2/tag.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/tag.h>
diff --git a/libcorpus2/tag.h b/libcorpus2/tag.h
index d2e6155..9d3d1ff 100644
--- a/libcorpus2/tag.h
+++ b/libcorpus2/tag.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TAG_H
diff --git a/libcorpus2/tagging.cpp b/libcorpus2/tagging.cpp
index ffcfdd0..9b65484 100644
--- a/libcorpus2/tagging.cpp
+++ b/libcorpus2/tagging.cpp
@@ -1,17 +1,17 @@
 /*
-	Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
-	Part of the libcorpus2 project
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
 
-	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
-	This program is distributed in the hope that it will be useful, but
+    This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.
+or FITNESS FOR A PARTICULAR PURPOSE. 
 
-	See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/tagging.h>
diff --git a/libcorpus2/tagging.h b/libcorpus2/tagging.h
index 6d65211..4beaba5 100644
--- a/libcorpus2/tagging.h
+++ b/libcorpus2/tagging.h
@@ -1,17 +1,17 @@
 /*
-	Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
-	Part of the libcorpus2 project
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
 
-	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
-	This program is distributed in the hope that it will be useful, but
+    This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE.
+or FITNESS FOR A PARTICULAR PURPOSE. 
 
-	See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TAGGING_H
diff --git a/libcorpus2/tagset.cpp b/libcorpus2/tagset.cpp
index ab47816..4ec7b82 100644
--- a/libcorpus2/tagset.cpp
+++ b/libcorpus2/tagset.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/exception.h>
diff --git a/libcorpus2/tagset.h b/libcorpus2/tagset.h
index 821ec9a..18151c6 100644
--- a/libcorpus2/tagset.h
+++ b/libcorpus2/tagset.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TAGSET_H
diff --git a/libcorpus2/tagsetmanager.cpp b/libcorpus2/tagsetmanager.cpp
index 610234f..0f3fe43 100644
--- a/libcorpus2/tagsetmanager.cpp
+++ b/libcorpus2/tagsetmanager.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/tagsetmanager.h>
diff --git a/libcorpus2/tagsetmanager.h b/libcorpus2/tagsetmanager.h
index a5dc064..c5576e5 100644
--- a/libcorpus2/tagsetmanager.h
+++ b/libcorpus2/tagsetmanager.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TAGSETMANAGER_H
diff --git a/libcorpus2/tagsetparser.cpp b/libcorpus2/tagsetparser.cpp
index 0e37c3c..0c3b16c 100644
--- a/libcorpus2/tagsetparser.cpp
+++ b/libcorpus2/tagsetparser.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/tagsetparser.h>
diff --git a/libcorpus2/tagsetparser.h b/libcorpus2/tagsetparser.h
index 9dc0792..11822a6 100644
--- a/libcorpus2/tagsetparser.h
+++ b/libcorpus2/tagsetparser.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TAGSETPARSER_H
diff --git a/libcorpus2/token.cpp b/libcorpus2/token.cpp
index 5438c4b..63352b7 100644
--- a/libcorpus2/token.cpp
+++ b/libcorpus2/token.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/token.h>
diff --git a/libcorpus2/token.h b/libcorpus2/token.h
index 5c992a5..f40e668 100644
--- a/libcorpus2/token.h
+++ b/libcorpus2/token.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TOKEN_H
diff --git a/libcorpus2/tokenmetadata.cpp b/libcorpus2/tokenmetadata.cpp
index 88ae6de..41ce6b8 100644
--- a/libcorpus2/tokenmetadata.cpp
+++ b/libcorpus2/tokenmetadata.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/tokenmetadata.h>
diff --git a/libcorpus2/tokenmetadata.h b/libcorpus2/tokenmetadata.h
index fb367a6..da28c11 100644
--- a/libcorpus2/tokenmetadata.h
+++ b/libcorpus2/tokenmetadata.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TOKENMETADATA_H
diff --git a/libcorpus2/tokensource.h b/libcorpus2/tokensource.h
index 3bfbd2d..fccb380 100644
--- a/libcorpus2/tokensource.h
+++ b/libcorpus2/tokensource.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TOKEN_SOURCE_H
diff --git a/libcorpus2/typedefs.h b/libcorpus2/typedefs.h
index f4afbec..2c549d9 100644
--- a/libcorpus2/typedefs.h
+++ b/libcorpus2/typedefs.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_TYPEDEFS_H
diff --git a/libcorpus2/util/ioformat-options.cpp b/libcorpus2/util/ioformat-options.cpp
index 0ed6ccf..0c1c360 100644
--- a/libcorpus2/util/ioformat-options.cpp
+++ b/libcorpus2/util/ioformat-options.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #include <libcorpus2/util/ioformat-options.h>
 #include <boost/algorithm/string/join.hpp>
 
diff --git a/libcorpus2/util/ioformat-options.h b/libcorpus2/util/ioformat-options.h
index cab0054..6cb717c 100644
--- a/libcorpus2/util/ioformat-options.h
+++ b/libcorpus2/util/ioformat-options.h
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBSORPUS2_UTIL_IOFORMAT_OPTIONS_H
 #define LIBCORPUS2_UTIL_IOFORMAT_OPTIONS_H
 
diff --git a/libcorpus2/util/settings.cpp b/libcorpus2/util/settings.cpp
index 9ee485b..3ee9ba9 100644
--- a/libcorpus2/util/settings.cpp
+++ b/libcorpus2/util/settings.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/util/settings.h>
diff --git a/libcorpus2/util/settings.h b/libcorpus2/util/settings.h
index 1dd5772..2328192 100644
--- a/libcorpus2/util/settings.h
+++ b/libcorpus2/util/settings.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_SETTINGS_H
diff --git a/libcorpus2/util/symboldictionary.cpp b/libcorpus2/util/symboldictionary.cpp
index 92716e4..f3bd9c6 100644
--- a/libcorpus2/util/symboldictionary.cpp
+++ b/libcorpus2/util/symboldictionary.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/util/symboldictionary.h>
diff --git a/libcorpus2/util/symboldictionary.h b/libcorpus2/util/symboldictionary.h
index c1eaf8a..5258a73 100644
--- a/libcorpus2/util/symboldictionary.h
+++ b/libcorpus2/util/symboldictionary.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_SYMBOLDICTIONARY_H
diff --git a/libcorpus2/util/tokentimer.cpp b/libcorpus2/util/tokentimer.cpp
index cf38bf1..cf1767f 100644
--- a/libcorpus2/util/tokentimer.cpp
+++ b/libcorpus2/util/tokentimer.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2/util/tokentimer.h>
diff --git a/libcorpus2/util/tokentimer.h b/libcorpus2/util/tokentimer.h
index 4a51831..de70305 100644
--- a/libcorpus2/util/tokentimer.h
+++ b/libcorpus2/util/tokentimer.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_UTIL_TOKENTIMER_H
diff --git a/libcorpus2_whole/corpus.cpp b/libcorpus2_whole/corpus.cpp
index 00fb0ff..2b96cd8 100644
--- a/libcorpus2_whole/corpus.cpp
+++ b/libcorpus2_whole/corpus.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2_whole/corpus.h>
diff --git a/libcorpus2_whole/corpus.h b/libcorpus2_whole/corpus.h
index 225018c..b0d2ae8 100644
--- a/libcorpus2_whole/corpus.h
+++ b/libcorpus2_whole/corpus.h
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_WHOLE_CORPUS_H
diff --git a/libcorpus2_whole/document.cpp b/libcorpus2_whole/document.cpp
index 9b391b8..bd01f1a 100644
--- a/libcorpus2_whole/document.cpp
+++ b/libcorpus2_whole/document.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libcorpus2_whole/document.h>
diff --git a/libcorpus2_whole/document.h b/libcorpus2_whole/document.h
index d02a043..bfef70d 100644
--- a/libcorpus2_whole/document.h
+++ b/libcorpus2_whole/document.h
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_WHOLE_DOCUMENT_H
diff --git a/libcorpus2_whole/io/cclrelreader.cpp b/libcorpus2_whole/io/cclrelreader.cpp
index ae69a8b..9072f2b 100644
--- a/libcorpus2_whole/io/cclrelreader.cpp
+++ b/libcorpus2_whole/io/cclrelreader.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/make_shared.hpp>
diff --git a/libcorpus2_whole/io/cclrelreader.h b/libcorpus2_whole/io/cclrelreader.h
index cd19f68..c810ae2 100644
--- a/libcorpus2_whole/io/cclrelreader.h
+++ b/libcorpus2_whole/io/cclrelreader.h
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_WHOLE_DOCREADER_H
diff --git a/libcorpus2_whole/io/corpusreader.cpp b/libcorpus2_whole/io/corpusreader.cpp
index bbe0154..4d4da1b 100644
--- a/libcorpus2_whole/io/corpusreader.cpp
+++ b/libcorpus2_whole/io/corpusreader.cpp
@@ -1,3 +1,18 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
 #include <libcorpus2_whole/io/corpusreader.h>
 #include <libcorpus2_whole/io/documentcorpusreader.h>
 
diff --git a/libcorpus2_whole/io/corpusreader.h b/libcorpus2_whole/io/corpusreader.h
index 4308b35..b0af6ea 100644
--- a/libcorpus2_whole/io/corpusreader.h
+++ b/libcorpus2_whole/io/corpusreader.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_WHOLE_CORPUSREADER_H
 #define LIBCORPUS2_WHOLE_CORPUSREADER_H
 
diff --git a/libcorpus2_whole/io/documentcorpusreader.cpp b/libcorpus2_whole/io/documentcorpusreader.cpp
index 4a7b0d8..64d0e48 100644
--- a/libcorpus2_whole/io/documentcorpusreader.cpp
+++ b/libcorpus2_whole/io/documentcorpusreader.cpp
@@ -1,3 +1,18 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
 #include <fstream>
 #include <boost/algorithm/string.hpp>
 
diff --git a/libcorpus2_whole/io/documentcorpusreader.h b/libcorpus2_whole/io/documentcorpusreader.h
index 642639a..99c5542 100644
--- a/libcorpus2_whole/io/documentcorpusreader.h
+++ b/libcorpus2_whole/io/documentcorpusreader.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_WHOLE_DOCUMENTCORPUSREADER_H
 #define LIBCORPUS2_WHOLE_DOCUMENTCORPUSREADER_H
 
diff --git a/libcorpus2_whole/io/documentreader.cpp b/libcorpus2_whole/io/documentreader.cpp
index 73db0d3..dcdf4f0 100644
--- a/libcorpus2_whole/io/documentreader.cpp
+++ b/libcorpus2_whole/io/documentreader.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 #include <boost/algorithm/string.hpp>
 #include <libcorpus2_whole/io/documentreader.h>
diff --git a/libcorpus2_whole/io/documentreader.h b/libcorpus2_whole/io/documentreader.h
index 760fd67..9dda867 100644
--- a/libcorpus2_whole/io/documentreader.h
+++ b/libcorpus2_whole/io/documentreader.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_WHOLE_DOCUMENTREADER_H
 #define LIBCORPUS2_WHOLE_DOCUMENTREADER_H
 #include <fstream>
diff --git a/libcorpus2_whole/io/poliqarpcorpusreader.cpp b/libcorpus2_whole/io/poliqarpcorpusreader.cpp
index acc6e36..49525e9 100644
--- a/libcorpus2_whole/io/poliqarpcorpusreader.cpp
+++ b/libcorpus2_whole/io/poliqarpcorpusreader.cpp
@@ -1,3 +1,18 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
 #include <libcorpus2_whole/io/poliqarpcorpusreader.h>
 
 namespace Corpus2 {
diff --git a/libcorpus2_whole/io/poliqarpcorpusreader.h b/libcorpus2_whole/io/poliqarpcorpusreader.h
index c5134b3..997303a 100644
--- a/libcorpus2_whole/io/poliqarpcorpusreader.h
+++ b/libcorpus2_whole/io/poliqarpcorpusreader.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_WHOLE_POLIQARPCORPUSREADER_H
 #define LIBCORPUS2_WHOLE_POLIQARPCORPUSREADER_H
 
diff --git a/libcorpus2_whole/io/poliqarpdocumentreader.cpp b/libcorpus2_whole/io/poliqarpdocumentreader.cpp
index a2d0644..4971d00 100644
--- a/libcorpus2_whole/io/poliqarpdocumentreader.cpp
+++ b/libcorpus2_whole/io/poliqarpdocumentreader.cpp
@@ -1,3 +1,18 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
 #include <libcorpus2_whole/io/poliqarpdocumentreader.h>
 #include <boost/scoped_ptr.hpp>
 
diff --git a/libcorpus2_whole/io/poliqarpdocumentreader.h b/libcorpus2_whole/io/poliqarpdocumentreader.h
index 70cb046..a25859e 100644
--- a/libcorpus2_whole/io/poliqarpdocumentreader.h
+++ b/libcorpus2_whole/io/poliqarpdocumentreader.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBCORPUS2_WHOLE_POLIQARPDOCUMENTREADER_H
 #define LIBCORPUS2_WHOLE_POLIQARPDOCUMENTREADER_H
 
diff --git a/libcorpus2_whole/io/reader_i.h b/libcorpus2_whole/io/reader_i.h
index e3ba688..35dd23c 100644
--- a/libcorpus2_whole/io/reader_i.h
+++ b/libcorpus2_whole/io/reader_i.h
@@ -1,3 +1,19 @@
+/*
+	Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
+	Part of the libcorpus2 project
+
+	This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+	This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE.
+
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef READERI_H
 #define READERI_H
 
diff --git a/libcorpus2_whole/io/relreader.cpp b/libcorpus2_whole/io/relreader.cpp
index c94ac6e..53c46ec 100644
--- a/libcorpus2_whole/io/relreader.cpp
+++ b/libcorpus2_whole/io/relreader.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/foreach.h>
diff --git a/libcorpus2_whole/io/relreader.h b/libcorpus2_whole/io/relreader.h
index bb01e19..4531d22 100644
--- a/libcorpus2_whole/io/relreader.h
+++ b/libcorpus2_whole/io/relreader.h
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_WHOLE_RELREADER_H
diff --git a/libcorpus2_whole/relation.cpp b/libcorpus2_whole/relation.cpp
index d1df54f..dcb7fb0 100644
--- a/libcorpus2_whole/relation.cpp
+++ b/libcorpus2_whole/relation.cpp
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/make_shared.hpp>
diff --git a/libcorpus2_whole/relation.h b/libcorpus2_whole/relation.h
index 8e8ed1d..522dbac 100644
--- a/libcorpus2_whole/relation.h
+++ b/libcorpus2_whole/relation.h
@@ -3,7 +3,7 @@
 	Part of the libcorpus2 project
 
 	This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-	See the LICENSE and COPYING files for more details.
+	See the LICENSE.CORPUS2, LICENSE.POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef LIBCORPUS2_RELATIONT_H
diff --git a/libpwrutils/bitset.h b/libpwrutils/bitset.h
index 358b71e..cec87c1 100644
--- a/libpwrutils/bitset.h
+++ b/libpwrutils/bitset.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_BITSET_H
diff --git a/libpwrutils/exception.cpp b/libpwrutils/exception.cpp
index 1efff59..17c3e72 100644
--- a/libpwrutils/exception.cpp
+++ b/libpwrutils/exception.cpp
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/exception.h>
diff --git a/libpwrutils/exception.h b/libpwrutils/exception.h
index 8569a8a..74b1825 100644
--- a/libpwrutils/exception.h
+++ b/libpwrutils/exception.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_EXCEPTION_H
diff --git a/libpwrutils/foreach.h b/libpwrutils/foreach.h
index ec329db..71d0d19 100644
--- a/libpwrutils/foreach.h
+++ b/libpwrutils/foreach.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_FOREACH_H
diff --git a/libpwrutils/pathsearch.cpp b/libpwrutils/pathsearch.cpp
index 973e518..8bec6f8 100644
--- a/libpwrutils/pathsearch.cpp
+++ b/libpwrutils/pathsearch.cpp
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/pathsearch.h>
diff --git a/libpwrutils/pathsearch.h b/libpwrutils/pathsearch.h
index c33aaa7..81c1999 100644
--- a/libpwrutils/pathsearch.h
+++ b/libpwrutils/pathsearch.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_PATHSEARCH_H
diff --git a/libpwrutils/plugin.cpp b/libpwrutils/plugin.cpp
index 6fd7305..b0700ce 100644
--- a/libpwrutils/plugin.cpp
+++ b/libpwrutils/plugin.cpp
@@ -1,3 +1,17 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
+*/
 #include <libpwrutils/plugin.h>
 #include <dlfcn.h>
 #include <iostream>
diff --git a/libpwrutils/plugin.h b/libpwrutils/plugin.h
index 4259530..f7f3d65 100644
--- a/libpwrutils/plugin.h
+++ b/libpwrutils/plugin.h
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
+*/
+
 #ifndef LIBPWRNLP_PLUGIN_H
 #define LIBPWRNLP_PLUGIN_H
 
diff --git a/libpwrutils/plural.cpp b/libpwrutils/plural.cpp
index 092f5c7..6e6800e 100644
--- a/libpwrutils/plural.cpp
+++ b/libpwrutils/plural.cpp
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/plural.h>
diff --git a/libpwrutils/plural.h b/libpwrutils/plural.h
index 17a0ab6..c4beb32 100644
--- a/libpwrutils/plural.h
+++ b/libpwrutils/plural.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_PLURAL_H
diff --git a/libpwrutils/sentence.h b/libpwrutils/sentence.h
index 0a39578..ce7daaf 100644
--- a/libpwrutils/sentence.h
+++ b/libpwrutils/sentence.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_SENTENCE_H
diff --git a/libpwrutils/tokensource.h b/libpwrutils/tokensource.h
index 63342fa..0fcbaa1 100644
--- a/libpwrutils/tokensource.h
+++ b/libpwrutils/tokensource.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_TOKENSOURCE_H
diff --git a/libpwrutils/typedefs_includes.in.h b/libpwrutils/typedefs_includes.in.h
index 6e1b3c3..93bdaea 100644
--- a/libpwrutils/typedefs_includes.in.h
+++ b/libpwrutils/typedefs_includes.in.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 // no namespace or header guard, should not be used directly
diff --git a/libpwrutils/typedefs_typedefs.in.h b/libpwrutils/typedefs_typedefs.in.h
index c01d2cd..49baa16 100644
--- a/libpwrutils/typedefs_typedefs.in.h
+++ b/libpwrutils/typedefs_typedefs.in.h
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 // no namespace or header guard, should not be used directly
diff --git a/libpwrutils/util.cpp b/libpwrutils/util.cpp
index d3f1838..74f65a3 100644
--- a/libpwrutils/util.cpp
+++ b/libpwrutils/util.cpp
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/util.h>
diff --git a/libpwrutils/util.h b/libpwrutils/util.h
index 52fdf1c..b309bd0 100644
--- a/libpwrutils/util.h
+++ b/libpwrutils/util.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_UTIL_H
diff --git a/libpwrutils/whitespace.cpp b/libpwrutils/whitespace.cpp
index b736b0d..65aa39d 100644
--- a/libpwrutils/whitespace.cpp
+++ b/libpwrutils/whitespace.cpp
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <libpwrutils/whitespace.h>
diff --git a/libpwrutils/whitespace.h b/libpwrutils/whitespace.h
index 0ac086e..d39b554 100644
--- a/libpwrutils/whitespace.h
+++ b/libpwrutils/whitespace.h
@@ -2,7 +2,7 @@
     Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -10,7 +10,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE. 
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENCE, COPYING.LESSER and COPYING files for more details.
 */
 
 #ifndef PWRNLP_WHITESPACE_H
diff --git a/poliqarp/c2pqtest.cpp b/poliqarp/c2pqtest.cpp
index 3715675..523b1e9 100644
--- a/poliqarp/c2pqtest.cpp
+++ b/poliqarp/c2pqtest.cpp
@@ -1,3 +1,19 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.POLIQARP and COPYING files for more details.
+*/
+
 #include "pqclient.h"
 #include <libcorpus2/tagsetmanager.h>
 #include <iostream>
diff --git a/poliqarp/pqclient.cpp b/poliqarp/pqclient.cpp
index 90f1e91..949882d 100644
--- a/poliqarp/pqclient.cpp
+++ b/poliqarp/pqclient.cpp
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.POLIQARP and COPYING files for more details.
+*/
 #include "pqclient.h"
 #include <boost/make_shared.hpp>
 #include <boost/lexical_cast.hpp>
diff --git a/poliqarp/pqclient.h b/poliqarp/pqclient.h
index 266186e..93cc5ee 100644
--- a/poliqarp/pqclient.h
+++ b/poliqarp/pqclient.h
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.POLIQARP and COPYING files for more details.
+*/
 #ifndef CORPUS2_POLIQARP_PQCLIENT_H
 #define CORPUS2_POLIQARP_PQCLIENT_H
 
diff --git a/poliqarp/pqreader.cpp b/poliqarp/pqreader.cpp
index 2fb4c83..8ab186d 100644
--- a/poliqarp/pqreader.cpp
+++ b/poliqarp/pqreader.cpp
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.POLIQARP and COPYING files for more details.
+*/
 #include "pqreader.h"
 #include "pqclient.h"
 
diff --git a/poliqarp/pqreader.h b/poliqarp/pqreader.h
index e7dc398..e8d6d92 100644
--- a/poliqarp/pqreader.h
+++ b/poliqarp/pqreader.h
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2010 Tomasz Åšniatowski, Adam Radziszewski
+    Part of the libcorpus2 project
+
+    This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3 of the License, or (at your option)
+any later version.
+
+    This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. 
+
+    See the LICENSE.POLIQARP and COPYING files for more details.
+*/
 #ifndef LIBSORPUS2_PQREADER_H
 #define LIBCORPUS2_PQREADER_H
 
diff --git a/tests/ann_basic.cpp b/tests/ann_basic.cpp
index 5a4204b..bfef410 100644
--- a/tests/ann_basic.cpp
+++ b/tests/ann_basic.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/basic.cpp b/tests/basic.cpp
index 2c449ed..41c14e6 100644
--- a/tests/basic.cpp
+++ b/tests/basic.cpp
@@ -3,15 +3,15 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
     This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. 
+or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/io.cpp b/tests/io.cpp
index f302a6f..31258d0 100644
--- a/tests/io.cpp
+++ b/tests/io.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/ioann.cpp b/tests/ioann.cpp
index 963bfe0..223f64c 100644
--- a/tests/ioann.cpp
+++ b/tests/ioann.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,7 +11,7 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/main.cpp b/tests/main.cpp
index b44bf21..89e53f6 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -3,15 +3,15 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
     This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. 
+or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #define BOOST_TEST_MODULE master
diff --git a/tests/tag_split.cpp b/tests/tag_split.cpp
index 78c50fa..51dfd6b 100644
--- a/tests/tag_split.cpp
+++ b/tests/tag_split.cpp
@@ -3,15 +3,15 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
     This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. 
+or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/tagset_parse.cpp b/tests/tagset_parse.cpp
index d7099d1..0600cf4 100644
--- a/tests/tagset_parse.cpp
+++ b/tests/tagset_parse.cpp
@@ -3,15 +3,15 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
     This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. 
+or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
 
 #include <boost/test/unit_test.hpp>
diff --git a/tests/tokenmetadata.cpp b/tests/tokenmetadata.cpp
index 1601226..a436275 100644
--- a/tests/tokenmetadata.cpp
+++ b/tests/tokenmetadata.cpp
@@ -3,7 +3,7 @@
     Part of the libcorpus2 project
 
     This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
+under the terms of the GNU General Lesser Public License as published by the Free
 Software Foundation; either version 3 of the License, or (at your option)
 any later version.
 
@@ -11,9 +11,8 @@ any later version.
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 
-    See the LICENSE and COPYING files for more details.
+    See the LICENSE.CORPUS2, POLIQARP, COPYING.LESSER and COPYING files for more details.
 */
-
 #include <boost/test/unit_test.hpp>
 #include <libcorpus2/token.h>
 #include <libcorpus2/tokenmetadata.h>
diff --git a/utils/chunk_eval.py b/utils/chunk_eval.py
index bbac1b2..35e863f 100755
--- a/utils/chunk_eval.py
+++ b/utils/chunk_eval.py
@@ -1,6 +1,18 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
+# Copyright (C) 2012 Adam Radziszewski.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 descr = """%prog [options] CHUNKED REF CHAN_NAME
 
 Reads the two chunk-annotated corpora: CHUNKED (chunker output) and REF
diff --git a/utils/corpspace.py b/utils/corpspace.py
index ac3b429..04a44ff 100755
--- a/utils/corpspace.py
+++ b/utils/corpspace.py
@@ -1,6 +1,18 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
+# Copyright (C) 2012 Adam Radziszewski.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 from optparse import OptionParser
 import sys
 import corpus2
diff --git a/utils/corptext.py b/utils/corptext.py
index a2c8081..f5bfe31 100755
--- a/utils/corptext.py
+++ b/utils/corptext.py
@@ -1,5 +1,18 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
+
+# Copyright (C) 2012 Adam Radziszewski.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 descr = """%prog [options] INPUT OUTPUT
 
 Reads input and saves as plain text. By default, paragraphs are separated with
diff --git a/utils/get_held_out.pl b/utils/get_held_out.pl
index 62b7baf..e162721 100755
--- a/utils/get_held_out.pl
+++ b/utils/get_held_out.pl
@@ -1,5 +1,17 @@
 #!/usr/bin/perl
 
+# Copyright (C) 2012 Paweł Orłowicz.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 #Assume that SOURCE_DIR contains pairs of files ccl-NAME.xml.* + rel-NAME.xml
 #According to the measure: option -n NUMBER_OF_DOCUMENTS_TO_HOLD_OUT or RATIO percentage of all documents to be hold out
 #copy appropriate number of documents (1 document == 1 pair (ccl-NAME.xml.* + rel-NAME.xml) into HELD_OUT_PART_DIR
diff --git a/utils/parfolds.py b/utils/parfolds.py
index d10ed21..e49b8e0 100755
--- a/utils/parfolds.py
+++ b/utils/parfolds.py
@@ -1,5 +1,18 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
+
+# Copyright (C) 2012 Adam Radziszewski.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 descr = """%prog [options] INPUT OUTDIR
 
 Generates paragraph-wise folds."""
diff --git a/utils/relation_eval.py b/utils/relation_eval.py
index 7c5faba..4067051 100755
--- a/utils/relation_eval.py
+++ b/utils/relation_eval.py
@@ -1,5 +1,17 @@
 #!/usr/bin/python
 
+# Copyright (C) 2012 Paweł Orłowicz.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 descr = """%prog [options] BATCH_REF BATCH_TARGET REL_NAME
 
 Reads the two files BATCH_REF and BATCH_TARGET which contain lists of pairs 
@@ -133,6 +145,11 @@ def compare(rel1, rel2) :
 	elif cmp(dp1_to.annotation_number(), dp2_to.annotation_number()) > 0 : 
 		return 1
 
+	if rel1.rel_name() < rel2.rel_name():
+		return -1
+	elif rel1.rel_name() > rel2.rel_name():
+		return 1
+
 	return 0
 
 def go():
diff --git a/utils/split.pl b/utils/split.pl
index 7b9dd87..8c54499 100755
--- a/utils/split.pl
+++ b/utils/split.pl
@@ -1,5 +1,17 @@
 #!/usr/bin/perl
 
+# Copyright (C) 2012 Paweł Orłowicz.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 #Process all xml files in SOURCE_DIR assuming that it contains files which consist of ccl+rel part.
 #Separate each file into ccl-file and rel-file and place them into TARGET_DIR 
 #(don't empty the TARGET_DIR, just add new files; it's up to the user to empty the TARGET_DIR)
diff --git a/utils/swapchans.pl b/utils/swapchans.pl
index 04c3e4c..1035816 100755
--- a/utils/swapchans.pl
+++ b/utils/swapchans.pl
@@ -1,5 +1,17 @@
 #!/usr/bin/perl
 
+# Copyright (C) 2012 Paweł Orłowicz.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 #Script takes two arguments: corpus directory (DIR) and relation name (REL) that is going to be swapped.  
 #In all files within DIR swap direction of all relations with name REL by swapping chan attributes of nodes: <from> and <to>  and it's text nodes
 #e.g. 
diff --git a/utils/tagger-eval.py b/utils/tagger-eval.py
index 5a32f01..6a2c406 100755
--- a/utils/tagger-eval.py
+++ b/utils/tagger-eval.py
@@ -1,6 +1,18 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 
+# Copyright (C) 2011 Adam Radziszewski.
+# This program is free software; you can redistribute and/or modify it
+# under the terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 3 of the License, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the LICENCE and COPYING files for more details
+
 from optparse import OptionParser
 import sys
 import corpus2
-- 
GitLab