如何在PySpark数据帧上执行拼写校正

时间:2018-11-18 17:35:29

标签: python-3.x dataframe pyspark

|CallID| Customer | Response | +------+----------------------------------+------------------------------------+ | 1 |Raeyd to repay the amount. |He is raeyd to pay $50 by next wkee.| | 2 |Mr. John's credit crad is blocked.|Asked to verify lsat 3 transactions.| | 3 |Mr. Tom is unable to pya bills onl|Asked to vriyey registered eaiml add| +------+----------------------------------+------------------------------------

这是我的示例DF,其中包含一些拼写错误。我使用了PyEnchant,spellcorrect和TextBlob,但没有任何拼写错误就没有得到输出。

0 个答案:

没有答案