Skip to content

Commit 8de744a

Browse files
committed
first commit
0 parents  commit 8de744a

14 files changed

+2191
-0
lines changed

LICENSE.txt

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
GNU GENERAL PUBLIC LICENSE
2+
Version 3, 29 June 2007
3+
4+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5+
Everyone is permitted to copy and distribute verbatim copies
6+
of this license document, but changing it is not allowed.
7+
8+
Preamble
9+
10+
The GNU General Public License is a free, copyleft license for
11+
software and other kinds of works.
12+
13+
The licenses for most software and other practical works are designed
14+
to take away your freedom to share and change the works. By contrast,
15+
the GNU General Public License is intended to guarantee your freedom to
16+
share and change all versions of a program--to make sure it remains free
17+
software for all its users. We, the Free Software Foundation, use the
18+
GNU General Public License for most of our software; it applies also to
19+
any other work released this way by its authors. You can apply it to
20+
your programs, too.
21+
22+
When we speak of free software, we are referring to freedom, not
23+
price. Our General Public Licenses are designed to make sure that you
24+
have the freedom to distribute copies of free software (and charge for
25+
them if you wish), that you receive source code or can get it if you
26+
want it, that you can change the software or use pieces of it in new
27+
free programs, and that you know you can do these things.
28+
29+
To protect your rights, we need to prevent others from denying you
30+
these rights or asking you to surrender the rights. Therefore, you have
31+
certain responsibilities if you distribute copies of the software, or if
32+
you modify it: responsibilities to respect the freedom of others.
33+
34+
For example, if you distribute copies of such a program, whether
35+
gratis or for a fee, you must pass on to the recipients the same
36+
freedoms that you received. You must make sure that they, too, receive
37+
or can get the source code. And you must show them these terms so they
38+
know their rights.
39+
40+
Developers that use the GNU GPL protect your rights with two steps:
41+
(1) assert copyright on the software, and (2) offer you this License
42+
giving you legal permission to copy, distribute and/or modify it.
43+
44+
For the developers' and authors' protection, the GPL clearly explains
45+
that there is no warranty for this free software. For both users' and
46+
authors' sake, the GPL requires that modified versions be marked as
47+
changed, so that their problems will not be attributed erroneously to
48+
authors of previous versions.
49+
50+
Some devices are designed to deny users access to install or run
51+
modified versions of the software inside them, although the manufacturer
52+
can do so. This is fundamentally incompatible with the aim of
53+
protecting users' freedom to change the software. The systematic
54+
pattern of such abuse occurs in the area of products for individuals to
55+
use, which is precisely where it is most unacceptable. Therefore, we
56+
have designed this version of the GPL to prohibit the practice for those
57+
products. If such problems arise substantially in other domains, we
58+
stand ready to extend this provision to those domains in future versions
59+
of the GPL, as needed to protect the freedom of users.
60+
61+
Finally, every program is threatened constantly by software patents.
62+
States should not allow patents to restrict development and use of
63+
software on general-purpose computers, but in those that do, we wish to
64+
avoid the special danger that patents applied to a free program could
65+
make it effectively proprietary. To prevent this, the GPL assures that
66+
patents cannot be used to render the program non-free.
67+
68+
The precise terms and conditions for copying, distribution and
69+
modification follow.
70+
71+
TERMS AND CONDITIONS

Makefile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
all: install
2+
3+
doc:
4+
rst2html README.rst > README.html
5+
6+
test: testOAI testALTOtoTXT
7+
8+
testOAI:
9+
./test/oai_test.py
10+
11+
testALTOtoTXT:
12+
./test/alto_to_text_test.py
13+
14+
clean:
15+
rm -rf build
16+
rm -rf dist
17+
rm -rf kb.egg-info
18+
find . -name \*.pyc -exec rm '{}' ';'
19+
find . -name "__pycache__" -exec rmdir {} \;
20+
rm README.html
21+
22+
install:
23+
python setup.py install

kb/__init__.py

Whitespace-only changes.

kb/nl/__init__.py

Whitespace-only changes.

kb/nl/api/__init__.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
__version__ = '0.1dev'
2+
__all__ = ['oai']
3+
__author__ = 'WillemJan Faber <[email protected]'
4+
5+
from .oai import oai
6+
7+
oai = oai()

0 commit comments

Comments
 (0)