Package pypln :: Package stores :: Module mongocorpus
[hide private]

Module mongocorpus

source code

Implement a MongoDB-backed NLTK Corpus reader

Adapted from "Text processing with NLTK cookbook" To use, instantiate ``MongoDBCorpusReader`` with parameters for host, port, database, collection and field.

Classes [hide private]
  MongoDBLazySequence
  MongoDBCorpusReader
Corpus Reader to deal with text stored on a MongoDB collection