Did I find the right examples for you? yes no

All Samples(124)  |  Call(0)  |  Derive(0)  |  Import(124)
A proxy object which is used to stand in for a corpus object
before the corpus is loaded.  This allows NLTK to create an object
for each corpus, but defer the costs associated with loading those
corpora until the first time that they're actually accessed.

The first time this object is accessed in any way, it will load
the corresponding corpus, and transform itself into that corpus
(by modifying its own ``__class__`` and ``__dict__`` attributes).

If the corpus can not be found, then accessing this object will(more...)

src/n/l/nltk-examples-HEAD/src/book/ch02_ex.py   nltk-examples(Download)
def ex10():
  from nltk.corpus import brown
  from nltk.corpus import stopwords
  stopwords = stopwords.words("english")
  for genre in brown.categories():

src/t/r/trivial_pursuit-HEAD/old/starter_code.py   trivial_pursuit(Download)
from urllib import urlopen
from nltk.collocations import *
from nltk.corpus import stopwords
from nltk.corpus import reuters
from nltk.corpus import brown

src/n/l/nltk_contrib-HEAD/nltk_contrib/coref/ne.py   nltk_contrib(Download)
from nltk.tag.crf import MalletCRF
from nltk.chunk import ChunkScore
from nltk.corpus import names, gazetteers, stopwords
 
from nltk_contrib.coref.chunk import NaiveBayesChunkTagger, MaxentChunkTagger

src/t/r/trivial_pursuit-HEAD/trivialpursuitfunctions.py   trivial_pursuit(Download)
from urllib import urlopen
from nltk.collocations import *
from nltk.corpus import stopwords
from nltk.corpus import reuters
from nltk.corpus import brown

src/t/e/textblob-0.8.4/textblob/nltk/collocations.py   textblob(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

src/g/o/golismero-2.0.3-1/thirdparty_libs/nltk/collocations.py   golismero(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

src/t/e/TextBlob-HEAD/textblob/nltk/collocations.py   TextBlob(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

src/g/o/golismero-HEAD/thirdparty_libs/nltk/collocations.py   golismero(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

src/n/l/nltk-HEAD/nltk/collocations.py   nltk(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

src/c/l/clojure-nltk-HEAD/resources/nltk/collocations.py   clojure-nltk(Download)
        compare_scorer = BigramAssocMeasures.raw_freq
 
    from nltk.corpus import stopwords, webtext
 
    ignored_words = stopwords.words('english')

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next