Corpus

Once you have defined what your document represents, a corpus is defined as a logical collection of documents. Using the previous examples, a corpus could represent a collection of articles (for example, a magazine or blog) or a collection of tweets (for example, tweets with a particular hashtag).

Get Machine Learning with Apache Spark Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.