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

Package corpora

source code

Submodules [hide private]

Functions [hide private]
 
set_basedir(path)
Set the path to the directory where NLTK looks for corpora.
source code
string
get_basedir()
Returns: The path of the directory where NLTK looks for corpora.
source code
 
extract(n, i) source code
Variables [hide private]
  _BASEDIR = '/usr/share/nltk_lite'
Function Details [hide private]

set_basedir(path)

source code 

Set the path to the directory where NLTK looks for corpora.

Parameters:
  • path (string) - The path to the directory where NLTK should look for corpora.

get_basedir()

source code 
Returns: string
The path of the directory where NLTK looks for corpora.