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

Source Code for Package nltk_lite.test

 1  # Natural Language Toolkit: Unit Tests 
 2  # 
 3  # Copyright (C) 2001-2007 University of Pennsylvania 
 4  # Author: Edward Loper <edloper@gradient.cis.upenn.edu> 
 5  # URL: <http://nltk.sf.net> 
 6  # For license information, see LICENSE.TXT 
 7  # 
 8  # $Id: __init__.py 4107 2007-02-01 00:07:42Z stevenbird $ 
 9   
10  """ 
11  Unit tests for the NLTK modules.  These tests are intented to ensure 
12  that changes that we make to NLTK's code don't accidentally introduce 
13  bugs. 
14   
15  Each module in this package tests a specific aspect of NLTK.  Modules 
16  are typically named for the module or class that they test (e.g., 
17  L{nltk_lite.test.tree} performs tests on the L{nltk_lite.parse.tree} 
18  module). 
19   
20  Use doctest_driver.py to run the tests: 
21   
22    doctest_driver.py --help 
23   
24  NB. Popular options for NLTK documentation are: 
25   
26    --ellipsis --normalize_whitespace 
27   
28  """ 
29