Coverage for nltk.corpus.reader.wordlist : 76%
![](keybd_closed.png)
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Natural Language Toolkit: Word List Corpus Reader # # Copyright (C) 2001-2012 NLTK Project # Author: Steven Bird <sb@ldc.upenn.edu> # Edward Loper <edloper@gradient.cis.upenn.edu> # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT
""" List of words, one per line. Blank lines are ignored. """
""" :return: a tuple of words for the specified fileids. """ if not fileids: fileids = self.fileids()
wordlists = [self.words(f) for f in fileids] return zip(*wordlists) |