iv&gt;</span>
<span class="sd">    ... &lt;/div&gt;\&quot;\&quot;\&quot;</span>
<span class="sd">    &gt;&gt;&gt; data = spark.createDataFrame([[text]]).toDF(&quot;text&quot;)</span>
<span class="sd">    &gt;&gt;&gt; pipelineModel = pipeline.fit(data)</span>
<span class="sd">    &gt;&gt;&gt; result = pipelineModel.transform(data)</span>
<span class="sd">    &gt;&gt;&gt; result.selectExpr(&quot;normalizedDocument.result&quot;).show(truncate=False)</span>
<span class="sd">    +--------------------------------