ol(&quot;label&quot;) \\</span>
<span class="sd">    ...     .setCaseSensitive(True)</span>
<span class="sd">    &gt;&gt;&gt; pipeline = Pipeline().setStages([</span>
<span class="sd">    ...     documentAssembler,</span>
<span class="sd">    ...     tokenizer,</span>
<span class="sd">    ...     sequenceClassifier</span>
<span class="sd">    ... ])</span>
<span class="sd">    &gt;&gt;&gt; data = spark.createDataFrame([[&quot;I loved this movie when I was a child.&quot;, &quot;It was pretty boring.&quot;]])