Skip to content

Commit

Permalink
Merge pull request #151 from nishnik/adding_metadata
Browse files Browse the repository at this point in the history
Added metadata
  • Loading branch information
kylepjohnson committed Mar 5, 2016
2 parents 71d0274 + 9f5a1e9 commit d13c3d2
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions cltk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Classical Language Toolkit (NLTK)
#
# Copyright (c) 2016 Kyle P. Johnson.
# Authors: Kyle P. Johnson.
# URL: <http://cltk.org/>
# For license information, see LICENSE

"""
The Classical Language Toolkit (CLTK) offers natural language
processing support for Classical languages. CLTK is written
entirely in python.
The goals of the Classical Language Toolkit (CLTK) are to:
compile analysis-friendly corpora in a variety of Classical
languages
gather, improve, and generate linguistic data required for NLP
develop a free and open platform for generating reproducible,
scientific research that advances the study of the languages
and literatures of the ancient world.
See the webpage for more information and documentation:
http://cltk.org
"""
from pkg_resources import get_distribution

# //////////////////////////////////////////////////////
# Metadata
# //////////////////////////////////////////////////////

import sys
if sys.version_info[0] != 3:
raise ImportError("Python Version 3 or above is required for cltk.")
# We can check for exact versions too

try:
__version__ = get_distribution('cltk').version
except:
print(sys.exc_info()[0],"occured.")
del sys
del get_distribution

if __doc__ is not None:
__doc__ += '\n@version: ' + __version__

# Copyright notice
__copyright__ = """\
Copyright (c) 2016 Kyle P. Johnson.
Distributed and Licensed under the MIT License.
"""

__license__ = "MIT license"
# Description of the project.
__longdescr__ = """\
The Classical Language Toolkit (CLTK) offers natural language
processing support for Classical languages."""
__keywords__ = ['NLP', 'natural language processing',
'classical language', 'parsing', 'tagging',
'tokenizing', 'language', 'text analytics']
__url__ = "http://cltk.org/"

# Maintainer, authhor
__maintainer__ = "Kyle P. Johnson et al."
__author__ = __maintainer__

0 comments on commit d13c3d2

Please sign in to comment.