-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from nishnik/adding_metadata
Added metadata
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__ |