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

Source Code for Package nltk

 1  # Natural Language Toolkit (NLTK) 
 2  # 
 3  # Copyright (C) 2001-2008 NLTK Project 
 4  # Authors: Steven Bird <[email protected]> 
 5  #          Edward Loper <[email protected]> 
 6  # URL:     http://nltk.org/ 
 7  # For license information, see LICENSE.TXT 
 8   
 9  """ 
10  NLTK -- the Natural Language Toolkit -- is a suite of open source 
11  Python modules, data sets and tutorials supporting research and 
12  development in natural language processing. 
13   
14  @version: 0.9.5 
15  """ 
16   
17  ##////////////////////////////////////////////////////// 
18  ##  Metadata 
19  ##////////////////////////////////////////////////////// 
20   
21  # Version.  For each new release, the version number should be updated 
22  # here and in the Epydoc comment (above). 
23  __version__ = "0.9.5" 
24   
25  # Copyright notice 
26  __copyright__ = """\ 
27  Copyright (C) 2001-2008 NLTK Project. 
28   
29  Distributed and Licensed under provisions of the GNU Public 
30  License, which is included by reference. 
31  """ 
32   
33  __license__ = "GNU Public License" 
34  # Description of the toolkit, keywords, and the project's primary URL. 
35  __longdescr__ = """\ 
36  The Natural Langauge Toolkit (NLTK) is a Python package for 
37  processing natural language text.  NLTK requires Python 2.4 or higher.""" 
38  __keywords__ = ['NLP', 'CL', 'natural language processing', 
39                  'computational linguistics', 'parsing', 'tagging', 
40                  'tokenizing', 'syntax', 'linguistics', 'language', 
41                  'natural language'] 
42  __url__ = "http://nltk.org/" 
43   
44  # Maintainer, contributors, etc. 
45  __maintainer__ = "Steven Bird, Edward Loper, Ewan Klein" 
46  __maintainer_email__ = "[email protected]" 
47  __author__ = __maintainer__ 
48  __author_email__ = __maintainer_email__ 
49   
50  # Import top-level functionality into top-level namespace 
51   
52  from compat import * 
53  from cfg import * 
54  from containers import * 
55  from decorators import decorator, memoize 
56  from evaluate import * 
57  from featstruct import * 
58  from olac import * 
59  from probability import * 
60  from text import * 
61  from tree import * 
62  from util import * 
63  from yamltags import * 
64   
65  import data 
66   
67  # Processing packages -- these all define __all__ carefully. 
68  from tokenize import * 
69  from tag import * 
70  from parse import * 
71  from chunk import * 
72  from stem import * 
73  from classify import * 
74  from model import * 
75  from misc import * 
76   
77  from internals import config_java 
78   
79  import chat, chunk, corpus, draw, parse, sem, stem, tag, tokenize, wordnet 
80