Package nltk_lite
[hide private]
[frames] | no frames]

Source Code for Package nltk_lite

 1  # Natural Language Toolkit (NLTK-Lite) 
 2  # 
 3  # Copyright (C) 2001-2007 University of Pennsylvania 
 4  # Authors: Steven Bird <sb@csse.unimelb.edu.au> 
 5  #          Edward Loper <edloper@gradient.cis.upenn.edu> 
 6  # URL: <http://nltk.sf.net> 
 7  # For license information, see LICENSE.TXT 
 8   
 9  """ 
10  NLTK-Lite is a collection of lightweight NLP modules designed for 
11  maximum simplicity and efficiency.  NLTK-Lite only covers the simple 
12  variants of standard data structures and tasks.  It makes extensive 
13  use of iterators so that large tasks generate output as early as 
14  possible. 
15   
16  Key differences from NLTK are as follows: 
17   - tokens are represented as strings, tuples, or trees 
18   - all tokenizers are iterators 
19   - less object orientation 
20   
21  NLTK-Lite is primarily intended to facilitate teaching NLP to students 
22  having limited programming experience.  The focus is on teaching 
23  Python together with the help of NLP recipes, instead of teaching 
24  students to use a large set of specialized classes. 
25   
26  @version: 0.7.5 
27   
28  """ 
29   
30  ##////////////////////////////////////////////////////// 
31  ##  Metadata 
32  ##////////////////////////////////////////////////////// 
33   
34  # Version.  For each new release, the version number should be updated 
35  # here and in the Epydoc comment (above). 
36  __version__ = "0.7.5" 
37   
38  # Copyright notice 
39  __copyright__ = """\ 
40  Copyright (C) 2001-2007 University of Pennsylvania. 
41   
42  Distributed and Licensed under provisions of the GNU Public 
43  License, which is included by reference. 
44  """ 
45   
46  __license__ = "GNU Public License" 
47  # Description of the toolkit, keywords, and the project's primary URL. 
48  __longdescr__ = """\ 
49  The Natural Langauge Toolkit (NLTK-Lite) is a Python package for 
50  processing natural language text.  It was developed as a simpler, 
51  lightweight version of NLTK.  NLTK-Lite requires Python 2.4 or higher.""" 
52  __keywords__ = ['NLP', 'CL', 'natural language processing', 
53                  'computational linguistics', 'parsing', 'tagging', 
54                  'tokenizing', 'syntax', 'linguistics', 'language', 
55                  'natural language'] 
56  __url__ = "http://nltk.sf.net/" 
57   
58  # Maintainer, contributors, etc. 
59  __maintainer__ = "Steven Bird" 
60  __maintainer_email__ = "sb@csse.unimelb.edu.au" 
61  __author__ = __maintainer__ 
62  __author_email__ = __maintainer_email__ 
63