"../reference/corpus_text.html">as_corpus_text()</a></code> on its input. We will see some examples of converting <em>tm</em> and <em>quanteda</em> objects below.</p>
<p>The <code>corpus_text</code> type behaves like an R character vector in most respects, but using this type enables some new features.</p>
</div>
<div id="text-filter" class="section level2">
<h2 class="hasAnchor">
<a href="#text-filter" class="anchor"></a>Text filter</h2>
<p>Each <code>corpus_text</code> object has a <code>text_filter</code