/em> package does not define a special corpus object, but it does define a new data type, <code>corpus_text</code>, for storing a collection of texts. You can create values of this type using the <code><a href="../reference/corpus_text.html">as_corpus_text()</a></code> or <code><a href="../reference/corpus_frame.html">as_corpus_frame()</a></code> function.</p>
<p>Take, for example, the following sample text, created as an R character vector.</p>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCod