-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (34 loc) · 1.29 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from distutils.core import setup
setup(
name = 'trilang',
version = '0.1',
url = 'http://github.com/hfs/trilang',
description = 'Statistical language detector',
long_description = """\
trilang is a statistical language detector. To detect the language of a \
text it divides it into trigrams (blocks of three letters) and compares \
their frequency with reference values in its database. The database is \
initially empty and has to be filled by learning from texts with known \
languages.""",
author = 'Hermann Schwarting',
author_email = '[email protected]',
py_modules = ['trilang'],
scripts = [
'scripts/correctlanguage.py',
'scripts/guesslanguage.py',
'scripts/learnlanguage.py',
],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
],
requires = ['sqlite3'],
)