/span><span class="w"> </span><span class="kn">import</span> <span class="o">*</span>
<span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span><span class="w"> </span><span class="nn">pyspark.ml</span><span class="w"> </span><span class="kn">import</span> <span class="n">Pipeline</span>
</pre></div>
</div>
<p>This CoNLL dataset already includes a sentence, token and label
column with their respective annotator types. If a custom dataset is used,
these need to be defined with for example:</p>
<div cl